Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
11 years ago |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
11 years ago |
Sam Hocevar
|
9befaa5468
|
gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.
|
11 years ago |
Sam Hocevar
|
024ea25e27
|
gpu: disable alpha test on GL ES platforms.
|
11 years ago |
Sam Hocevar
|
a75e07d329
|
gpu: add full support for alpha test in GL and D3D.
|
11 years ago |
Sam Hocevar
|
87a9c3730c
|
gpu: implement all depth test functions in the renderer.
|
11 years ago |
Sam Hocevar
|
0b93890556
|
gpu: implement face culling mode in render contexts.
|
11 years ago |
Sam Hocevar
|
45c13689ec
|
gpu: implement blend function and alpha test in the renderer.
|
11 years ago |
Benlitz
|
eaa63d0b69
|
Added mipmap generation function for textures (i lied, it was easy with d3d9 <3)
|
11 years ago |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
11 years ago |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
11 years ago |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
11 years ago |
Sam Hocevar
|
716c2b5592
|
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
|
11 years ago |
Sam Hocevar
|
3b90e19739
|
gpu: fix framebuffer handling in OpenGL ES and add some sanity checks.
|
11 years ago |
Lolbot
|
cbb4dadd6c
|
fixed 4 files out of 2730:
- removed 24 CR characters
- removed 1 trailing whitespaces
- replaced 63 tabs with spaces
|
11 years ago |
Benlitz
|
d13a006945
|
SetMagFiltering and SetMinFiltering for class Texture.
|
11 years ago |
Benlitz
|
c75c255e26
|
Fixed D3D9 compilation (note: D3D9 version still not working)
|
11 years ago |
Lolbot
|
b078ba08ea
|
fixed 15 files out of 2730:
- removed 49 CR characters
- removed 2 trailing whitespaces
- replaced 1622 tabs with spaces
|
11 years ago |
Benlitz
|
19e57f4fa9
|
Fixed GetStream function when the VertexDeclaration maps over multiple VertexStreams
|
11 years ago |
Benlitz
|
9a38b27bd8
|
vertex buffer: added some accessors to inspect a VertexDeclaration/Stream/Buffer
|
11 years ago |
Sam Hocevar
|
1a24fb898c
|
gpu: OS X and iOS compilation fix.
|
12 years ago |
Sam Hocevar
|
be652e00b0
|
gpu: refactor the framebuffer format retrieval code.
|
12 years ago |
Lolbot
|
e045fecbbd
|
fixed 1 files out of 2673:
- removed 46 CR characters
- removed 237 trailing whitespaces
- replaced 0 tabs with spaces
|
12 years ago |
Benjamin ‘Touky’ Huet
|
842697b9b7
|
framebuffer : build fix
|
12 years ago |
Benjamin ‘Touky’ Huet
|
566d495ffe
|
iOS default value doesn't build.
|
12 years ago |
Benjamin ‘Touky’ Huet
|
a472e53e69
|
framebuffer : mac opengl build setup.
|
12 years ago |
Sam Hocevar
|
c5d6d72220
|
gpu: remove mistakenly committed debug code.
|
12 years ago |
Sam Hocevar
|
bd2abf9a78
|
mrpigeon: try the new tile definition system… which doesn’t work.
|
12 years ago |
Sam Hocevar
|
95369e26db
|
base: a few minor style tweaks.
|
12 years ago |
Sam Hocevar
|
cbd3aa1519
|
build: various compilation fixes.
|
12 years ago |
Sam Hocevar
|
2c3092ef28
|
gpu: rename FrameBuffer to Framebuffer.
|
12 years ago |
Benjamin ‘Touky’ Huet
|
0d344595ff
|
Added FrameBufferFormat struct : a wrapper for RenderTarget-format. NOT TESTED on PS3 & DirectX. Default values are the same as previous code, though.
|
12 years ago |
Benjamin ‘Touky’ Huet
|
23f9299a59
|
video : Added SetAlphaBlend() SetFaceCulling() SetCustomSize()
FrameBuffer : Added GetSize() & tweaked Bind()/Unbind() with size update for correct rendering.
|
12 years ago |
Sam Hocevar
|
6faf4ee067
|
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
|
12 years ago |
Sam Hocevar
|
8dbe2e5224
|
gpu: only add the half-texel offset on the X360.
|
12 years ago |
Sam Hocevar
|
d4dcdb75e6
|
gpu: account for the HLSL half-texel offset on the PS3.
|
12 years ago |
Sam Hocevar
|
c46b3fbfec
|
image: remove the Image::Format enum and use PixelFormat instead.
|
12 years ago |
Sam Hocevar
|
6e282a674a
|
base: remove some sprintf() calls in profit of string ops.
|
12 years ago |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
12 years ago |
Sam Hocevar
|
872efdb880
|
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
|
12 years ago |
Sam Hocevar
|
e9b4985dbd
|
gpu: add MeshPrimitive::Lines enum and modify the cube tutorial
to show how it can be used.
|
12 years ago |
Sam Hocevar
|
1c3ca01ea0
|
build: fix a few compiler warnings here and there.
|
12 years ago |
Benjamin ‘Touky’ Huet
|
020d539586
|
easymesh : vertices datas are now stored in a very user-friendly struct. Heavier on datas, though.
vertexbuffer : added TexCoordExt, which is the same as TexCoord but means "use vec4 for TexCoord"
|
12 years ago |
Benjamin ‘Touky’ Huet
|
bb0051ae8e
|
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
|
12 years ago |
Sam Hocevar
|
06c4ec01c3
|
base: move headers around and promote gpu/ to lol/gpu/.
|
12 years ago |
Sam Hocevar
|
1f487e5e6f
|
gpu: OpenGL ES compilation fix: GL_RGB8 is desktop OpenGL only.
|
12 years ago |
Sam Hocevar
|
29d5bb3b96
|
gpu: fix compilation on GL ES platforms.
|
12 years ago |
Sam Hocevar
|
42fb9b6853
|
gpu: support 1-component (luminance) textures.
|
12 years ago |
Sam Hocevar
|
9f6814fbd8
|
gpu: fix PS3 compilation caused by wrong function names.
|
12 years ago |
Sam Hocevar
|
e960628223
|
gpu: allow to set array uniform values.
|
12 years ago |