Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Committed Rune Petersen's fragment.position patch (Bug #10024) plus a few small | Oliver McFadden | 2007-03-15 | 4 | -70/+103 |
| | | | | corrections. | ||||
* | Fix off by one error in immediate state packet size. | Keith Whitwell | 2007-03-15 | 1 | -1/+1 |
| | |||||
* | clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205 | Brian | 2007-03-14 | 1 | -0/+6 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Brian | 2007-03-14 | 15 | -29/+54 |
|\ | |||||
| * | sync up t_vp_build.c brw_vs_tnl.c a bit | Roland Scheidegger | 2007-03-13 | 1 | -15/+12 |
| | | | | | | | | | | | | | | | | Bring over the optimizations for fog and normalized spot dir from t_vp_build.c to brw_vs_tnl.c. Likewise, port a fix for point size calc from brw_vs_tnl.c to t_vp_build.c (use ABS(eyez) instead of -eyez). Leave the now differing point size calcs alone though, not sure what's better (it's basically MOV, ABS, MUL, DP3 vs. ABS, MAD, MAD). | ||||
| * | enable ARB_vertex_buffer_object for more dri drivers | Roland Scheidegger | 2007-03-13 | 8 | -0/+16 |
| | | | | | | | | | | | | | | ARB_vertex_buffer_object looks like a useful extension even for old chips. The drivers should not need any code to be able to use this extension since they just use mesa's vbo code anyway. Newly enabled for i810, mach64, mga, r128, radeon, savage, sis and unichrome. | ||||
| * | r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; not | Oliver McFadden | 2007-03-13 | 4 | -11/+11 |
| | | | | | | | | enough information is known about them to be sure as to what the values mean. | ||||
| * | Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT. | Oliver McFadden | 2007-03-13 | 3 | -3/+5 |
| | | | | | | | | | | | | Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these values are really unknown; ideally more reverse engineering should be done to determine what these values mean and when they should be set. | ||||
| * | Documented the value written for R300_TX_CNTL cache flush. | Oliver McFadden | 2007-03-13 | 2 | -1/+3 |
| | | |||||
| * | Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either | Oliver McFadden | 2007-03-13 | 3 | -4/+4 |
| | | | | | | | | R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values. | ||||
| * | Guess another unknown register used for R300 pacification. | Oliver McFadden | 2007-03-13 | 3 | -3/+7 |
| | | |||||
| * | i915tex: Don't crash when intel_fb->color_rb[i] is NULL. | Michel Dänzer | 2007-03-12 | 1 | -1/+5 |
| | | | | | | | | This can be the case on some systems when running glxinfo. | ||||
* | | move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205 | Brian | 2007-03-14 | 1 | -6/+3 |
|/ | |||||
* | r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300. | Alan Swanson | 2007-03-12 | 4 | -22/+22 |
| | |||||
* | r200: Adapt cliprect fixes from r300. | Alan Swanson | 2007-03-12 | 3 | -3/+6 |
| | |||||
* | radeon: Adapt cliprect fixes from r300. | Alan Swanson | 2007-03-12 | 3 | -5/+8 |
| | |||||
* | fix for bug#10196 | Xiang, Haihao | 2007-03-11 | 1 | -1/+8 |
| | | | | | Compute half if LOCAL_VIEWER is enabled and the light is a directional source. | ||||
* | Guess another unknown register in R300 command buffer initialization. ↵ | Aapo Tahkola | 2007-03-11 | 4 | -5/+6 |
| | | | | (Oliver McFadden) | ||||
* | Renamed some of the unkXXX variables in the command buffer init | Oliver McFadden | 2007-03-11 | 3 | -72/+73 |
| | | | | | | | | | | | | ialization code. Note that there are still plenty of actual unknown variables left that should probably be deciphered. There are a number of things incomplete in the driver; the different polygon offset modes (line, point, etc), the other texture filter, texture chroma key, etc. These should probably be fixed in the future, or at least added to the TODO list. | ||||
* | i915tex: Fix build against libdrm git... | Michel Dänzer | 2007-03-10 | 2 | -2/+3 |
| | |||||
* | i915tex: Fix intel_wait_flips being declared implicitly. | Michel Dänzer | 2007-03-10 | 1 | -0/+1 |
| | |||||
* | i915tex: Fix build against released version of libdrm. | Michel Dänzer | 2007-03-10 | 1 | -0/+17 |
| | |||||
* | nouveau: fix nv04 swtcl. | Stephane Marchesin | 2007-03-10 | 1 | -0/+1 |
| | |||||
* | nouveau: fix the nv04 swtcl code. | Stephane Marchesin | 2007-03-10 | 1 | -1/+1 |
| | |||||
* | nouveau: oops don't debug by default. | Stephane Marchesin | 2007-03-10 | 1 | -1/+1 |
| | |||||
* | nouveau: some fixes to the nv04 state code. | Stephane Marchesin | 2007-03-10 | 1 | -13/+15 |
| | |||||
* | nouveau: add a fifo size debug check. | Stephane Marchesin | 2007-03-10 | 2 | -3/+23 |
| | |||||
* | Merge branch 'i915tex-pageflip' | Michel Dänzer | 2007-03-10 | 12 | -304/+608 |
|\ | |||||
| * | i915tex: Wait for pending scheduled flips before switching vsync pipe. | Michel Dänzer | 2007-03-09 | 1 | -0/+19 |
| | | | | | | | | | | This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates. | ||||
| * | i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for. | Michel Dänzer | 2007-03-09 | 1 | -1/+1 |
| | | |||||
| * | i915tex: Sync pages between pipes immediately again. | Michel Dänzer | 2007-03-09 | 1 | -2/+12 |
| | | | | | | | | | | | | This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction incorrectly and should also work correctly with applications that render to the front buffer. | ||||
| * | i915tex: Do not wait for pending flips on both pipes at the same time. | Michel Dänzer | 2007-03-09 | 1 | -9/+4 |
| | | | | | | | | | | | | The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled. | ||||
| * | i915tex: Set framebuffer size to match window before calling _mesa_make_current. | Michel Dänzer | 2007-03-07 | 1 | -10/+10 |
| | | | | | | | | Fixes issues with apps that don't call glViewport by default. | ||||
| * | i915tex: Sync pages differently when crossing pipe borders. | Michel Dänzer | 2007-02-28 | 1 | -12/+18 |
| | | | | | | | | | | Don't flip (up to twice) immediately but just arrange things such that the pages will be in sync on both pipes on the next flip. | ||||
| * | i915tex: Check that intel_rb is valid before trying to add it to an fbo. | Michel Dänzer | 2007-02-28 | 1 | -2/+4 |
| | | |||||
| * | i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip. | Michel Dänzer | 2007-02-28 | 1 | -3/+3 |
| | | |||||
| * | i915tex: Schedule flips when possible. | Michel Dänzer | 2007-02-22 | 6 | -179/+228 |
| | | | | | | | | | | Also move vsync related state from context to window, so it's possible to schedule several flips ahead of time with triple buffering. | ||||
| * | i915tex: Triple buffering support, only effective with page flipping so far. | Michel Dänzer | 2007-02-20 | 7 | -63/+166 |
| | | | | | | | | | | | | Pending flips are tracked per renderbuffer and the colour renderbuffer attachments of window framebuffer objects are rotated on flips to avoid stalling the pipeline for pending flips unnecessarily. | ||||
| * | intelWindowMoved: Some debugging output was accidentally left always enabled. | Michel Dänzer | 2007-02-20 | 1 | -1/+1 |
| | | |||||
| * | intelRotateWindow: Only use back buffer and cliprects in very specific cases. | Michel Dänzer | 2007-02-20 | 1 | -7/+6 |
| | | |||||
| * | intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests. | Michel Dänzer | 2007-02-20 | 1 | -17/+4 |
| | | | | | | | | | | | | | | intel_get_rb_region already takes the current page into account. This would result in broken rendering when multiple 3D windows are visible and the pages are reversed. | ||||
| * | i915tex: Support page flipping on both CRTCs independently. | Michel Dänzer | 2007-02-20 | 10 | -117/+203 |
| | | | | | | | | | | No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows. | ||||
| * | i915tex: Make page flipping work again. | Michel Dänzer | 2007-02-20 | 7 | -46/+94 |
| | | |||||
* | | r300: Also update window state when it's already bound but its stamp changed. | Michel Dänzer | 2007-03-09 | 1 | -4/+4 |
| | | | | | | | | | | | | | | And set new cliprects before deriving other state from them. This ensures cliprects aren't accessed after having been freed. Thanks to Panagiotis Papadakos for testing various iterations of this. | ||||
* | | i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout. | Michel Dänzer | 2007-03-07 | 1 | -3/+8 |
| | | | | | | | | | | Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore. | ||||
* | | fix renderbuffer mem leak | Brian | 2007-03-06 | 1 | -0/+12 |
| | | |||||
* | | formatting fix | Brian | 2007-03-06 | 1 | -4/+2 |
| | | |||||
* | | Fix/improve framebuffer object reference counting. | Brian | 2007-03-06 | 23 | -33/+25 |
| | | | | | | | | | | | | | | Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate. | ||||
* | | r300: Call radeonSetCliprects from radeonMakeCurrent. | Michel Dänzer | 2007-03-06 | 3 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | Based on a patch by Panagiotis Papadakos. Among other things, this makes sure the framebuffer object associated with the drawable has the correct size when _mesa_make_current is called, so the default viewport is set up correctly. Also update radeon->lastStamp in radeonSetCliprects. | ||||
* | | fix for bug#10182 | Xiang, Haihao | 2007-03-06 | 4 | -4/+8 |
| | | | | | | | | | | call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer in i810, i915, i915tex, i965 drivers. |