Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vo_opengl: make ES float texture format checks stricter | wm4 | 2016-05-23 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | Some of these checks became pointless after dropping ES 2.0 support for extended filtering. GL_EXT_texture_rg is part of core in ES 3.0, and we already check for this version, so testing for the extension is redundant. GL_OES_texture_half_float_linear is also always available, at least as far as our needs go. The functionality we need from GL_EXT_color_buffer_half_float is always available in ES 3.2, and we explicitly check for ES 3.2, so reject this extension if the ES version is new enough. | ||||
* | vo_opengl: reorganize texture format handling | wm4 | 2016-05-12 | 1 | -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. |