Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps. | Michel Dänzer | 2006-09-28 | 1 | -0/+4 |
| | |||||
* | i915: Attempt to schedule buffer swap on target vertical blank when possible. | Michel Dänzer | 2006-09-28 | 2 | -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änzer | 2006-09-28 | 2 | -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änzer | 2006-09-28 | 2 | -2/+10 |
| | |||||
* | Some restructuring of the driWaitForVBlank() code. | Michel Dänzer | 2006-09-28 | 1 | -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änzer | 2006-09-28 | 10 | -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 dependency | Jerome Glisse | 2006-09-26 | 3 | -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 Glisse | 2006-09-26 | 1 | -15/+1 |
| | | | | Remove r200*.h files dependency. | ||||
* | Fixup one place where attrsz was being used instead of active_sz | Keith Whitwell | 2006-09-25 | 1 | -1/+1 |
| | |||||
* | fix the broken fallback string/debug stuff | Brian Paul | 2006-09-22 | 1 | -19/+44 |
| | |||||
* | remove extra indentation | Brian Paul | 2006-09-22 | 1 | -98/+98 |
| | |||||
* | fix up access to vertex attrib components which don't really exist but are ↵ | Roland Scheidegger | 2006-09-22 | 1 | -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 Whitwell | 2006-09-22 | 1 | -8/+4 |
| | |||||
* | Do a better job of choosing texture formats to avoid image conversions. | Keith Whitwell | 2006-09-21 | 1 | -5/+16 |
| | |||||
* | use the requested internal texture format where possible | Keith Whitwell | 2006-09-21 | 2 | -12/+32 |
| | |||||
* | Catch a couple of cases where we would have to delete and recreate the | Keith Whitwell | 2006-09-21 | 1 | -3/+6 |
| | | | | miptree object. | ||||
* | try to use a 8888 texture format which will result in only a memcopy in ↵ | Roland Scheidegger | 2006-09-20 | 5 | -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, overlapping | Keith Whitwell | 2006-09-20 | 1 | -0/+8 |
| | | | | blits and the different ways of specifying a blit on this hardware. | ||||
* | remove some dead code | Keith Whitwell | 2006-09-20 | 3 | -39/+0 |
| | |||||
* | Fix some warnings | Keith Whitwell | 2006-09-20 | 1 | -1/+2 |
| | |||||
* | fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵ | Roland Scheidegger | 2006-09-20 | 1 | -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 Whitwell | 2006-09-20 | 5 | -4/+49 |
| | |||||
* | 1) Add a new flag in the sarea (coopting the unused texAge value) to | Keith Whitwell | 2006-09-20 | 5 | -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 Whitwell | 2006-09-20 | 1 | -4/+1 |
| | |||||
* | make current GLX context per-thread | Brian Paul | 2006-09-20 | 1 | -4/+33 |
| | |||||
* | fix a memleak in DestroyContext() | Brian Paul | 2006-09-20 | 1 | -5/+6 |
| | |||||
* | add accelerated glCopyPixels path | Keith Whitwell | 2006-09-20 | 4 | -23/+256 |
| | |||||
* | restore debug output after brw_wm_fp compilation stage | Keith Whitwell | 2006-09-20 | 2 | -1/+23 |
| | |||||
* | Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps. | Keith Whitwell | 2006-09-20 | 1 | -1/+1 |
| | |||||
* | change make depend output redirection to 2>&1 (bug 8344) | Brian Paul | 2006-09-18 | 1 | -1/+1 |
| | |||||
* | Fallback if ColorLogicOp is enabled. Cleanup a bit the fallback | Jerome Glisse | 2006-09-14 | 1 | -29/+53 |
| | | | | function. | ||||
* | Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian. | Michel Dänzer | 2006-09-14 | 1 | -2/+0 |
| | |||||
* | VS nr of urb entries is constrained to be one of a fixed set of values, | Keith Whitwell | 2006-09-14 | 1 | -2/+2 |
| | | | | specifically {8,16,32}. | ||||
* | always use argb8888 instead of rgba8888, this is far more likely to hit a ↵ | Roland Scheidegger | 2006-09-13 | 1 | -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 Scheidegger | 2006-09-13 | 2 | -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 Scheidegger | 2006-09-13 | 2 | -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 Scheidegger | 2006-09-13 | 2 | -5/+9 |
| | | | | is not enabled (?). This fixes demos/cubemap as well as glean texCube test. | ||||
* | make sure we upload the new vertex program if the program string changes. | Roland Scheidegger | 2006-09-13 | 1 | -0/+2 |
| | |||||
* | make triangle smoothing a sw fallback (Martign van Oosterhout) | Brian Paul | 2006-09-13 | 1 | -1/+1 |
| | |||||
* | Fix compilation warning. | Jerome Glisse | 2006-09-12 | 1 | -9/+12 |
| | |||||
* | Removing some of r200 dependency, cleaning up code a bit, | Jerome Glisse | 2006-09-12 | 11 | -191/+142 |
| | | | | | | | and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300). | ||||
* | quieten debug | Keith Whitwell | 2006-09-12 | 2 | -4/+4 |
| | |||||
* | Potential fix for doom3 lockups. Seems that there is a conflict | Keith Whitwell | 2006-09-12 | 3 | -6/+7 |
| | | | | | | | | | | between the vertex cache, the vertex shader and the clipping stages, all of which are competitors for URB entries assigned to the VS unit. This change reduces the maximum number of clip and VS threads by enough to ensure that they cannot consume all the available URB entries, and then reduces the number somewhat more up to an arbitary amount I discovered by trial and error. Unfortunately trial and error solutions don't inspire total confidence... | ||||
* | Disassemble active program when DEBUG_VS is set. | Keith Whitwell | 2006-09-12 | 1 | -0/+7 |
| | |||||
* | Add code to tweak aubfile state and primitives on replay. | Keith Whitwell | 2006-09-12 | 1 | -14/+296 |
| | |||||
* | Encode a unique id in the aub header date fields. | Keith Whitwell | 2006-09-12 | 1 | -4/+8 |
| | |||||
* | remove code to deal with non-normalized texture coordinates for tex rect ↵ | Roland Scheidegger | 2006-09-10 | 5 | -168/+42 |
| | | | | targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles). | ||||
* | don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel | Brian Paul | 2006-09-10 | 1 | -1/+2 |
| | |||||
* | cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv ↵ | Roland Scheidegger | 2006-09-10 | 1 | -0/+3 |
| | | | | conversion appears only to work on first unit. | ||||
* | Basic facility for playing back captured aubfiles. Requires a small | Keith Whitwell | 2006-09-08 | 8 | -0/+201 |
| | | | | | | hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring. |