aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Use the mesa-provided texenv program rather than rolling our own.Keith Whitwell2006-10-104-1/+21
| | | | Turn on texture crossbar support.
* missing fileKeith Whitwell2006-10-051-0/+132
|
* Accelerate glBitmap with a color expand blit. Nice speedup for demosKeith Whitwell2006-10-057-5/+477
| | | | like 'fire' that display a help message or fps number this way.
* Quieten debug message.Keith Whitwell2006-10-051-1/+1
|
* eliminate rhw divide under some circumstancesKeith Whitwell2006-10-053-18/+32
|
* Quieten debug message.Keith Whitwell2006-10-051-0/+2
|
* Bugzilla 6242: [mach64] Use private DMA buffers (only)Felix Kuehling2006-10-024-23/+27
| | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=6242 Patch by George Sapountzis: https://bugs.freedesktop.org/attachment.cgi?id=6271 Update to new mach64 DRM 2.0.0 with private DMA buffers. Handle EAGAIN in mach64FireBlitLocked: call drmCommandWrite up to MACH64_TIMEOUT times when EAGAIN is returned. Also handle EAGAIN in mach64FlushVerticesLocked.
* i915: Fix wait for scheduled swap on secondary display.Michel Dänzer2006-09-291-0/+5
|
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-292-0/+2
| | | | mipmap.c file.
* Synchronize drawable to the pipe where the bigger part can be visible.Michel Dänzer2006-09-281-0/+30
| | | | | This requires the DDX driver to set the corresponding fields in the SAREA, so check its minor version.
* Add new I830 SAREA fields.Michel Dänzer2006-09-281-0/+15
|
* Add helper function that returns the current vblank sequence of a drawable.Michel Dänzer2006-09-282-0/+23
|
* Add helper function to calculate the area of the intersection of two rectangles.Michel Dänzer2006-09-282-0/+15
|
* i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.Michel Dänzer2006-09-281-0/+4
|
* i915: Attempt to schedule buffer swap on target vertical blank when possible.Michel Dänzer2006-09-282-79/+122
| | | | | | | | | | | This has some advantages over the traditional way of first waiting for the target vertical blank and then emitting the buffer swap, e.g. * glXSwapBuffers returns immediately, only the next time the driver needs the hardware lock will it block until the target vertical blank. This should allow applications that don't intermix rendering and other processing to start processing for the next frame right away. * It's less likely to produce tearing.
* Add driGetVBlankInterval() helper function.Michel Dänzer2006-09-282-14/+27
| | | | | This can be used by drivers to determine the current swap interval of a drawable.
* driWaitForVBlank: Add support for secondary vertical blank.Michel Dänzer2006-09-282-2/+10
|
* Some restructuring of the driWaitForVBlank() code.Michel Dänzer2006-09-281-23/+27
| | | | | Also some minor fixes for detecting when the deadline is met or missed, in particular wrt wraparounds of the sequence number.
* Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer2006-09-2810-23/+37
| | | | | This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
* Remove r200 dependencyJerome Glisse2006-09-263-64/+2
| | | | | | Remove r200 dependency from the code as r200 merged driver never worked (right ?) and we want to clean the code.
* Remove r200 dependency.Jerome Glisse2006-09-261-15/+1
| | | | Remove r200*.h files dependency.
* Fixup one place where attrsz was being used instead of active_szKeith Whitwell2006-09-251-1/+1
|
* fix the broken fallback string/debug stuffBrian Paul2006-09-221-19/+44
|
* remove extra indentationBrian Paul2006-09-221-98/+98
|
* fix up access to vertex attrib components which don't really exist but are ↵Roland Scheidegger2006-09-221-1/+39
| | | | defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
* Explicit test for +ve pitches in intelEmitCopyBlit()Keith Whitwell2006-09-221-8/+4
|
* Do a better job of choosing texture formats to avoid image conversions.Keith Whitwell2006-09-211-5/+16
|
* use the requested internal texture format where possibleKeith Whitwell2006-09-212-12/+32
|
* Catch a couple of cases where we would have to delete and recreate theKeith Whitwell2006-09-211-3/+6
| | | | miptree object.
* try to use a 8888 texture format which will result in only a memcopy in ↵Roland Scheidegger2006-09-205-23/+171
| | | | mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
* Add a comment about the interactions of negative pitches, overlappingKeith Whitwell2006-09-201-0/+8
| | | | blits and the different ways of specifying a blit on this hardware.
* remove some dead codeKeith Whitwell2006-09-203-39/+0
|
* Fix some warningsKeith Whitwell2006-09-201-1/+2
|
* fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵Roland Scheidegger2006-09-201-4/+89
| | | | (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).
* Support ARB_texture_rectangle.Keith Whitwell2006-09-205-4/+49
|
* 1) Add a new flag in the sarea (coopting the unused texAge value) toKeith Whitwell2006-09-205-8/+39
| | | | | | | | | | identify context switches between members of a share group - ie. multiple contexts in a single application, possibly on different threads. In this case the contexts share a bufmgr instance and there is no need to evict textures - so don't. 2) Use a new flag 'need_flush' to ensure hardware rendering is flushed prior to starting a software fallback.
* Broadwater seems to prefer this style of blitting.Keith Whitwell2006-09-201-4/+1
|
* make current GLX context per-threadBrian Paul2006-09-201-4/+33
|
* fix a memleak in DestroyContext()Brian Paul2006-09-201-5/+6
|
* add accelerated glCopyPixels pathKeith Whitwell2006-09-204-23/+256
|
* restore debug output after brw_wm_fp compilation stageKeith Whitwell2006-09-202-1/+23
|
* Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.Keith Whitwell2006-09-201-1/+1
|
* change make depend output redirection to 2>&1 (bug 8344)Brian Paul2006-09-181-1/+1
|
* Fallback if ColorLogicOp is enabled. Cleanup a bit the fallbackJerome Glisse2006-09-141-29/+53
| | | | function.
* Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.Michel Dänzer2006-09-141-2/+0
|
* VS nr of urb entries is constrained to be one of a fixed set of values,Keith Whitwell2006-09-141-2/+2
| | | | specifically {8,16,32}.
* always use argb8888 instead of rgba8888, this is far more likely to hit a ↵Roland Scheidegger2006-09-131-4/+4
| | | | faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)
* Always mark tex state atom as dirty when the texture image is dirty, this ↵Roland Scheidegger2006-09-132-8/+13
| | | | ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200).
* don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵Roland Scheidegger2006-09-132-5/+8
| | | | we call the blend/logic op functions. Fixes glean logicOp test on r200.
* fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting ↵Roland Scheidegger2006-09-132-5/+9
| | | | is not enabled (?). This fixes demos/cubemap as well as glean texCube test.