summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle fbconfigs and glx visuals separately.Kristian Høgsberg2007-10-163-145/+133
| | | | | | | | The old implementation fetches fbconfigs or glx visuals once and assumes the list describes both fbconfigs and glx visuals. This patch splits it up and fetches visuals and fbconfigs in two steps and keep the two lists separate. A server could have no glx visuals or no glx fbconfigs and the old code wouldn't know the difference.
* Implement support for printing glx fbconfigs in glxinfo.Kristian Høgsberg2007-10-161-31/+195
|
* glxinfo: Only print visuals that actually support GLX.Kristian Høgsberg2007-10-161-5/+10
|
* i915: Make sure extensions that require TTM actually work.Michel Dänzer2007-10-161-0/+2
|
* i915: fixup TTM interfaces to follow drm changesDave Airlie2007-10-161-29/+9
|
* i915: Re-enable __DRItexOffsetExtension.Michel Dänzer2007-10-161-0/+6
| | | | This seems to have got lost somehow during the recent DRI interface changes.
* fix fog, rescale_normals bugs (from gallium branch)Brian2007-10-151-3/+5
|
* Roll back premature version bump.Kristian Høgsberg2007-10-151-3/+2
|
* Dont add fbconfigs to array that we didn't allocate for.Kristian Høgsberg2007-10-151-2/+4
|
* faster write_rgba_span_front()Andreas Micheler2007-10-151-17/+78
|
* typoGeorge Sapountzis2007-10-141-1/+1
|
* Add GL_CORE_WINDOWS define to glcore.hGeorge Sapountzis2007-10-141-0/+1
| | | | | | | | | | | | This is for consistency with glproto. The GL_CORE defines should probably be dropped. ---- Author: Alexander Gottwald <[email protected]> Date: Mon Jun 21 13:35:05 2004 +0000 Bug 782: Merge native OpenGL for Windows from CYGWIN branch
* Drop include "dri_interface.h" from xf86dri.hGeorge Sapountzis2007-10-141-2/+0
| | | | Thanks to dri2, xf86dri no longer uses __DRI types.
* Do XSync() before resetting error handler.Kristian Høgsberg2007-10-131-0/+1
|
* Uncomment GLX_SGIX_pbuffer definition.Kristian Høgsberg2007-10-131-3/+1
|
* Get the width and height from the attrib list in glXCreatePbuffer.Kristian Høgsberg2007-10-131-1/+17
|
* Merge branch 'dri2'Kristian Høgsberg2007-10-1248-1813/+1785
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/intel_screen.c
| * Drop no longer implemented MESA allocate extension from i915.Kristian Høgsberg2007-10-111-8/+0
| |
| * Add a version field to __DRIextension.Kristian Høgsberg2007-10-114-8/+32
| |
| * Move new texOffset extension to the new extension mechanism.Kristian Høgsberg2007-10-114-20/+28
| |
| * Convert a left-over private void * to __DRIcontext *.Kristian Høgsberg2007-10-113-6/+6
| |
| * Move enabling of DRI extensions into glxextensions.cKristian Høgsberg2007-10-113-91/+59
| |
| * Remove now unused getProcAddress from DRIinterfaceMethods.Kristian Høgsberg2007-10-112-53/+0
| |
| * Add a DRI_ReadDrawable marker extension to signal read drawable capability.Kristian Høgsberg2007-10-1113-40/+39
| |
| * Move media stream counter entry points to new extension.Kristian Høgsberg2007-10-1117-160/+102
| |
| * Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism.Kristian Høgsberg2007-10-1117-61/+78
| |
| * Move GLX_MESA_allocate_memory related functions to new extension mechanism.Kristian Høgsberg2007-10-117-47/+72
| |
| * Move swap_interval to new extension mechanism.Kristian Høgsberg2007-10-1019-52/+114
| |
| * Move the copySubBuffer extension over to the new mechanism.Kristian Høgsberg2007-10-109-23/+65
| |
| * Implement new screen extension API.Kristian Høgsberg2007-10-103-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | This new API lets the loader examine DRI level extensions provided by the driver in a forward compatible manner. Much of the churn in the DRI interface is adding support for new extensions or removing old, unused extensions. This new extension mechanism lets the loader query the extensions provided by the driver and implement the extensions it knows about. Deprecating extensions is done by not exporting that extension in the list, which doesn't require keeping old function pointers around to preserve ABI.
| * Stop passing in unused fbconfigs to createNewScreen.Kristian Høgsberg2007-10-104-20/+1
| |
| * Pull createNewScreen entry point into dri_util.c.Kristian Høgsberg2007-10-1017-699/+421
| | | | | | | | | | | | | | | | This pulls the top level createNewScreen entry point out of the drivers and rewrites __driUtilCreateNewScreen in dri_util.c to be the new entry point. The change moves more logic into the common/ layer and changes the createNewScreen entry point to only be defined in one place.
| * Replace open-coded major, minor, and patch version fields with __DRIversionRec.Kristian Høgsberg2007-10-1015-65/+41
| |
| * Convert all DRI entrypoints to take pointers to __DRI* types.Kristian Høgsberg2007-10-104-84/+80
| | | | | | | | | | | | | | | | | | | | The entrypoints take a mix of __DRIscreen * and void * (screen private) arguments (similarly for contexts and drawables). This patch does away with passing the private void pointer and always only passes the fully typed __DRIscreen pointer and always as the first argument. This makes the interface more consistent and increases type safety, and catches a bug where we would pass a screen private to DRIdrawable::getSBC.
| * Remove screenConfigs from __DRIscreen.Kristian Høgsberg2007-10-1013-61/+54
| | | | | | | | | | | | | | | | | | | | | | | | The screenConfigs field of __DRIscreen points back to the containing __GLXscreenConfigs struct. This is a serious abstraction violation; it assumes that the loader is libGL and that there *is* a __GLXscreenConfigs type in the loader. Using the containerOf macro, we can get from the __DRIscreen pointer to the containing __GLXscreenConfigs struct, at a place in the stack where the above is a valid assumption. Besides, the __DRI* structs shouldn't hold state other than the private pointer.
| * Drop mostly unused __DRIid typedef.Kristian Høgsberg2007-10-104-8/+7
| |
| * Avoid deadlock in GarbageCollectDRIDrawables.Kristian Høgsberg2007-10-101-8/+2
| | | | | | | | | | | | __glXinitialize() can't be called with the GLX lock held. Just pass in the __GLXscreenConfigs pointer so we don't have to look it up in __GLXdisplayPrivate.
| * Drop createContext and destroyContext from DRIinterfaceMethods.Kristian Høgsberg2007-10-106-53/+27
| | | | | | | | | | | | | | | | | | | | As for createDrawable and destroyDrawable, these functions immediately upon entry to driCreateNewContext and immediately before exit from driDestroyContext. Instead of passing function pointers back and forth just obtain the drm_context_t prior to calling DRIscreen::createNewContext and pass it as a parameter. This change also lets us keep the DRI context XID in the libGL loader only.
| * Drop createDrawable and destroyDrawable fron DRIinterfaceMethods.Kristian Høgsberg2007-10-106-63/+24
| | | | | | | | | | | | | | | | | | | | | | | | All the DRI driver did was call the createDrawable callback immediately upon entry to DRIscreen::createNewDrawable to get the drm_drawable_t. We can just call that before calling into the DRI driver and pass the returned drm_drawable_t as an argument to the DRI entry point. Likewise for destroyDrawable. Also, DRIdrawablePrivate::draw isn't used anywhere, and since the driver no longer needs the XID of the drawable we can now drop that.
| * Key drm_i915_flip_t typedef off of the ioctl #define instead.Kristian Høgsberg2007-10-101-1/+1
| |
| * Drop __DRInativeDisplay and pass in __DRIscreen pointers instead.Kristian Høgsberg2007-10-1026-434/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | Many DRI entry points took a __DRInativeDisplay pointer and a screen index as arguments. The only use for the native display pointer was to pass it back to the loader when looking up the __DRIscreen for the given screen index. Instead, let's just pass in the __DRIscreen pointer directly, which let's drop the __DRInativeDisplay type and the getScreen function. The assumption is now that the loader will be able to retrieve context from the __DRIscreen pointer when necessary.
| * Add macros to generate CreateNewScreen entrypoint.Kristian Høgsberg2007-10-052-5/+20
| |
| * Remove XIDs from DRI interface (see #5714).Kristian Høgsberg2007-10-0511-320/+213
| |
| * Pull in the drm hash.Kristian Høgsberg2007-10-053-1/+429
| |
* | Merge branch 'master' into i915-superioctlDave Airlie2007-10-1261-419/+1562
|\ \
| * | Example of cooperative rendering into one window by two processesBrian2007-10-114-1/+687
| | |
| * | New glxsnoop demo to display another window's z/stencil/back buffer.Brian2007-10-112-0/+378
| | |
| * | remove unneeded castBrian2007-10-111-1/+1
| | |
| * | replace 'brick' with correct program name in printfsBrian2007-10-104-10/+10
| | |
| * | fix force_s3tc_enable optionMrc Gran2007-10-101-1/+1
| | |