Skip to content

Clean up dri3 SBC handling, enable GLX_INTEL_swap_event

Keith Packard dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dri3: Clean up struct dri3_drawablesrc/glx/dri3_priv.h+1 -51 reply
2/4dri3: Track full 64-bit SBC numbers, instead of just 32-bitssrc/glx/dri3_glx.c src/glx/dri3_priv.h+30 -200 replies
3/4dri3: Fix dri3_wait_for_sbc to wait for completion of requested SBCsrc/glx/dri3_glx.c+39 -160 replies
4/4dri3: Enable GLX_INTEL_swap_eventsrc/glx/dri3_glx.c+1 -170 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchKenneth Graunke
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Clean up dri3 SBC handling, enable GLX_INTEL_swap_event

I've split the GLX_INTEL_swap_event enabling patch into four bits -- the first three just fix the existing code to track SBC values correctly and to fix wait_for_sbc. The fourth is the trivial patch to actually turn on the new extension; all of the hard work for that is actually dealt with in the X server.

[PATCH 1/4] dri3: Clean up struct dri3_drawable

Trivial struct member cleanup -- a couple of unused fields, and one oddly placed field.

[PATCH 2/4] dri3: Track full 64-bit SBC numbers, instead of just

This switches all of the internal SBC tracking to use 64-bit values. I use uint64_t because I don't trust compilers with signed integer comparisons that may wrap any more.

[PATCH 3/4] dri3: Fix dri3_wait_for_sbc to wait for completion of

This one makes wait_for_sbc actually wait for the completion of the specified swap, rather than the queuing of that value. Makes *far* more sense this way.

[PATCH 4/4] dri3: Enable GLX_INTEL_swap_event

The trivial patch that just adds the extension to the list.

-keith