Sam Hocevar
8fe56fc27d
Clean up the features.h header.
il y a 5 ans
Sam Hocevar
9d4b7ff456
Refactor header usage to use our core submodule instead.
il y a 5 ans
Sam Hocevar
269ab7c1ac
Fix emscripten regressions.
il y a 5 ans
Sam Hocevar
cdc335ca30
gpu: remove deprecated glEnable(GL_TEXTURE_2D).
il y a 6 ans
Sam Hocevar
cf02d4b0d0
gpu: rename a few methods.
il y a 6 ans
Sam Hocevar
f6f61ceb23
gpu: add helper functions to upload buffer data.
il y a 6 ans
Sam Hocevar
7591962cb0
gpu: fix 32-bit compilation on Windows.
il y a 6 ans
Sam Hocevar
8907e6d156
gpu: reformat GL debug information to make it far more compact.
il y a 6 ans
Sam Hocevar
330c9c7e9b
gpu: minor compilation warning in debug mode.
il y a 6 ans
Sam Hocevar
2c45d0918d
gpu: fix numerous OpenGL programming errors.
il y a 6 ans
Sam Hocevar
4d58c015f9
gpu: implement GL debug context logging.
il y a 6 ans
Sam Hocevar
aa0cf5a218
gpu: make the GL errors non-fatal but still log an error.
il y a 6 ans
Sam Hocevar
c4df7f7f91
nx: ensure projects that use OpenGL compile properly.
il y a 6 ans
Sam Hocevar
db3a40687a
gpu: remove debug code that should not have ended here.
il y a 6 ans
Sam Hocevar
83e48e8820
gpu: fix OS X port (bad framebuffer image creation flags).
il y a 6 ans
Sam Hocevar
fca56d7f7d
Rename some classes and methods to lowercase.
il y a 7 ans
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
il y a 7 ans
Sam Hocevar
7ba8458818
Remove old feature macros that are no longer relevant nowadays.
il y a 7 ans
Sam Hocevar
4a4fb5f91c
Fix all visible compilation warnings in Visual Studio.
il y a 7 ans
Sam Hocevar
f04165769c
gpu: simplify automatic shader generation code.
il y a 7 ans
Sam Hocevar
361d1a0e80
gpu: fix a 6-year old bug in vertex declaration unbinding.
il y a 7 ans
Sam Hocevar
7d42c3d58e
Various emscripten compilation fixes.
il y a 7 ans
Sam Hocevar
3aa4090bd7
FIx a few compilation warnings.
il y a 7 ans
Sam Hocevar
beeded3d85
render: simplify Renderer code
The scene now owns its renderer, so there is no need to keep a list
of existing renderers and to call Renderer::Get().
il y a 7 ans
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
il y a 7 ans
Sam Hocevar
9307f454ad
GPU: remove persistence from default post process shader.
The feature will still be accessible from a uniform in the shader, but it
is now disabled by default.
il y a 7 ans
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
il y a 7 ans
Sam Hocevar
8981100727
Get rid of lol::hash which is now useless.
il y a 8 ans
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
il y a 8 ans
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
il y a 8 ans
Sam Hocevar
0239617197
Various compilation and warning fixes.
il y a 8 ans
Sam Hocevar
5b21579db4
Add --disable-opengl flag.
This flag disables GL, GLES, but also Glew and EGL libraries.
il y a 8 ans
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
il y a 8 ans
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
il y a 8 ans
touky
fd3a6a8ae6
imgui + renderer + mouse scroll
Added scissor mode in renderer
Added scissor support in imGui
Mouse scroll sensivity tweak
il y a 9 ans
Lolbot
af53a69eb7
fixed 9 files out of 506:
- removed 0 CR characters
- removed 7 trailing whitespaces
- replaced 332 tabs with spaces
il y a 9 ans
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
il y a 9 ans
touky
3b255d4137
first test for lolimgui
il y a 9 ans
touky
ce13252b69
Shader version compatibility fix
Shader replacement code for older shader version is now fixed
il y a 9 ans
touky
9174a1e43d
startup fixes
il y a 9 ans
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
il y a 9 ans
Sam Hocevar
9e4b6a4155
build: add path to lolfx resource names
This will help us deal with shader name collision. Breaks the Windows
build for the moment, unfortunately.
il y a 9 ans
Sam Hocevar
afc48d2927
scene: add render buffers and a temporary postprocess
il y a 9 ans
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
il y a 9 ans
Sam Hocevar
70799848f7
scene: make the postprocess a nop for now and clean up some shaders.
il y a 9 ans
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
il y a 9 ans
Sam Hocevar
3a90766614
scene: start working on a postprocess mechanism.
Not all programs support this feature for now, but that’s because they
don’t support the scene framework either, and will need patching. Also
the default postprocess is deliberately exaggerated for now.
il y a 9 ans
Sam Hocevar
2f66dcc33f
Switch PEGTL external to latest Git snapshot.
il y a 9 ans
Sam Hocevar
6a6ecc66e9
Port all parsers to PEGTL 1.3.1.
There might be issues with lolremez but at first sight it seems to work.
il y a 9 ans
Sam Hocevar
7939719ce1
gpu: fix GLES 2.x support.
il y a 9 ans