Sam Hocevar
|
bd69c76f90
|
xbox: fix a few problems in the shader handling code; the first tutorial now
works on the Xbox.
|
vor 13 Jahren |
Sam Hocevar
|
56e4332597
|
build: reorganise math files in a single "math" directory, and get rid of the
"shader" source directory since we have "gpu".
|
vor 13 Jahren |
Sam Hocevar
|
43e152053a
|
win32: add a lot of DirectX stubs.
|
vor 13 Jahren |
Sam Hocevar
|
2f4c181f7d
|
gl: compilation fix due to #if/#elif confusion.
|
vor 13 Jahren |
Sam Hocevar
|
60a2e83d54
|
xbox: start working on an Xbox/Direct3D port.
|
vor 13 Jahren |
Sam Hocevar
|
7cfcfb2413
|
shader: factor the uniform handling logic into platform-independent methods
for both OpenGL and the PS3.
|
vor 14 Jahren |
Sam Hocevar
|
eb32d04c84
|
ps3: if the implementation supports Cg but not GLSL (for instance on the PS3),
use the system's Cg compiler.
|
vor 14 Jahren |
Sam Hocevar
|
6ef55ca61f
|
ps3: some compilation fixes to accomodate for recent debug additions.
|
vor 14 Jahren |
Sam Hocevar
|
2731e49fe5
|
shader: check that the shader really failed to compile before outputting
the compilation log as an error.
|
vor 14 Jahren |
Sam Hocevar
|
660962e894
|
build: put debug stuff and shader stuff in subdirectories.
|
vor 14 Jahren |
Sam Hocevar
|
2a9082fe50
|
shader: check CRC before patching the shader and fix vertex shaders and
fragment shaders differently.
|
vor 14 Jahren |
Sam Hocevar
|
c4511d9b8d
|
shader: support most standard parameters in the shader patcher.
|
vor 14 Jahren |
Sam Hocevar
|
f5c4331d2e
|
shader: write a minimalist shader patcher for future GLSL 1.20 compatibility.
|
vor 14 Jahren |
Sam Hocevar
|
3d4af0869a
|
ps3: start a minimal PS3 port using PSGL, but not CG yet.
|
vor 14 Jahren |
Sam Hocevar
|
d18820d320
|
video: enforce shader-enabled GL implementations, getting rid of a lot
of code.
|
vor 14 Jahren |
Sam Hocevar
|
10b321b204
|
core: get rid of now useless <cstdio> includes.
|
vor 14 Jahren |
Sam Hocevar
|
1e5624d551
|
core: create a logger class to reduce printf usage.
|
vor 14 Jahren |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
vor 15 Jahren |
Sam Hocevar
|
c643668297
|
The engine now builds for GL and GL ES 1.x and 2.x, and runs for each
one except GL ES 2.x for now.
|
vor 15 Jahren |
Sam Hocevar
|
6e173ee3eb
|
Put the OpenGL header handling in <lolgl.h> for more convenience.
|
vor 15 Jahren |
Sam Hocevar
|
c1a48408cf
|
Cache shader source CRCs to avoid costly recompilations.
|
vor 15 Jahren |
Sam Hocevar
|
194a025bc8
|
Protect the Shader constructor and provide a static creation method that
will let us cache shaders.
|
vor 15 Jahren |
Sam Hocevar
|
01be151c62
|
Try to factor all the recent GLSL stuff in the new Shader class.
|
vor 15 Jahren |