Sam Hocevar
|
c9b8ff54a1
|
misc: some refactoring in texture handling.
|
11 yıl önce |
Sam Hocevar
|
15c3039ba5
|
misc: fix some coding errors found by Coverity.
|
11 yıl önce |
Sam Hocevar
|
c6ffd1ffcf
|
build: fix the X360 port.
|
11 yıl önce |
Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
11 yıl önce |
Sam Hocevar
|
532f679f8a
|
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
|
11 yıl önce |
Sam Hocevar
|
9befaa5468
|
gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.
|
11 yıl önce |
Benlitz
|
eaa63d0b69
|
Added mipmap generation function for textures (i lied, it was easy with d3d9 <3)
|
11 yıl önce |
Lolbot
|
cbb4dadd6c
|
fixed 4 files out of 2730:
- removed 24 CR characters
- removed 1 trailing whitespaces
- replaced 63 tabs with spaces
|
11 yıl önce |
Benlitz
|
d13a006945
|
SetMagFiltering and SetMinFiltering for class Texture.
|
11 yıl önce |
Sam Hocevar
|
c46b3fbfec
|
image: remove the Image::Format enum and use PixelFormat instead.
|
12 yıl önce |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
12 yıl önce |
Sam Hocevar
|
1f487e5e6f
|
gpu: OpenGL ES compilation fix: GL_RGB8 is desktop OpenGL only.
|
12 yıl önce |
Sam Hocevar
|
29d5bb3b96
|
gpu: fix compilation on GL ES platforms.
|
12 yıl önce |
Sam Hocevar
|
42fb9b6853
|
gpu: support 1-component (luminance) textures.
|
12 yıl önce |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
12 yıl önce |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
12 yıl önce |
Sam Hocevar
|
6944db663b
|
tutorial: add a new texture generation example.
|
12 yıl önce |
Sam Hocevar
|
0ea16b413e
|
gpu: D3DFMT_R8G8B8 doesn't seem to exist on the X360.
|
12 yıl önce |
Sam Hocevar
|
26c945a31f
|
gpu: allow to specify the pixel format when creating a texture; the
internal format is then automatically deduced. Only a few 8-bit RGB
or RGBA formats are supported for now.
|
12 yıl önce |
Sam Hocevar
|
f626d36b47
|
gpu: don't use D3DLOCK_DISCARD on the X360, it's not there.
|
12 yıl önce |
Sam Hocevar
|
e0330e18d7
|
gpu: fix some Direct3D programming errors; we cannot call SetVertexDeclaration
with a null argument, and the texture stuff was completely messed up.
|
12 yıl önce |
Sam Hocevar
|
8a688a7d50
|
misc: compilation fixes for Windows, X360 and PS3 introduced by the
texture class refactor.
|
12 yıl önce |
Sam Hocevar
|
b9aba5d27a
|
gpu: put the texture creation code in its own class; for now a lot of things are
hardcoded and only the fractal demo uses it, but everything will eventually switch.
|
12 yıl önce |