Commit graph

18 commits

Author SHA1 Message Date
Alan Coopersmith
f717637569 Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/99>
2025-08-02 14:39:03 -07:00
Erik Kurzinger
bf661c1c34 DRI3: add DRI3ImportSyncobj and DRI3FreeSyncobj
Adds new protocol to the DRI3 extension for importing DRM
synchronization objects provided by clients. These can be used to enable
explicit synchronization between the client, the direct rendering
device, and the server.

Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com>
2024-03-22 08:09:59 -07:00
Emil Velikov
7e0ae1736d DRI3: fix off-by-one DRI3 opcodes in description
The actual protocol and implementation details are unaffected - both
here and in xcb. Only the description/diagram section is off.

Noticed while skimming through the new 1.3 additions.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2022-09-08 08:04:05 +00:00
Austin Shafer
74255ccfd8 DRI3: Add DRI3SetDRMDeviceInUse
DRI3SetDRMDeviceInUse is a hint that lets a client tell the server
what DRM device it is currently using. This lets the server make
more informed decisions for what modifiers to return to the client.

This is needed for proper linux dmabuf feedback with Xwayland
2022-05-25 06:31:56 +00:00
Louis-Francis Ratté-Boulianne
0fca474cd6 dri3: Add modifier/multi-plane requests, bump to v1.2
DRI3 version 1.2 adds support for explicit format modifiers,
including multi-planar buffers.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
2018-02-28 11:13:11 -05:00
Keith Packard
8257a60f28 Update DRI3Open encoding spec to remove driver name
The specification for the encoding of DRI3Open didn't get fixed when
the driver name was removed.

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-06 10:20:44 -08:00
Keith Packard
b79a809d29 Add FDFromFence request
This lets DRI clients convert a fence back into a local object.

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-10-08 16:16:21 -07:00
Keith Packard
a5392ea74a Remove events and other unused elements
This renumbers the FenceFromFD request from 5 to 4 as well

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-07-12 10:26:44 -07:00
Keith Packard
66d339c112 Eliminate driverType and driverName from Open request
Make application figure out the right driver on its own.

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-20 12:09:46 -07:00
Keith Packard
d40b6e0297 Re-word the caution about pixmap image formats non linearity
Suggested by Arthur Huillet <arthur.huillet@free.fr>

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-07 09:48:55 -07:00
Keith Packard
ac4071c916 Clarify relationship with GLX
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-04 17:34:23 -07:00
Keith Packard
c8eb5c651f Re-center the version and date lines
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-04 16:51:05 -07:00
Keith Packard
1694dc2781 Rename Swap to Present
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-04 16:49:39 -07:00
Keith Packard
bf7c7d373e Pass Fence FDS from client. Clean up encoding.
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-04 15:19:34 -07:00
Keith Packard
fbb449d411 Switch direction of FD passing for Sync Fences
Pass FD from client to server to avoid a round trip.

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-06-04 13:28:29 -07:00
Keith Packard
f078e7fe06 Rename Connect as Open, make it work. Add SHM SyncFences
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-05-13 16:35:04 -07:00
Keith Packard
92135eefc5 Initial DRI3 protocol headers
Just getting started

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-04-09 21:39:54 -07:00
Keith Packard
9ab4a811fe Initial DRI3 protocol specification
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-02-19 15:25:20 -08:00