summaryrefslogtreecommitdiff
path: root/hw/xfree86/dri/dri.h
AgeCommit message (Collapse)AuthorFilesLines
2008-12-03Rework symbol visibility for easier maintenancePaulo Cesar Pereira de Andrade1-54/+54
Save in a few special cases, _X_EXPORT should not be used in C source files. Instead, it should be used in headers, and the proper C source include that header. Some special cases are symbols that need to be shared between modules, but not expected to be used by external drivers, and symbols that are accessible via LoaderSymbol/dlopen. This patch also adds conditionally some new sdk header files, depending on extensions enabled. These files were added to match pattern for other extensions/modules, that is, have the headers "deciding" symbol visibility in the sdk. These headers are: o Xext/panoramiXsrv.h, Xext/panoramiX.h o fbpict.h (unconditionally) o vidmodeproc.h o mioverlay.h (unconditionally, used only by xaa) o xfixes.h (unconditionally, symbols required by dri2) LoaderSymbol and similar functions now don't have different prototypes, in loaderProcs.h and xf86Module.h, so that both headers can be included, without the need of defining IN_LOADER. xf86NewInputDevice() device prototype readded to xf86Xinput.h, but not exported (and with a comment about it).
2007-08-23Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-3/+11
pci-rework Conflicts: hw/xfree86/common/xf86.h hw/xfree86/common/xf86Init.c hw/xfree86/common/xf86pciBus.c hw/xfree86/int10/generic.c hw/xfree86/int10/helper_exec.c hw/xfree86/loader/xf86sym.c hw/xfree86/os-support/bus/Pci.c hw/xfree86/os-support/bus/Pci.h hw/xfree86/os-support/bus/linuxPci.c hw/xfree86/os-support/linux/int10/linux.c
2007-07-27Don't map the front buffer in libdri if the ddx driver doesn't set the size.Kristian Høgsberg1-1/+7
This lets drivers map the front buffer themselves by setting dontMapFramebuffer.
2007-07-10Make sure DRI drawables are cleaned up when client dies.Michel Dänzer1-2/+4
The previous scheme didn't work when the client didn't create the core drawable, e.g. the root or composite overlay window. Use refcounting via special client resources to fix that.
2007-06-18Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+26
pci-rework Conflicts: hw/xfree86/os-support/bus/Pci.c hw/xfree86/os-support/bus/linuxPci.c
2007-05-22DRI: Add TexOffset driver hooks.Michel Dänzer1-2/+11
To be used by AIGLX for GLX_EXT_texture_from_pixmap without several data copies. The texOffsetStart hook must make sure that the given pixmap is accessible by the GPU for texturing and return an 'offset' that can be used by the 3D driver for that purpose. The texOffsetFinish hook is called when the pixmap is no longer being used for texturing.
2007-04-16Changes for single-entity multi-screen DRI.Thomas Hellstrom1-1/+17
The entity (device) has a locking SAREA and a master file descriptor that optionally isn't closed between server generation. The locking SAREA contains the device hardware lock. Each DRI screen creates an new SAREA containing the drawable lock, drawable-and private info, the drawable SAREA. The first screen optionally shares its drawable SAREA with the device SAREA. Default is to close the master descriptor between server generations, and to share the drawable SAREA of the first screen with the device locking SAREA. Thus we should (hopefully) have full backwards compatibility. Mesa changes to support single-device multiple screens are pending.
2007-03-28Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+4
pci-rework Conflicts: hw/xfree86/Makefile.am hw/xfree86/dri/dri.c
2007-02-20DRI: New ClipNotify driver hook.Michel Dänzer1-1/+4
The hook is called whenever the clipList of any DRI window changes, be it via DRIClipNotify, DRICreateDrawable or DRIDrawablePrivDelete. This allows the driver to keep track of which DRI windows are visible where.
2006-12-08Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver ↵Ian Romanick1-0/+2
into pci-rework Conflicts: hw/xfree86/common/xf86Configure.c hw/xfree86/common/xf86Helper.c hw/xfree86/common/xf86pciBus.c hw/xfree86/int10/helper_exec.c hw/xfree86/os-support/bus/Pci.c hw/xfree86/os-support/bus/linuxPci.c hw/xfree86/os-support/linux/lnx_pci.c hw/xfree86/scanpci/Makefile.am hw/xfree86/utils/pcitweak/Makefile.am hw/xfree86/utils/scanpci/Makefile.am
2006-11-09make X server use system libdrm - this requires libdrm >= 2.3.0Dave Airlie1-0/+2
This patch blacklists the load "drm" line, moves some functions in dri module links dri module against libdrm, and removes the X copy of libdrm
2006-07-25Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+0
pci-rework Conflicts: hw/xfree86/common/xf86Init.c hw/xfree86/int10/pci.c hw/xfree86/scanpci/xf86PciData.h hw/xfree86/scanpci/xf86PciStdIds.h hw/xfree86/scanpci/xf86PciStr.h hw/xfree86/scanpci/xf86ScanPci.h hw/xfree86/utils/pcitweak/pcitweak.c hw/xfree86/utils/scanpci/scanpci.c Re-removed most of the conflicting files.
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson1-1/+0
2006-06-07Initial batch of changes for PCI rework. All future changes will beIan Romanick1-1/+3
tracked individually.
2005-09-24Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreenAdam Jackson1-3/+0
stubs from drivers, comment the non-empty ones.
2005-08-24Remove use of dix-config and xorg-config.h from public headers.Daniel Stone1-4/+0
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone1-0/+4
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-05-18Bug #3066: Promote frameBufferPhysicalAddress to pointer from CARD32; bumpAdam Jackson1-3/+4
DRIINFO version to match. Fix various pointer printfs in libdri to be 64-bit aware. Silence a warning about redefining noXFree86DRIExtension. (Jesse Barnes)
2005-05-18Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the versionAdam Jackson1-3/+18
number of the DRIInfoRec, disambiguating it from the XF86DRI protocol version number. Modify DRIQueryVersion to return the libdri version number, which all DDXes were requesting implicitly. Fix the DDXes to check for the DRIINFO version they were compiled against.
2004-06-16Merge DRI-trunk-20040613 changes in programs/Xserver/GL.Eric Anholt1-1/+1
2004-06-16DRI trunk-20040613 importEric Anholt1-12/+14
2004-06-16DRI XFree86-4_3_99_12-merge importEric Anholt1-1/+1
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsEgbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-14Initial revisionKaleb Keithley1-0/+330