[PATCH xserver 1/2] glx: Fix glXQueryContext for GLX_FBCONFIG_ID and GLX_RENDER_TYPE
Adam Jackson
ajax at redhat.com
Fri Sep 22 17:02:56 UTC 2017
On Thu, 2017-09-21 at 16:45 -0700, Eric Anholt wrote:
> Looks like you missed the .config update in glxdri2.c?
D'oh.
> This code is weird -- QueryContext and QueryContextInfoEXT are both
> returning the same values, and the existing values we were giving were
> only for QCIE. This seems to be OK because the proto is the same for
> both, and the glX call must be picking the attributes it cares about out
> of the reply.
Yeah, GLX is a little quirky about attribute queries. The client API
exposes "tell me this one attrib of this one object", but the protocol
is "give me all the attribs of this object" and libGL caches the set.
- ajax
More information about the xorg-devel
mailing list