summaryrefslogtreecommitdiff
path: root/include/X11/extensions/presentproto.h
AgeCommit message (Collapse)Author
2024-03-25Present: add PresentPixmapSyncedErik Kurzinger
Adds an augmented version of PresentPixmap supporting explicit synchronization with a direct rendering device. This takes the form of timeline DRM synchronization objects, along with acquire and release points on those timelines. Implementations advertising PresentCapabilitySyncobj will wait for the acquire point to be signaled before executing the PresentPixmap request, and signal the release point after any GPU operations on the pixmap have completed. Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com>
2018-11-10Remove the use of no-op B16 & B32 bitfield macros in headersAlan Coopersmith
These have always done nothing on all platforms except CRAY. As https://bugs.freedesktop.org/show_bug.cgi?id=45202 points out we don't even detect when they've been wrong for decades. Performed via: find include -name '*.h' | grep -v md.h | xargs perl -i -p -e 's{\s+B\d+}{}g' followed by manual whitespace fixups to preserve visual alignment. The #defines for B16 & B32 are left in place to preserve compatibility in any code that used them outside the xorgproto repo. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Keith Packard <keithp@keithp.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2018-06-16Remove trailing whitespace from header filesAlan Coopersmith
Performed with: find include -name '*.h' | xargs perl -i -p -e 's{[ \t]+$}{}' "git diff -w" shows no changes from this changeset. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-01-30Move the headers under include/X11/...Adam Jackson
I kinda hate to do this, it was nice to have everything in one place. However, the meson build wants to be able to wrap this module as a dependency, and code that depends on these headers includes them in the form: #include <X11/Xfuncproto.h> As a result, any include path meson can construct needs to point to the root of a hierarchy that has the same path layout as an installed copy, hence this change. Signed-off-by: Adam Jackson <ajax@redhat.com>