summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Committed Rune Petersen's fragment.position patch (Bug #10024) plus a few smallOliver McFadden2007-03-154-70/+103
| | | | corrections.
* Fix off by one error in immediate state packet size.Keith Whitwell2007-03-151-1/+1
|
* clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205Brian2007-03-141-0/+6
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-03-1415-29/+54
|\
| * sync up t_vp_build.c brw_vs_tnl.c a bitRoland Scheidegger2007-03-131-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 driversRoland Scheidegger2007-03-138-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; notOliver McFadden2007-03-134-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 McFadden2007-03-133-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 McFadden2007-03-132-1/+3
| |
| * Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to eitherOliver McFadden2007-03-133-4/+4
| | | | | | | | R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
| * Guess another unknown register used for R300 pacification.Oliver McFadden2007-03-133-3/+7
| |
| * i915tex: Don't crash when intel_fb->color_rb[i] is NULL.Michel Dänzer2007-03-121-1/+5
| | | | | | | | This can be the case on some systems when running glxinfo.
* | move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205Brian2007-03-141-6/+3
|/
* r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.Alan Swanson2007-03-124-22/+22
|
* r200: Adapt cliprect fixes from r300.Alan Swanson2007-03-123-3/+6
|
* radeon: Adapt cliprect fixes from r300.Alan Swanson2007-03-123-5/+8
|
* fix for bug#10196Xiang, Haihao2007-03-111-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 Tahkola2007-03-114-5/+6
| | | | (Oliver McFadden)
* Renamed some of the unkXXX variables in the command buffer initOliver McFadden2007-03-113-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änzer2007-03-102-2/+3
|
* i915tex: Fix intel_wait_flips being declared implicitly.Michel Dänzer2007-03-101-0/+1
|
* i915tex: Fix build against released version of libdrm.Michel Dänzer2007-03-101-0/+17
|
* nouveau: fix nv04 swtcl.Stephane Marchesin2007-03-101-0/+1
|
* nouveau: fix the nv04 swtcl code.Stephane Marchesin2007-03-101-1/+1
|
* nouveau: oops don't debug by default.Stephane Marchesin2007-03-101-1/+1
|
* nouveau: some fixes to the nv04 state code.Stephane Marchesin2007-03-101-13/+15
|
* nouveau: add a fifo size debug check.Stephane Marchesin2007-03-102-3/+23
|
* Merge branch 'i915tex-pageflip'Michel Dänzer2007-03-1012-304/+608
|\
| * i915tex: Wait for pending scheduled flips before switching vsync pipe.Michel Dänzer2007-03-091-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änzer2007-03-091-1/+1
| |
| * i915tex: Sync pages between pipes immediately again.Michel Dänzer2007-03-091-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änzer2007-03-091-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änzer2007-03-071-10/+10
| | | | | | | | Fixes issues with apps that don't call glViewport by default.
| * i915tex: Sync pages differently when crossing pipe borders.Michel Dänzer2007-02-281-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änzer2007-02-281-2/+4
| |
| * i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip.Michel Dänzer2007-02-281-3/+3
| |
| * i915tex: Schedule flips when possible.Michel Dänzer2007-02-226-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änzer2007-02-207-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änzer2007-02-201-1/+1
| |
| * intelRotateWindow: Only use back buffer and cliprects in very specific cases.Michel Dänzer2007-02-201-7/+6
| |
| * intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests.Michel Dänzer2007-02-201-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änzer2007-02-2010-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änzer2007-02-207-46/+94
| |
* | r300: Also update window state when it's already bound but its stamp changed.Michel Dänzer2007-03-091-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änzer2007-03-071-3/+8
| | | | | | | | | | Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore.
* | fix renderbuffer mem leakBrian2007-03-061-0/+12
| |
* | formatting fixBrian2007-03-061-4/+2
| |
* | Fix/improve framebuffer object reference counting.Brian2007-03-0623-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änzer2007-03-063-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#10182Xiang, Haihao2007-03-064-4/+8
| | | | | | | | | | call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer in i810, i915, i915tex, i965 drivers.