aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Replace symlink generation from i915 with files in intel/ and symlinks there.Eric Anholt2007-10-168-1322/+1312
|
* 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.
* faster write_rgba_span_front()Andreas Micheler2007-10-151-17/+78
|
* Merge branch 'dri2'Kristian Høgsberg2007-10-1235-1284/+719
|\ | | | | | | | | | | 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-113-8/+9
| |
| * Move new texOffset extension to the new extension mechanism.Kristian Høgsberg2007-10-113-8/+11
| |
| * Convert a left-over private void * to __DRIcontext *.Kristian Høgsberg2007-10-111-3/+3
| |
| * Add a DRI_ReadDrawable marker extension to signal read drawable capability.Kristian Høgsberg2007-10-1111-40/+27
| |
| * Move media stream counter entry points to new extension.Kristian Høgsberg2007-10-1113-80/+32
| |
| * Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism.Kristian Høgsberg2007-10-1113-20/+23
| |
| * Move GLX_MESA_allocate_memory related functions to new extension mechanism.Kristian Høgsberg2007-10-113-11/+25
| |
| * Move swap_interval to new extension mechanism.Kristian Høgsberg2007-10-1015-30/+76
| |
| * Move the copySubBuffer extension over to the new mechanism.Kristian Høgsberg2007-10-105-11/+38
| |
| * Implement new screen extension API.Kristian Høgsberg2007-10-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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-102-16/+0
| |
| * 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-101-37/+37
| | | | | | | | | | | | | | | | | | | | 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-109-47/+38
| | | | | | | | | | | | | | | | | | | | | | | | 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 createContext and destroyContext from DRIinterfaceMethods.Kristian Høgsberg2007-10-102-16/+3
| | | | | | | | | | | | | | | | | | | | 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-103-19/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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-1020-290/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Remove XIDs from DRI interface (see #5714).Kristian Høgsberg2007-10-053-188/+17
| |
* | Merge branch 'master' into i915-superioctlDave Airlie2007-10-1232-369/+301
|\ \
| * | fix force_s3tc_enable optionMrc Gran2007-10-101-1/+1
| | |
| * | i915: Fix undefined ALIGN symbol from 77e0523fb7769df4bf43747e136b1653b2421b97.Sergio Monteiro Basto2007-10-081-0/+1
| | |
| * | r300: fragprog tex instruction now take writemask into acount.Jerome Glisse2007-10-071-1/+5
| | |
| * | nouveau: move nv10 clear command, for usage by other gpuPatrice Mandin2007-10-064-83/+115
| |/
| * [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.
| * nouveau: Replace removed device classes with their proper labels.Maarten Maathuis2007-10-041-33/+33
| |
| * 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
| |
* | i915: only enable TTM path if drm minor is > 11 for superioctlDave Airlie2007-10-121-0/+1
| |
* | dri: remove ttm common code since superioctl is device specificDave Airlie2007-10-121-598/+0
| |
* | i915: fixup reloc header definesDave Airlie2007-10-121-4/+4
| |
* | i915: workout max relocs from batch buffer sizeDave Airlie2007-10-093-19/+22
| |
* | i915: fixup up bufmgr to pass num buffers to kernelDave Airlie2007-10-098-109/+26
| | | | | | | | remove unneeded entry points
* | i915: drop complex list handling for nowDave Airlie2007-10-051-66/+3
| | | | | | | | | | If this proves a win later we can add it back but at the moment I don't think it's required yet
* | i915: clean up lists on teardownDave Airlie2007-10-051-3/+4
| | | | | | | | also fix a use of uninitialised pointer
* | i915: add copyrights to new filesDave Airlie2007-10-051-0/+2
| |
* | i915: increase batchbuffer back to 16kDave Airlie2007-10-051-2/+1
| |
* | i915: add superioctl support to the ttm codepaths.Dave Airlie2007-10-0411-96/+135
| | | | | | | | | | gears now runs for about 10-15 seconds with some artifacts before falling over.
* | i915: add superioctl initial support inside bufmgr ttmDave Airlie2007-10-0310-18/+1016
| |