xserver/hw/xfree86
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
..
common xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
ddc api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dixmods xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
doc api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dri Add pixman to module dependencies for pixman_region_* functions 2012-07-02 11:08:57 -07:00
dri2 dri2: add initial prime support. (v1.2) 2012-07-07 10:39:10 +01:00
exa api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
fbdevhw Make stub version of fbdevHWAdjustFrame match new prototype in fbdevhw.h 2012-06-11 18:29:16 -07:00
i2c Build tda9885.c functions into fi1236 to avoid libtool relinking problems 2012-07-02 11:08:37 -07:00
int10 xserver: fix build on arm tinderbox 2012-06-14 11:09:30 -07:00
loader Look for ModuleData only in appropriate library 2012-07-04 21:26:24 +10:00
man loader: add Cygwin support 2012-04-05 21:57:04 -05:00
modes xf86: add callback for offloak sink setting support. 2012-07-07 10:39:03 +01:00
os-support xfree86: add platform bus hotplug support (v3) 2012-07-06 10:35:20 +01:00
parser Remove obsolete tab stop comments from hw/xfree86/parser/*.c 2012-06-20 21:41:52 -07:00
ramdac xf86/cursor: fallback to sw cursor if we have slaves present. 2012-07-07 10:37:45 +01:00
shadowfb api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
utils cvt man page should use Hz, not kHz, for vertical refresh rate 2012-05-18 15:00:47 -07:00
vbe api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
vgahw xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
x86emu Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xaa Add pixman to module dependencies for pixman_region_* functions 2012-07-02 11:08:57 -07:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am Enable no-undefined symbols mode in Solaris builds if -z parent is in ld 2012-07-02 11:09:02 -07:00
sdksyms.sh xres: Fix build without composite 2012-04-23 20:16:53 -07:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00