diff options
author | wm4 <wm4@nowhere> | 2015-11-19 21:17:57 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-19 21:17:57 +0100 |
commit | 23f3b99003da63c275771b295d6b9069fc56205e (patch) | |
tree | d0fd0db869f6b8c680ff23f21894572f6c0e94ca /demux | |
parent | b86a59aa4f55c809494a2e5058c51d52d3afc2ce (diff) |
vo_opengl: create FBOs in a more GLES conformant way
While desktop GL's glTexImage2D() essentially accepts anything, GLES is
much stricter. The combination of allowed formats/types/internal formats
is exactly specified. The GLES 3.0.4 specification lists them in
table 3.2. (The ANGLE API validation code references this table.)
The table could probably be extended into a general declarative table
about GL formats covering other uses, but this would be a big
non-trivial project, so don't bother and accept a minor degree
of duplication with other tables.
Note that the format and type do (or should) not matter here, because
no image data is transferred to the GPU.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions