summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [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
|
* 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
|
* 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-284-8/+10
|
* 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
|
* 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.
* 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
* drm: update bufmgr code to reflect changes in drm interfaceDave Airlie2007-09-251-2/+2
|
* [i965] Bug #11812: Fix fwrite return value checks in AUB file code.Roland Bär2007-09-241-8/+8
|
* Remove leftover code for i915_texprog.c noticed in crossbar review.Eric Anholt2007-09-243-25/+0
|
* Move i915tex driver into place as just i915.Eric Anholt2007-09-2477-0/+0
|
* Remove the old i915 driver now that i915tex works without TTM.Eric Anholt2007-09-2448-21708/+0
|
* fix fd.o bug #12217, recalcuate urb when clip plane size changeZou Nan hai2007-09-241-1/+1
|
* fix DrawRangeElements error msgBrian2007-09-231-1/+1
|
* Merge branch 'i915-unification'Eric Anholt2007-09-2137-1686/+2069
|\ | | | | | | | | | | | | | | | | This branch replaces the DRM pool interface used by i915tex with a "dri_bufmgr" interface in dri/common which may be set up to use either TTM or traditional static memory management according to what is available. The i915tex TTM code now requires an updated DDX which provides proper buffer objects for the static front/back/depth, instead of using fake buffers. The driver is now built as i915_dri.so, and should replace the old i915 driver shortly.
| * Fix buffer/fence reference counting due to Destroy vs Unreference difference.Eric Anholt2007-09-211-7/+39
| | | | | | | | | | While here, remove the unnecessary fence type saving for the wait ioctl, as a 0 argument for type means "use your other saved copy".
| * Uniquely validate the batchbuffer-referenced buffers.Eric Anholt2007-09-201-1/+46
| | | | | | | | | | | | Otherwise, for multiple references by the batchbuffer, the kernel would see the buffer already on the unfenced list and wait for it to leave the list before continuing, leading to hanging and eventual -EBUSY.
| * Add disabled-by-default tracing of TTM bufmgr operations.Eric Anholt2007-09-201-0/+34
| |
| * Fix flipped sign to strerror.Eric Anholt2007-09-201-2/+2
| |
| * Merge branch 'master' into i915-unificationEric Anholt2007-09-20275-7263/+12291
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/i915_vtbl.c src/mesa/drivers/dri/i915tex/intel_batchbuffer.c src/mesa/drivers/dri/i915tex/intel_context.c
| * | Add some error reporting and a couple of assertions to TTM bufmgr.Eric Anholt2007-09-181-0/+8
| | |
| * | Convert TTM code to require the server provide buffers for front/back/depth.Eric Anholt2007-08-167-81/+121
| | | | | | | | | | | | | | | | | | This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
| * | Move i915_disasm to later so we can use the hardware offset.Eric Anholt2007-08-161-3/+7
| | |
| * | Fix bad printf on TTM fence_wait failure.Eric Anholt2007-08-161-1/+1
| | |
| * | Don't forget to update buffer offset after validation.Eric Anholt2007-08-161-0/+2
| | |
| * | Add decode for XY_COLOR_BLT and XY_SRC_COPY_BLT.Eric Anholt2007-08-161-2/+85
| | |
| * | Don't try to use kernel BO flags in dri_bufmgr_fake internals.Eric Anholt2007-08-021-9/+10
| | |
| * | bufmgr_fake: eliminate the referenced list, which is now just on_hardware.Eric Anholt2007-07-311-41/+8
| | |
| * | Don't initialize extensions we can't support when !ttm.Eric Anholt2007-07-311-2/+9
| | |
| * | Add notes about bufmgr initialization failures.Eric Anholt2007-07-252-0/+3
| | |