Commit graph

8 commits

Author SHA1 Message Date
Keith Packard
e276362294 Don't define 'redirect' stuff in header files
Leave it all under #if PRESENT_FUTURE_VERSION for documentation

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-12-13 12:21:02 -08:00
Adam Jackson
8405ee4552 Force Window and Pixmap to be CARD32 on the wire
If you don't do this then the client libs on 64-bit machines see them as
XIDs, which are 64-bit wide (sigh), which ruins the wire encoding and
nothing works.

Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-12-13 14:56:05 -05:00
Keith Packard
584d8b87e2 Update to version 1.0
Add presentproto.h updates for current protocol.
Finish encoding specification.

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-10-31 17:40:15 -07:00
Keith Packard
5d11236c19 PresentRegion->PresentPixmap, define options, add UST mode
Changes the name of the PresentPixmap request from PresentRegion in
anticipation of future additions of non-pixmap sourced updates (YUV
images in particular).

Adds definitions for all of the new PresentPixmap options.

Adds PresentQueryCapabilities to provide applications the ability to
learn what the underlying hardware can support. One requirement for
any capability is that the X server must do something sensible even if
the client behaves as if a capability is supported when it is not.

Adds IdleNotify events. As pixmaps can go idle in any order, it's
important for applications to know which pixmap to use next. We cannot
use fences as the fence itself may not be signaled for some time after
the X server has figured out which pixmap to idle.

Note that the encoding and header files are not entirely up to date now.

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-10-18 16:42:20 -07:00
Keith Packard
f15c4568f2 Start reworking for present redirection.
In PresentRegion, add the PresentNotify list, add explicit CRTC.
In PresentRedirectNotify, add CRTC and update_window values

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-07-24 21:07:20 -07:00
Keith Packard
ec9db7408f Remove SBC, use CompleteNotify for both Region and NotifyMSC
SBC is entire a client-side notion, so remove it from the protocol.
No need to have two events with the same content, but we do need to
tell which request generated the event so stick a new field in some
spare bytes

Signed-off-by: Keith Packard <keithp@keithp.com>
2013-07-15 10:55:48 -07:00
Keith Packard
f1950e6f10 Add NotifyMSC. Add serial numbers to Complete and MSC events
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-07-13 02:40:11 -07:00
Keith Packard
921029e55e Initial Present protocol specification
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-07-11 15:52:50 -07:00