aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* 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/improve framebuffer object reference counting.Brian2007-03-0618-26/+18
| | | | | | | | | | | | | | 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.
* | fix for bug#9971Xiang, Haihao2007-03-051-0/+1
| | | | | | | | call swsetup_Wakeup before falling back to software rendering
* | r300: Use register name & add a register about shading.Christoph Bill2007-03-012-9/+13
| |
* | r300: Use reg definition when available & add missing reg definition.Christoph Bill2007-03-013-3/+9
| |
* | Add early register descritpion.Christoph Bill2007-03-012-7/+11
| | | | | | | | | | | | This need more work on case where we can disable or enable early (stencil, alpha might need it to be disable).
* | Optimize cos&sin instruction a bit more.Rune Petersen2007-03-011-168/+146
| |
* | nouveau: drm interface changesBen Skeggs2007-02-286-38/+64
| |
* | s/pdp/prp/ in DoBindContext()Panagiotis Papadakos2007-02-261-1/+1
| |
* | add missing param to _mesa_warning()Panagiotis Papadakos2007-02-261-1/+1
| |
* | Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).Brian2007-02-241-2/+10
| | | | | | | | | | | | | | | | In i915_miptree_layout() change the width, height parameters that are passed to intel_miptree_set_level_info(). As it was, the width, height values were larger than the source image dimensions and we segfaulted in memcpy() when copying the original texture data into the texture buffer region. This fix should probably be checked by someone more familiar with the code (Keith?)
* | clean-up, comment codeBrian2007-02-241-2/+7
| |
* | make src ptr constBrian2007-02-242-3/+4
| |
* | r200 fix broken (by new input handling) fogcoordRoland Scheidegger2007-02-231-2/+2
| |
* | r300: get rid of CB_DPATH legacyDave Airlie2007-02-223-188/+0
| |
* | nouveau: nv10: grr, ctx->DrawBuffer invalid?Patrice Mandin2007-02-201-3/+3
| |
* | nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScalePatrice Mandin2007-02-201-7/+12
| |
* | nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bitsPatrice Mandin2007-02-201-6/+6
| |
* | Fix parallel make in r300 driver.Adam Jackson2007-02-201-2/+4
|/
* i915tex: Fix performance regression with new vbo code and latest drm.Thomas Hellstrom2007-02-191-1/+4
| | | | | | | With current memory preferences, vbos ended up in AGP space where reading from them got a bit slow. Make sure buffer objects are initially created in system memory.
* nouveau: nv50: updatePatrice Mandin2007-02-161-1/+75
|
* nouveau: nv10,20: wrong viewport clip setupPatrice Mandin2007-02-162-2/+6
|
* nouveau: nv20: texture matrixPatrice Mandin2007-02-161-1/+4
|
* nouveau: nv20: updatePatrice Mandin2007-02-161-32/+176
|
* nouveau: nv10: set clear value for 16 and 24 bits depthPatrice Mandin2007-02-161-4/+15
|
* nouveau: nv10: rescale depth near and farPatrice Mandin2007-02-161-2/+8
|
* nouveau: nv10: fix viewport scale and originPatrice Mandin2007-02-161-12/+33
|
* r300: Fix cos & add scs to fragment program.Rune Peterson2007-02-142-88/+184
| | | | | | | | | | So this do : - Fixes COS. - Does range reductions for SIN & COS. - Adds SCS. - removes the optimized version of SIN & COS. - tweaked weight (should help on precision). - fixed a copy paste typo in emit_arith().
* nouveau: nv10: there are 8 clipping regionsPatrice Mandin2007-02-141-1/+1
|
* i915tex: Take into account various mapping states when dropping theThomas Hellstrom2007-02-141-2/+13
| | | | batch buffer after a resolution / rotation switch.
* I965: fix a failure on waiting irq.Xiang, Haihao2007-02-121-1/+2
| | | | | Wait until getting the right fence if drm/i915 resets the counter.