summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/shader_cache.h
Commit message (Collapse)AuthorAgeFilesLines
* vo_opengl: remove another unneeded GL includewm42017-08-111-0/+3
| | | | Getting mp_pass_perf seriously requires including vo.h???
* vo_opengl: generalize ra_buf to support other buffer objectsNiklas Haas2017-08-071-1/+1
| | | | | This allows us to integrate PBOs and SSBOs into the same abstraction, with the potential to easily add UBOs if the need arises.
* vo_opengl: move shader handling to rawm42017-08-051-25/+27
| | | | | | | | | | | | | Now all GL-specifics of shader compilation are abstracted through ra. Of course we still have everything hardcoded to GLSL - that isn't going to change. Some things will probably change later - in particular, the way we pass uniforms and textures to the shader. Currently, there is a confusing mismatch between "primitive" uniforms like floats, and others like textures. Also, SSBOs are not abstracted yet.
* vo_opengl: split utils.c/hwm42017-08-051-0/+51
Actually GL-specific parts go into gl_utils.c/h, the shader cache (gl_sc*) into shader_cache.c/h. No semantic changes of any kind, except that the VAO helper is made public again as part of gl_utils.c (all while the goal for gl_utils.c itself is to be included by GL-specific code).