xserver-multidpi/glx
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
..
clientinfo.c glx: Implement GLX SetClientInfo2ARB protocol 2012-07-05 11:44:09 -07:00
createcontext.c glx: Allow attributes and flags from GLX_ARB_create_context_robustness 2012-07-05 11:45:32 -07:00
dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
extension_string.c glx: Add extension string tracking for GLX_ARB_create_context_robustness 2012-07-05 11:44:42 -07:00
extension_string.h glx: Add extension string tracking for GLX_ARB_create_context_robustness 2012-07-05 11:44:42 -07:00
glapi_gentable.c glapi: Correct size of allocated _glapi_table struct 2012-04-23 20:20:42 -07:00
glapi.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glapi.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glapitable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glprocs.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glthread.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glthread.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxbyteorder.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxcmds.c glx: Track the reset notification strategy for a context 2012-07-05 11:45:15 -07:00
glxcmdsswap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxcontext.h glx: Track the reset notification strategy for a context 2012-07-05 11:45:15 -07:00
glxdrawable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdri.c Merge remote-tracking branch 'idr/GLX_ARB_create_context' 2012-06-14 13:01:17 -07:00
glxdri2.c dri2: add initial prime support. (v1.2) 2012-07-07 10:39:10 +01:00
glxdricommon.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdricommon.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdriswrast.c glx: Extend __GLXscreen::createContext to take attributes 2012-05-23 13:07:51 -07:00
glxext.c glx: Use one function to add a context to all global tables 2012-05-23 13:08:12 -07:00
glxext.h glx: Use one function to add a context to all global tables 2012-05-23 13:08:12 -07:00
glxscreens.c api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
glxscreens.h Merge remote-tracking branch 'idr/GLX_ARB_create_context' 2012-06-14 13:01:17 -07:00
glxserver.h glx: Don't request prototypes for GL extension functions 2012-07-05 10:08:04 -07:00
glxutil.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch_swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_program.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_reqsize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_reqsize.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size_get.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size_get.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_table.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_table.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_texture_compression.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_util.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_util.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am glx/glapioffsets.h is no longer part of the build, remove it 2011-12-27 14:02:39 -08:00
render2.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
render2swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpix.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpixswap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rensize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
single2.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
single2swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlepix.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlepixswap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlesize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlesize.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swap_interval.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
unpack.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xfont.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00