[Mesa-dev] [PATCH] intel: Don't advertise GLX_SWAP_COPY_OML

Chad Versace chad.versace at linux.intel.com
Mon Aug 20 13:49:28 PDT 2012


On 08/14/2012 11:09 AM, Ian Romanick wrote:
> On 08/13/2012 08:43 AM, Eric Anholt wrote:
>> Ian Romanick <idr at freedesktop.org> writes:
>>> The tail should not wag the dog. If the application requests such a
>>> config, we should not page flip.  There are cases where the copy is
>>> preferable because it leaves the backbuffer intact.
>>
>> Well, that would require extra work in dri2 to use the older copyregion
>> interface if the bit is set, and then you lose correct vblank syncing.
>> Unless you're planning on new dri2 protocol.
>>
>> Or we could just remove this interface that, as far as I know, no app
>> uses.
> 
> I'm pretty sure both Firefox and Blender want this for their UI elements. 
> Firefox might not use it anymore, but I'm sure Blender does.  Blender also won't
> care about vsync.

I just discussed this with GL developers from Firefox (karl in
#gfx at irc.mozilla.org) and Blender (Psy-Fi in #blendercoders at freenode). They
confirmed that neither project uses or has any intention to use
GLX_SWAP_COPY_OML. They also gently complained that they wished GL drivers would
stop advertising broken features.

Eric, Ian, now that Ian's issue is resolved, I'm now waiting on one of your r-b
to commit this patch.

-Chad


More information about the mesa-dev mailing list