summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/formats.h
Commit message (Collapse)AuthorAgeFilesLines
* vo_opengl: reorganize texture format handlingwm42016-05-121-0/+60
This merges all knowledge about texture format into a central table. Most of the work done here is actually identifying which formats exactly are supported by OpenGL(ES) under which circumstances, and keeping this information in the format table in a somewhat declarative way. (Although only to the extend needed by mpv.) In particular, ES and float formats are a horrible mess. Again this is a big refactor that might cause regression on "obscure" configurations.