[vlc-devel] [PATCH 1/4] opengl: Fix the ES 1 vs 2 version check

Rémi Denis-Courmont remi at remlab.net
Wed Mar 13 15:13:40 CET 2013


On Wed, 13 Mar 2013 09:32:59 -0400, Edward Wang
<edward.c.wang at compdigitec.com> wrote:
>> We need to move OpenGL to higher priority than XVideo, to support
scaled
>> subtitles and high colour depth. But that does not work for/with OpenGL
>> (ES) 1.
> I don't see think that this has to be a false dichotomy. I think it is 
> possible to support both OpenGL ES 1 and 2 at the same time.

That depends on your understanding of "the same time". It is certainly
possible to support both versions in separate plugins. But that requires a
sizable code rework for which there has not been any volunteer.

They cannot stay in the same plugin, since they need to have different
plugin priorities: OpenGL 2 higher than XVideo (for high depths and
subtitles blending) and OpenGL 1 lower than XVideo (due to colour space
conversion).


-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list