Sam Hocevar
fe9bab81c1
gpu: fix a great lot of Direct3D problems, spotted using PIX.
pirms 13 gadiem
Sam Hocevar
6169c874e4
gpu: port the vertex buffer abstraction layer to OpenGL.
pirms 13 gadiem
Sam Hocevar
f7e202a7c8
gpu: implement vertex buffer streams for Direct3D. OpenGL is missing for now.
pirms 13 gadiem
Sam Hocevar
1485e5bf63
gpu: add support for integer uniforms and fix a few PS3 and Linux compilation
issues that were introduced with the Direct3D changes.
pirms 13 gadiem
Sam Hocevar
458378003c
win32: the uniform handling code was completely broken; we now properly
retrieve the constant's register index in the description table. This also
allows us to use a single uniform handle for both the vertex and pixel
shaders in a PS3 Cg program.
pirms 13 gadiem
Sam Hocevar
56e4332597
build: reorganise math files in a single "math" directory, and get rid of the
"shader" source directory since we have "gpu".
pirms 13 gadiem
Sam Hocevar
7cfcfb2413
shader: factor the uniform handling logic into platform-independent methods
for both OpenGL and the PS3.
pirms 14 gadiem
Sam Hocevar
660962e894
build: put debug stuff and shader stuff in subdirectories.
pirms 14 gadiem
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
pirms 14 gadiem
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
pirms 15 gadiem
Sam Hocevar
194a025bc8
Protect the Shader constructor and provide a static creation method that
will let us cache shaders.
pirms 15 gadiem
Sam Hocevar
01be151c62
Try to factor all the recent GLSL stuff in the new Shader class.
pirms 15 gadiem
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
pirms 15 gadiem
Sam Hocevar
3bb8c8aa2f
Factor Forge and Tiler using the new Dict class.
pirms 15 gadiem