summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_dri2.c
AgeCommit message (Collapse)Author
2010-01-15st/xorg: If dri2 version is 2 support version 1 as wellJakob Bornecrantz
Thanks to X server commit 2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca it is possible to be ABI compatible in version 2 with version 1 of the DRI2 interface.
2010-01-15st/xorg: Set enforce version to 1 if not definedJakob Bornecrantz
2009-11-26st/xorg: Make sure DRI2 blits use GPU copy contents even for software fallback.Michel Dänzer
Fixes 3D apps not updating with a non-GL compositing manager and Option "2DAccel" "off". Also clean up a little pixmap vs. drawable mess.
2009-11-24st/xorg: Rename dri2 functionsJakob Bornecrantz
2009-11-24st/xorg: Standardise all function names defined in xorg_tracker.hJakob Bornecrantz
2009-11-19st/xorg: Replace compile-time acceleration switch with Option "2DAccel".Michel Dänzer
This option can be used to disable 2D acceleration. DRI2 and XVideo blits will still be accelerated, at least to some degree even with compositing.
2009-11-19st/xorg: Try harder to ensure a shared texture has valid contents right away.Michel Dänzer
2009-11-19st/xorg: Don't initialize non-existing fields.Michel Dänzer
2009-11-18st/xorg: Init all functions and fix spellingJakob Bornecrantz
2009-11-18st/xorg: Make the #if more easier to readJakob Bornecrantz
2009-11-18st/xorg: Use the correct DRI2BufferPtr struct on 1.6.4 serversJakob Bornecrantz
2009-10-08st/xorg: Fix depth stencil buffers on old X serversJakob Bornecrantz
Sanity checking is for the weak.
2009-09-08st/xorg: Add support for EXA_MIXED_PIXMAPS and EXA_SUPPORTS_PREPARE_AUX.Michel Dänzer
Also make sure not to leak malloced memory when switching pixmaps to texture based.
2009-09-02st/xorg: Guard against realy old versions of XorgJakob Bornecrantz
2009-09-02st/xorg: Add support for xserver Git master DRI2 interface.Michel Dänzer
Reorganize to handle both interfaces with common code.
2009-08-28drm_api: Operate on textures instead of buffersJakob Bornecrantz
Most use cases just got the buffer from the texture and then called into one of the get_handle functions. Also with this patch it would be easier to move to a generic function for getting handles from textures and textures from handles, that is exposed via the screen.
2009-08-28st/xorg: Pass dri driver name as driverName on screenJakob Bornecrantz
2009-08-28Revert "st/xorg/dri: Pass texture formats via the DRI2 protocol flags."Jakob Bornecrantz
This reverts commit a33e9ea3b9b7ac98d6e9bc385bbbe7eac2eb73d0. As this change breaks both radeon and nouveau
2009-08-27st/xorg: Set shared usage of pixmaps for use via DRI2.Michel Dänzer
Also allow pixmaps to have both the shared and displayed usage flags, as is the case for the screen pixmap now.
2009-08-27st/xorg/dri: Pass texture formats via the DRI2 protocol flags.Michel Dänzer
No need to guess.
2009-08-26st/xorg: Temporary fix for none stencil visualsJakob Bornecrantz
Should be replaced with something looking at the proper glx visual for the buffers.
2009-08-26st/xorg: Find out correct type for depth stencil buffersJakob Bornecrantz
2009-08-22st/xorg: Handle fake fronts correctly for pixmapsJakob Bornecrantz
2009-08-13st/xorg: Fix DRI2 CopyRegion hook.Michel Dänzer
Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes.
2009-08-06st/xorg: If we have DRI2 we should also have some sort of hw supportJakob Bornecrantz
2009-08-05st/xorg: Make it work againJakob Bornecrantz
2009-06-30drm/st: Return drm_api struct from a functionJakob Bornecrantz
2009-04-23gallium: Always include xorg-server.h before other X server headers.Michel Dänzer
Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading to inconsistent definitions of X server internal structs.
2009-04-23gallium: Fix up xorg state tracker build.Michel Dänzer
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-03st/drm: s/hocks/hooks/Jakob Bornecrantz
2009-03-03st/xorg: Add Xorg state trackerJakob Bornecrantz