glamor core profile support

Eric Anholt eric at
Tue Jan 19 09:37:48 PST 2016

r<#secure method=pgpmime mode=sign>
Marek Olšák <maraeo at> writes:

> On Tue, Jan 19, 2016 at 1:56 AM, Dave Airlie <airlied at> wrote:
>> This series implements support for glamor in ephyr/EGL/Xwayland
>> to use GL core profile when it can.
>> This required 4 main changes:
>> a) stop using client ptrs everywhere, I found 3 places left,
>> gradient, picture and xv where we use these.
>> b) start using VAOs
>> c) use GL_RED instead of GL_ALPHA
>> d) stop using GL_QUADS.
> Won't this negatively affect performance on drivers which can do quads natively?

You've probably got instancing, though, and most of our high-vertex-rate
code will use that with triangle strips to reduce vertex attribute data
anyway (see glamor_text.c).

More information about the xorg-devel mailing list