summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2007-03-10Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵Brian
into glsl-compiler-1
2007-03-10i915tex: Fix build against libdrm git...Michel Dänzer
2007-03-10i915tex: Fix intel_wait_flips being declared implicitly.Michel Dänzer
2007-03-10i915tex: Fix build against released version of libdrm.Michel Dänzer
2007-03-10nouveau: fix nv04 swtcl.Stephane Marchesin
2007-03-10nouveau: fix the nv04 swtcl code.Stephane Marchesin
2007-03-10nouveau: oops don't debug by default.Stephane Marchesin
2007-03-10nouveau: some fixes to the nv04 state code.Stephane Marchesin
2007-03-10nouveau: add a fifo size debug check.Stephane Marchesin
2007-03-10Merge branch 'i915tex-pageflip'Michel Dänzer
2007-03-09i915tex: Wait for pending scheduled flips before switching vsync pipe.Michel Dänzer
This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates.
2007-03-09i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.Michel Dänzer
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-09i915tex: Sync pages between pipes immediately again.Michel Dänzer
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.
2007-03-09i915tex: Do not wait for pending flips on both pipes at the same time.Michel Dänzer
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.
2007-03-09r300: Also update window state when it's already bound but its stamp changed.Michel Dänzer
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.
2007-03-07i915tex: Set framebuffer size to match window before calling _mesa_make_current.Michel Dänzer
Fixes issues with apps that don't call glViewport by default.
2007-03-07i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout.Michel Dänzer
Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore.
2007-03-06Fix/improve framebuffer object reference counting.Brian
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.
2007-03-06r300: Call radeonSetCliprects from radeonMakeCurrent.Michel Dänzer
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.
2007-03-06fix for bug#10182Xiang, Haihao
call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer in i810, i915, i915tex, i965 drivers.
2007-03-05fix for bug#9971Xiang, Haihao
call swsetup_Wakeup before falling back to software rendering
2007-03-01r300: Use register name & add a register about shading.Christoph Bill
2007-03-01r300: Use reg definition when available & add missing reg definition.Christoph Bill
2007-03-01Add early register descritpion.Christoph Bill
This need more work on case where we can disable or enable early (stencil, alpha might need it to be disable).
2007-03-01Optimize cos&sin instruction a bit more.Rune Petersen
2007-02-28i915tex: Sync pages differently when crossing pipe borders.Michel Dänzer
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.
2007-02-28i915tex: Check that intel_rb is valid before trying to add it to an fbo.Michel Dänzer
2007-02-28i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip.Michel Dänzer
2007-02-28nouveau: drm interface changesBen Skeggs
2007-02-26s/pdp/prp/ in DoBindContext()Panagiotis Papadakos
2007-02-26add missing param to _mesa_warning()Panagiotis Papadakos
2007-02-24Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).Brian
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?)
2007-02-24clean-up, comment codeBrian
2007-02-24make src ptr constBrian
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-02-23r200 fix broken (by new input handling) fogcoordRoland Scheidegger
2007-02-22i915tex: Schedule flips when possible.Michel Dänzer
Also move vsync related state from context to window, so it's possible to schedule several flips ahead of time with triple buffering.
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
2007-02-22r300: get rid of CB_DPATH legacyDave Airlie
2007-02-20nouveau: nv10: grr, ctx->DrawBuffer invalid?Patrice Mandin
2007-02-20nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScalePatrice Mandin
2007-02-20nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bitsPatrice Mandin
2007-02-20i915tex: Triple buffering support, only effective with page flipping so far.Michel Dänzer
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.
2007-02-20intelWindowMoved: Some debugging output was accidentally left always enabled.Michel Dänzer
2007-02-20intelRotateWindow: Only use back buffer and cliprects in very specific cases.Michel Dänzer
2007-02-20intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests.Michel Dänzer
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.
2007-02-20i915tex: Support page flipping on both CRTCs independently.Michel Dänzer
No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows.
2007-02-20i915tex: Make page flipping work again.Michel Dänzer
2007-02-20Fix parallel make in r300 driver.Adam Jackson