xserver-multidpi/hw
Dave Airlie 3029801216 dri2: add initial prime support. (v1.2)
This adds the initial prime support for dri2 offload. The main thing is
when we get a connection from a prime client, we stored the information
and mark all drawables from that client as prime. We then create all
buffers for that drawable on the prime device dri2screen.

Then DRI2UpdatePrime is provided which drivers can call to get a shared
pixmap which they can use as the front buffer. The driver is then
responsible for doing the back->front copy to the shared buffer.

prime requires a compositing manager be run, but it handles the case where
a window get un-redirected by allocating a new pixmap and pointing the crtc
at it while the client is in that state.

Currently prime can't handle pageflipping, so always does straight copy swap,

v1.1: renumber on top of master.
v1.2: fix auth on top of master.

Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-07 10:39:10 +01:00
..
dmx Drop custom sigio block/unblock functions from kdrive, ephyr and dmx 2012-07-03 15:56:35 +10:00
kdrive Merge branch 'sigio-vt-switch-issues' into for-keith 2012-07-04 21:23:48 +10:00
vfb api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
xfree86 dri2: add initial prime support. (v1.2) 2012-07-07 10:39:10 +01:00
xnest api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
xquartz api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
xwin hw/xwin/glx: Fix glxWinCreateContext() function pointer mismatch 2012-06-21 19:52:44 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00