summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kurzinger <ekurzinger@nvidia.com>2024-03-28 21:25:24 -0700
committerErik Kurzinger <ekurzinger@nvidia.com>2024-03-29 14:06:01 -0700
commit68de489ec6c2fb6f8cfc47b0bba7edd0f9942f17 (patch)
tree606b2c7e93044b08cec97e9682391e202b6e54e1
parent67469711055522b8adb2d795b01e7ba98cb8816c (diff)
Present: clarify PresentPixmapSynced idle event behavior
PresentIdleNotify events will not be delivered for PresentPixmapSynced requests. This should be stated explicitly in the protocol specification. Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com>
-rw-r--r--presentproto.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/presentproto.txt b/presentproto.txt
index 56c20d4..6ef9a4f 100644
--- a/presentproto.txt
+++ b/presentproto.txt
@@ -398,13 +398,15 @@ The name of this extension is "Present"
client. The fence need not be submitted at the time the
PresentPixmapSynced request is issued.
- Once the 'release-point' on the release timeline has been signaled, the
- client may assume that no further GPU or CPU access to the Pixmap by
- the server will occur as part of the originating PresentPixmapSynced
- request. Note that this is a stronger guarantee than what is provided
- by the 'idle-fence' argument of the PresentPixmap request or the
- delivery of a PresentIdleNotify event, as those do not necessarily
- imply that the Pixmap is idle on the GPU.
+ A PresentIdleNotify event will not be sent to the client when the
+ server has finished accessing the Pixmap. Instead, the 'release-point'
+ on the release timeline will be signaled. Afterwards, the client may
+ assume that no further GPU or CPU access to the Pixmap by the server
+ will occur as part of the originating PresentPixmapSynced request.
+ Note that this is a stronger guarantee than what is provided by the
+ 'idle-fence' argument of the PresentPixmap request or the delivery of a
+ PresentIdleNotify event, as those do not necessarily imply that the
+ Pixmap is idle on the GPU.
The server may wait for the acquire point and signal the release point
itself, as will typically happen if the request is executed by copying