Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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/improve framebuffer object reference counting. | Brian | 2007-03-06 | 18 | -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ä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. | ||||
* | | fix for bug#9971 | Xiang, Haihao | 2007-03-05 | 1 | -0/+1 |
| | | | | | | | | call swsetup_Wakeup before falling back to software rendering | ||||
* | | r300: Use register name & add a register about shading. | Christoph Bill | 2007-03-01 | 2 | -9/+13 |
| | | |||||
* | | r300: Use reg definition when available & add missing reg definition. | Christoph Bill | 2007-03-01 | 3 | -3/+9 |
| | | |||||
* | | Add early register descritpion. | Christoph Bill | 2007-03-01 | 2 | -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 Petersen | 2007-03-01 | 1 | -168/+146 |
| | | |||||
* | | nouveau: drm interface changes | Ben Skeggs | 2007-02-28 | 6 | -38/+64 |
| | | |||||
* | | s/pdp/prp/ in DoBindContext() | Panagiotis Papadakos | 2007-02-26 | 1 | -1/+1 |
| | | |||||
* | | add missing param to _mesa_warning() | Panagiotis Papadakos | 2007-02-26 | 1 | -1/+1 |
| | | |||||
* | | Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting). | Brian | 2007-02-24 | 1 | -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 code | Brian | 2007-02-24 | 1 | -2/+7 |
| | | |||||
* | | make src ptr const | Brian | 2007-02-24 | 2 | -3/+4 |
| | | |||||
* | | r200 fix broken (by new input handling) fogcoord | Roland Scheidegger | 2007-02-23 | 1 | -2/+2 |
| | | |||||
* | | r300: get rid of CB_DPATH legacy | Dave Airlie | 2007-02-22 | 3 | -188/+0 |
| | | |||||
* | | nouveau: nv10: grr, ctx->DrawBuffer invalid? | Patrice Mandin | 2007-02-20 | 1 | -3/+3 |
| | | |||||
* | | nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScale | Patrice Mandin | 2007-02-20 | 1 | -7/+12 |
| | | |||||
* | | nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bits | Patrice Mandin | 2007-02-20 | 1 | -6/+6 |
| | | |||||
* | | Fix parallel make in r300 driver. | Adam Jackson | 2007-02-20 | 1 | -2/+4 |
|/ | |||||
* | i915tex: Fix performance regression with new vbo code and latest drm. | Thomas Hellstrom | 2007-02-19 | 1 | -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: update | Patrice Mandin | 2007-02-16 | 1 | -1/+75 |
| | |||||
* | nouveau: nv10,20: wrong viewport clip setup | Patrice Mandin | 2007-02-16 | 2 | -2/+6 |
| | |||||
* | nouveau: nv20: texture matrix | Patrice Mandin | 2007-02-16 | 1 | -1/+4 |
| | |||||
* | nouveau: nv20: update | Patrice Mandin | 2007-02-16 | 1 | -32/+176 |
| | |||||
* | nouveau: nv10: set clear value for 16 and 24 bits depth | Patrice Mandin | 2007-02-16 | 1 | -4/+15 |
| | |||||
* | nouveau: nv10: rescale depth near and far | Patrice Mandin | 2007-02-16 | 1 | -2/+8 |
| | |||||
* | nouveau: nv10: fix viewport scale and origin | Patrice Mandin | 2007-02-16 | 1 | -12/+33 |
| | |||||
* | r300: Fix cos & add scs to fragment program. | Rune Peterson | 2007-02-14 | 2 | -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 regions | Patrice Mandin | 2007-02-14 | 1 | -1/+1 |
| | |||||
* | i915tex: Take into account various mapping states when dropping the | Thomas Hellstrom | 2007-02-14 | 1 | -2/+13 |
| | | | | batch buffer after a resolution / rotation switch. | ||||
* | I965: fix a failure on waiting irq. | Xiang, Haihao | 2007-02-12 | 1 | -1/+2 |
| | | | | | Wait until getting the right fence if drm/i915 resets the counter. |