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

Felix Paul Kühne fkuehne.videolan at gmail.com
Tue Mar 12 22:59:35 CET 2013


On 12.03.2013, at 19:02, Martin Storsjö <martin at martin.st> wrote:

> The version string for ES 1 is "OpenGL ES-CM 1.x" or
> "OpenGL ES-CL 1.x". For ES 2 it is "OpenGL ES 2.0", while it
> seems to be only "3.x" for ES 3.
> 
> Since the code is built for either ES 1 or ES 2 (only Apple
> support targeting both at the same time, from the same built
> object code - but we only use ES 2 on iOS), simplify
> this down to a compile time decision.

OK for me. While in theory, we could switch from ES 1 to ES 2 at run time on iOS, this doesn't make sense, since we support ES2 capable devices only.

Cheers,

Felix




More information about the vlc-devel mailing list