taisei/src/util
Andrei Alexeyev 9b3779ebb4
Some renderer refactoring (mostly API and GLES preparations) (#144)
* Refacor uniforms API:

    - More complete and consistent
    - Type-safety
    - Usage correctess assertions missing for now, planned

* Redesign texturing API: texunits gone, assign textures to sampler uniforms directly

r_texture_create now allocates memory and returns an opaque Texture
pointer; similar changes to the other renderer APIs will follow.

* Framebuffers: make _create return an opaque pointer, add debug label APIs (unused for now)

* opaque pointers and debug label APIs for vertex arrays and buffers

* fix null renderer

* Refactor glsl preprocessing into an independent module

* Separate shader resource management from renderer backend

This makes it possible to add more shading languages and/or include a
transpiler, which will be useful for the GLES backend.

* refactor r_clear into a stateless API

* add r_texture_clear API; fix gl33_framebuffer_clear

* Replace deprecated glsl_objects with objects in all *.prog files

* fix missing texture_clear implementation in null renderer

* remove some dead code in null renderer

* fix GLES segfault

* GLES 3.0 actually has glVertexAttribDivisor

* Query GL for supported GLSL versions (preparing to add shader transcompilation)
2018-09-14 10:37:20 +03:00
..
assert.c attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
assert.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
compat.h remove some defunct hacks 2018-07-28 14:02:48 +03:00
consideredharmful.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
crap.c Threading improvements (#125) 2018-05-25 09:01:07 +03:00
crap.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
debug.c attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
debug.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
env.c attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
env.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
fbpair.c Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
fbpair.h My take on the Marisa bombs. Also blur shaders, minor fixes, etc. 2018-08-27 10:08:14 +03:00
geometry.c Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
geometry.h Text rendering rewrite and optimizations; some refactoring (#129) 2018-06-30 00:36:51 +03:00
glm.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
graphics.c Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
graphics.h Fix textures being internally Y-flipped (#142) 2018-08-28 11:25:54 +03:00
io.c attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
io.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
kvparser.c Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
kvparser.h Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
meson.build Refactor framebuffer-related stuff (#130) 2018-07-04 11:36:16 +03:00
miscmath.c Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
miscmath.h Some renderer refactoring (mostly API and GLES preparations) (#144) 2018-09-14 10:37:20 +03:00
platform_posix.c Improve filename timestamps (screenshots, replays) 2018-05-28 12:03:14 +03:00
platform_win32.c Improve filename timestamps (screenshots, replays) 2018-05-28 12:03:14 +03:00
pngcruft.c attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
pngcruft.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
rectpack.c Text rendering rewrite and optimizations; some refactoring (#129) 2018-06-30 00:36:51 +03:00
rectpack.h Text rendering rewrite and optimizations; some refactoring (#129) 2018-06-30 00:36:51 +03:00
sse42.c attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
sse42.h attempt to refactor the util disaster into several smaller disasters 2018-05-15 03:27:25 +03:00
stringops.c Text rendering rewrite and optimizations; some refactoring (#129) 2018-06-30 00:36:51 +03:00
stringops.h Text rendering rewrite and optimizations; some refactoring (#129) 2018-06-30 00:36:51 +03:00