summaryrefslogtreecommitdiff
path: root/XcbNotes.mdwn
diff options
context:
space:
mode:
authorThomasHunger <ThomasHunger>2007-05-11 08:08:54 -0800
committerThomasHunger <ThomasHunger>2007-05-11 08:08:54 -0800
commitd2318ce5b008ea50a378ce5700857fb8e599a622 (patch)
tree5fc06a9f8f4170472daabb2f03c5e7fa844427a6 /XcbNotes.mdwn
parent7b7abd88660125e01da0d16e5031a82d9bc48203 (diff)
XcbNotes
Diffstat (limited to 'XcbNotes.mdwn')
-rw-r--r--XcbNotes.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/XcbNotes.mdwn b/XcbNotes.mdwn
index e6b64d1..9ed6e80 100644
--- a/XcbNotes.mdwn
+++ b/XcbNotes.mdwn
@@ -23,3 +23,12 @@ Hope this helps. Comment welcome.
Double buffering on X is kind of a mess. Here's documentation on the [Multi-Buffering](XcbNotes/buffer.pdf) and [XDBE](XcbNotes/dbe.pdf) extensions in case someone wants to write a protocol description for XCB. Note: Multibuffer is deprecated in favour of DBE. It also seems that DBE is deprecated. See [this](http://lists.freedesktop.org/archives/xcb/2006-August/001854.html) thread.
A conversation with keithp indicates that his current thinking is that the right way to do double buffering is via an explicit copy from a separate pixmap. This is portable to absolutely everywhere, and requires no magic. Probably there will soon be a convention for the compositing manager to handle the double buffering on systems where one is running, since it needs to buffer anyhow. But this would be in the future.
+
+### checked vs. unchecked
+
+The plan 7 error handling follows the these rules.
+
+1. If a request has no reply (xcb\_void\_cookie\_t) the default is to call unchecked. To check the result use xxx\_checked.
+2. If a request has a reply cookie, the default is to call checked. If you are not interested in checking, use xxx\_unchecked.
+
+[(see this mail)](http://lists.freedesktop.org/archives/xcb/2007-April/002760.html)