summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [965] Replace various alignment code with a shared ALIGN() macro.Eric Anholt2007-10-0418-41/+33
| | | | | | | | In the process, fix some alignment issues: - Scratch space allocation was aligned into units of 1KB, while the allocation wanted units of bytes, so we never allocated enough space for scratch. - GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
* Replace bmBufferOffset usage in batchbuffer setup with OUT_RELOC.Eric Anholt2007-10-043-15/+29
| | | | This is in preparation for 965 TTM.
* Replace duplicated intel_reg.h with a shared header.Eric Anholt2007-10-047-167/+42
|
* Replace some structure-based batch preparation with plain OUT_BATCH.Eric Anholt2007-10-042-32/+29
| | | | | OUT_BATCH is far more amenable to the upcoming relocations being done for TTM support.
* FreeBSD: more /usr/X11R6->/usr/localEric Anholt2007-10-041-4/+4
|
* nouveau: Replace removed device classes with their proper labels.Maarten Maathuis2007-10-041-33/+33
|
* minor fog calc cleanupRoland Scheidegger2007-10-031-12/+8
|
* i915: Only align texture pitch to 64 bytes when textures can be render targets.Michel Dänzer2007-10-031-8/+16
|
* i915: Work around texture pitch related performance drops on i915 at least.Michel Dänzer2007-10-031-1/+10
|
* updated glext.h license info (Khronos), plus other clean-upsBrian2007-10-011-13/+16
|
* fix VBO-split infinite loop (bug 12164)Brian2007-09-291-4/+3
|
* r200: Implement SetTexOffset hook.Chris Rankin2007-09-295-32/+76
| | | | Implementation guidance by Michel Dänzer, final testing by Timo Aaltonen.
* add support for LDFLAGS env varDan Nicholson2007-09-2835-77/+87
|
* update the DRM/DRI instructionsBrian2007-09-281-36/+17
|
* Remove test for EXT_blend_logic_op in glGetString when determining GL version.Brian2007-09-282-2/+1
| | | | | EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode and does not have to be supported. Per conversation with Roland.
* Go back to using old drm_i915_flip_t field nameJesse Barnes2007-09-281-4/+4
| | | | | This field shouldn't have been renamed in the first place. Go back to using the old name so that the tree is backward and forward compatible again.
* [965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.Eric Anholt2007-09-2711-851/+1001
|
* FreeBSD: Chase /usr/X11R6 death (replaced by everything in one prefix).Eric Anholt2007-09-271-2/+2
|
* Revert "WIP 965 conversion to dri_bufmgr."Eric Anholt2007-09-2726-220/+1617
| | | | | | | This reverts commit b2f1aa2389473ed09170713301b042661d70a48e. Somehow I ended up with my branch's save-this-while-I-work-on-master commit actually on master.
* WIP 965 conversion to dri_bufmgr.Eric Anholt2007-09-2726-1617/+220
|
* [965] Remove AUB file support.Eric Anholt2007-09-2723-1244/+42
| | | | | This code existed to dump logs of hardware access to be replayed in simulation. Since we have real hardware now, it's not really needed.
* for Miniglx, use git sourcesBrian2007-09-271-0/+6
|
* Restore old _TriangleCaps code to fix Blender problem (bug 12164)Brian2007-09-277-1/+79
|
* tweak point rast to fix conform failureBrian2007-09-271-4/+6
|
* i965: handle all unfilled mode in clip stage. fix bug #12453Xiang, Haihao2007-09-271-0/+4
|
* mesa: make sure the gotten value isn't greater than theXiang, Haihao2007-09-271-2/+5
| | | | max depth buffer value on 64bit system. fix bug #12095
* fix ppracer and bzflag issue with clip optimizationZou Nan hai2007-09-271-1/+0
|
* i915/i965 merge serer directories along lines for radeon/r200Dave Airlie2007-09-276-1896/+33
|
* i965: The cube map texture coordinates must be devided by theXiang, Haihao2007-09-261-1/+51
| | | | | component with the largest absolute value before they are delivered. fix bug #12421
* fix a bug in 965 ARB_occlusion_query,Zou Nan hai2007-09-261-2/+2
| | | | fd.o bug #12132