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.
13 年之前
Sam Hocevar
88f10fe54b
build: allow to build the Direct3D 9 driver with the mingw compiler.
13 年之前
Sam Hocevar
090834b149
win32: start porting the graphical backend to DirectX 9. Apparently I
cannot used DirectX 10 because my video card only supports DX9, and there
is no compatibility layer. DX11 has feature levels for older hardware so
it would work with a DX9 card, but it's not available for WinXP.
13 年之前
Sam Hocevar
f35f4284b0
core: allow each blitted tile to be stretched differently.
13 年之前
Sam Hocevar
bd69c76f90
xbox: fix a few problems in the shader handling code; the first tutorial now
works on the Xbox.
13 年之前
Sam Hocevar
43e152053a
win32: add a lot of DirectX stubs.
13 年之前
Sam Hocevar
bc331e0116
gl: do not enable or disable GL_TEXTURE_2D with GLES 2.0, it's now illegal.
14 年之前
Sam Hocevar
3978ea9e2a
core: fix bugs in mat4::lookat() and mat4::perspective(), and ensure these
function use degrees rather than radians.
14 年之前
Sam Hocevar
804f6684b5
scene: try to disable all activated GL features in the scene rendering.
14 年之前
Sam Hocevar
356917292d
osx: link with the proper OpenGL libraries on OS X.
14 年之前
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
14 年之前
Sam Hocevar
05ed66b18d
ps3: port our naive dithering algorithm to the PS3's shader language.
14 年之前
Sam Hocevar
7cfcfb2413
shader: factor the uniform handling logic into platform-independent methods
for both OpenGL and the PS3.
14 年之前
Sam Hocevar
394fffe057
gl: implement the PS3 version of our bitmap renderer.
14 年之前
Sam Hocevar
28f8fce429
gl: do not call glDeleteBuffers with a zero-length list, it crashes on
the PS3.
14 年之前
Sam Hocevar
dc13c1f742
tiler: ensure AddTile() and BlitTile() accept vec3i arguments.
14 年之前
Sam Hocevar
6266c289ee
tileset: replace the Tiler ID system with real TileSet objects. The only
thing that is still broken is the Layer <--> Map interface.
14 年之前
Sam Hocevar
d1270bf691
video: move the last shader from the Video class to Scene itself.
14 年之前
Sam Hocevar
3d4af0869a
ps3: start a minimal PS3 port using PSGL, but not CG yet.
14 年之前
Sam Hocevar
d18820d320
video: enforce shader-enabled GL implementations, getting rid of a lot
of code.
14 年之前
Sam Hocevar
10b321b204
core: get rid of now useless <cstdio> includes.
14 年之前
Sam Hocevar
10e2385062
gl: reactivate depth test and blending on GLES 1.x.
15 年之前
Sam Hocevar
8e6eb8db5a
Various changes to the Scene class. Not sure what's useful.
15 年之前
Sam Hocevar
336d42371e
Enable GL_TEXTURE_2D in the Scene class instead of Video.
15 年之前
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 年之前
Sam Hocevar
cc7dd5f4f6
Try to fix GLES 2 rendering. No luck so far.
15 年之前
Sam Hocevar
f75db4c57f
Fix the GLESv2 rendering.
15 年之前
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.
15 年之前
Sam Hocevar
6e173ee3eb
Put the OpenGL header handling in <lolgl.h> for more convenience.
15 年之前
Sam Hocevar
c5240f20e1
Fix a memory leak in the vertex array buffer handling.
15 年之前
Sam Hocevar
5315089abe
Fix numerous resource leaks in scene.cpp.
15 年之前
Sam Hocevar
7ed3b998fd
Experimental GL mode works!
15 年之前
Sam Hocevar
136510f0be
OpenGL code refactoring.
15 年之前
Sam Hocevar
6405ef32ea
Get rid of float3, float4, int3 etc. in favour of GLSL types.
15 年之前
Sam Hocevar
dde16a9dd6
Implement +=, -= and *= for matrices and vectors.
Add new types, closer to the GLSL ones.
15 年之前
Sam Hocevar
e17ba05a9b
Merge more code from the experimental MVP refactor into the old GL code.
15 年之前
Sam Hocevar
01be151c62
Try to factor all the recent GLSL stuff in the new Shader class.
15 年之前
Sam Hocevar
4df4ba3a78
Get rid of the SHADER_CRAP macro and use LOL_EXPERIMENTAL instead,
together with the --enable-experimental flag. Use LOL_DEBUG and
LOL_RELEASE instead of the previous values.
15 年之前
Sam Hocevar
5eceff01e8
Clean up stuff in the shader crap.
15 年之前
Sam Hocevar
7dfbff6ca9
More shader crap. Texture coordinates now work. Still disabled.
15 年之前
Sam Hocevar
139555f45c
More shader crap. We can now display a coloured quad. Still disabled.
15 年之前
Sam Hocevar
58e12ca4d1
More shader crap for GLSL 1.30. Still disabled.
15 年之前
Sam Hocevar
7d0990d858
Fix shader crap syntax, caused by space-like UTF-8 characters.
15 年之前
Sam Hocevar
8ac9945afa
Shader tests. Disabled for now.
15 年之前
Sam Hocevar
9a66d6b1bb
Switch scene rendering method to vertex buffer objects.
15 年之前
Sam Hocevar
b0ded399f6
Rework tile handling. This possibly breaks deushax pretty rudely.
15 年之前
Sam Hocevar
4c278a0895
Change the way the Scene object works.
15 年之前
Sam Hocevar
f84b659c62
Slightly change the ...Data initialisation in classes.
15 年之前
Sam Hocevar
5ebe9f9c85
Add support for rotated views and stretched tiles.
15 年之前
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 年之前