https://bugs.freedesktop.org/show_bug.cgi?id=105132

--- Comment #6 from Julien Isorce <julien.iso...@gmail.com> ---
(In reply to Scott D Phillips from comment #1)
> maybe change the dri2 code to use xcb-dri2.

Hi Scott, were you thinking to make
https://cgit.freedesktop.org/mesa/mesa/tree/src/glx/dri2_glx.c use more
xcb_dri2_* calls ?

Currently it uses a mix, for example it calls "DRI2Connect" but also calls
"xcb_dri2_swap_buffers"

The remaining DRI2 calls are:
DRI2Connect
DRI2Authenticate
DRI2CreateDrawable
DRI2DestroyDrawable
DRI2CopyRegion
DRI2GetBuffersWithFormat
DRI2QueryExtension
DRI2QueryVersion

Looks like
https://cgit.freedesktop.org/mesa/mesa/tree/src/egl/drivers/dri2/platform_x11.c#n612
is a good example for this conversion. Also some refactoring can be done to
share the code between mesa/src/glx/dri2_glx.c and
mesa/src/egl/drivers/dri2/platform_x11.c

But why it will solve the fact that currently
mesa/src/glx/dri2.c::DRI2WireToEvent::dri2InvalidateBuffers is not called when
the app owns the event queue ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to