summaryrefslogtreecommitdiffstats
path: root/src
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
| |
* | New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵Brian2007-03-093-6/+16
| | | | | | | | fix glGetTexImage(GL_LUMINANCE) bug #10232.
* | 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.
* | remove a if-statementXiang, Haihao2007-03-081-2/+1
| | | | | | | | | | | | glMaterial changes the current specular exponent or glLight changes the intensity distribution of the light, but _mesa_update_state doesn't update the corresponding light table. So they must be updated at this time.
* | Updates of the OpenVMS makefiles.J.Jansen2007-03-081-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -include missing definitions -add files to compile -remove files from compile list which are removed from the repositry -add support for vbo new file: src/mesa/vbo/descrip.mms modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
* | 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.
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-03-062-3/+3
|\ \
| * \ Merge branch 'master' of ssh+git://[email protected]/git/mesa/mesaIan Romanick2007-03-0663-650/+577
| |\ \
| * | | Fix cut-and-paste error in the name of GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB.Ian Romanick2007-03-062-3/+3
| | | |
* | | | explicit calls to _mesa_unreference_framebuffer() not always needed nowBrian2007-03-061-2/+0
| | | |
* | | | unreference old framebuffer, if needed, in _mesa_reference_framebuffer()Brian2007-03-061-0/+7
| | | |
* | | | fix renderbuffer mem leakBrian2007-03-061-0/+12
| | | |
* | | | formatting fixBrian2007-03-061-4/+2
| |/ / |/| |
* | | Fix/improve framebuffer object reference counting.Brian2007-03-0630-97/+101
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Take care of texObj reference in _mesa_free_framebuffer_data()Brian2007-03-061-6/+11
| | |
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-03-0615-192/+194
|\ \ \
| * | | 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
| * | | Propogate UsesKill information.Keith Whitwell2007-03-041-0/+1
| | | |
| * | | 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
| | | |
* | | | move oldFb decl into tighter scopesBrian2007-03-011-3/+3
|/ / /
* | | fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in generalBrian2007-03-011-33/+31
| | |
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-02-286-38/+64
|\ \ \
| * | | nouveau: drm interface changesBen Skeggs2007-02-286-38/+64
| | | |
* | | | fix commentBrian2007-02-271-2/+1
| | | |
* | | | assert that fb->RefCount==0 in _mesa_free_framebuffer_data()Brian2007-02-271-0/+1
|/ / /
* | | fix mem leakBrian2007-02-261-0/+1
| | |
* | | Rewrite code related to buffer destruction.Brian2007-02-263-74/+101
| | | | | | | | | | | | | | | Do proper reference counting so that we don't wind up with dangling references to deleted windows/framebuffers. Should help with bug 7205.
* | | if renderbuffer ptr is null, just returnBrian2007-02-261-9/+17
| | |
* | | Do proper framebuffer refcounting in _mesa_make_current().Brian2007-02-263-16/+38
| | | | | | | | | | | | | | | | | | Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object.
* | | s/pdp/prp/ in DoBindContext()Panagiotis Papadakos2007-02-261-1/+1
| | |