summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
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-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 renderbuffer mem leakBrian
2007-03-06formatting fixBrian
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-28Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2007-02-28nouveau: drm interface changesBen Skeggs
2007-02-27fix commentBrian
2007-02-26Rewrite code related to buffer destruction.Brian
Do proper reference counting so that we don't wind up with dangling references to deleted windows/framebuffers. Should help with bug 7205.
2007-02-26s/pdp/prp/ in DoBindContext()Panagiotis Papadakos
2007-02-26add missing param to _mesa_warning()Panagiotis Papadakos
2007-02-25s/GetFragmentProgramRegister/GetProgramRegister/Brian
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-22updated for vboBrian
2007-02-22use _mesa_get_program_register()Brian
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-20Fix parallel make in r300 driver.Adam Jackson
2007-02-20remove accidental check-inBrian
2007-02-19i915tex: Fix performance regression with new vbo code and latest drm.Thomas Hellstrom
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.
2007-02-17stand-alone GLSL compilerBrian
2007-02-16Merge branch 'master' of ↵Sean D'Epagnier
git+ssh://geckosenator@git.freedesktop.org/git/mesa/mesa
2007-02-16Commiting a few minor fixes to glut fbdev (segfault on a separate stack)Sean D'Epagnier
Updated all drivers that used the old _ac_ functions to use the new _vbo_ functions. I know this fixed the fbdev driver, it looks like it might fix some other drivers too.
2007-02-16nouveau: nv50: updatePatrice Mandin
2007-02-16nouveau: nv10,20: wrong viewport clip setupPatrice Mandin
2007-02-16nouveau: nv20: texture matrixPatrice Mandin
2007-02-16nouveau: nv20: updatePatrice Mandin
2007-02-16nouveau: nv10: set clear value for 16 and 24 bits depthPatrice Mandin
2007-02-16nouveau: nv10: rescale depth near and farPatrice Mandin
2007-02-16nouveau: nv10: fix viewport scale and originPatrice Mandin
2007-02-14r300: Fix cos & add scs to fragment program.Rune Peterson
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().
2007-02-14nouveau: nv10: there are 8 clipping regionsPatrice Mandin
2007-02-14i915tex: Take into account various mapping states when dropping theThomas Hellstrom
batch buffer after a resolution / rotation switch.
2007-02-12I965: fix a failure on waiting irq.Xiang, Haihao
Wait until getting the right fence if drm/i915 resets the counter.
2007-02-12r300: Add proper support for sin/cos instruction in fragment programRune Peterson
Getting proper SIN and COS wasn't as easy as it appeared. I had to make make some changes to the fragment program code. general FP changes: - support HHH swizzle for vector instructions. - don't copy a source to a temp when it is not XYZW swizzled, but combine the two and have the swizzle resolve any issues. (saves temps/instructions with more elaborate shader code) - fix overflow in cnstv[].