Sam Hocevar
bb28344eb7
build: fix compiler warnings and Linux and PS3 build issues.
12 년 전
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
12 년 전
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 년 전
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 년 전
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 년 전
Sam Hocevar
ad00a34984
gpu: add support for triangle strips and fans, and change the DrawElement
calls so that they take a number of vertices or indexes, not elements.
12 년 전
Sam Hocevar
1f8ba128d4
core: fix sorting of 2D scenes.
12 년 전
Sam Hocevar
2297288114
gpu: get rid of the inline 2D shader and create "tile.lolfx".
12 년 전
Sam Hocevar
d684c0d113
scene: avoid doing hundreds of useless OpenGL calls if no 2D sprite is
being displayed in the scene.
12 년 전
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
12 년 전
Sam Hocevar
6467a06e90
core: convert some realloc() calls to our nice dynamic Array class.
13 년 전
Sam Hocevar
bfada5d920
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
13 년 전
Sam Hocevar
fe9bab81c1
gpu: fix a great lot of Direct3D problems, spotted using PIX.
13 년 전
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
13 년 전
Sam Hocevar
0d49891632
gpu: fix a nasty bug in the D3D9 vertex declaration code that caused
wrong offset computations.
13 년 전
Sam Hocevar
f7770f7387
gpu: add an Unbind() method for textures for clean up. Unfortunately
the Scene code still breaks Direct3D rendering.
13 년 전
Sam Hocevar
560d5cc6be
gpu: fix the core scene renderer.
13 년 전
Sam Hocevar
6169c874e4
gpu: port the vertex buffer abstraction layer to OpenGL.
13 년 전
Sam Hocevar
5014b90b3e
build: compilation fixes for errors introduced in the recent Direct3D
and Android changes.
13 년 전
Sam Hocevar
57f393d0d3
gpu: port the texture and scene handling code to Direct3D. Not functional.
13 년 전
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.
13 년 전
Sam Hocevar
3978ea9e2a
core: fix bugs in mat4::lookat() and mat4::perspective(), and ensure these
function use degrees rather than radians.
13 년 전
Sam Hocevar
804f6684b5
scene: try to disable all activated GL features in the scene rendering.
13 년 전
Sam Hocevar
356917292d
osx: link with the proper OpenGL libraries on OS X.
13 년 전
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
13 년 전
Sam Hocevar
05ed66b18d
ps3: port our naive dithering algorithm to the PS3's shader language.
13 년 전
Sam Hocevar
7cfcfb2413
shader: factor the uniform handling logic into platform-independent methods
for both OpenGL and the PS3.
13 년 전
Sam Hocevar
394fffe057
gl: implement the PS3 version of our bitmap renderer.
13 년 전
Sam Hocevar
28f8fce429
gl: do not call glDeleteBuffers with a zero-length list, it crashes on
the PS3.
13 년 전
Sam Hocevar
dc13c1f742
tiler: ensure AddTile() and BlitTile() accept vec3i arguments.
13 년 전
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.
13 년 전
Sam Hocevar
d1270bf691
video: move the last shader from the Video class to Scene itself.
13 년 전
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.
14 년 전
Sam Hocevar
8e6eb8db5a
Various changes to the Scene class. Not sure what's useful.
14 년 전
Sam Hocevar
336d42371e
Enable GL_TEXTURE_2D in the Scene class instead of Video.
14 년 전
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
14 년 전
Sam Hocevar
cc7dd5f4f6
Try to fix GLES 2 rendering. No luck so far.
14 년 전
Sam Hocevar
f75db4c57f
Fix the GLESv2 rendering.
14 년 전
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.
14 년 전
Sam Hocevar
6e173ee3eb
Put the OpenGL header handling in <lolgl.h> for more convenience.
14 년 전
Sam Hocevar
c5240f20e1
Fix a memory leak in the vertex array buffer handling.
14 년 전