summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'origin' into glsl-compiler-1Brian2007-03-0940-452/+302
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * 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
| |
* | Update DRI drivers for new glsl compiler.Brian2007-02-2341-205/+187
| | | | | | | | | | | | Mostly: - update #includes - update STATE_* token code
* | Merge branch 'origin' into glsl-compiler-1Brian2007-02-22211-17189/+19534
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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.
| * r300: Add proper support for sin/cos instruction in fragment programRune Peterson2007-02-126-121/+175
| | | | | | | | | | | | | | | | | | | | | | 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[].
| * r200: simplify / unify input map handling for vp and fftnlRoland Scheidegger2007-02-095-334/+141
| | | | | | | | | | | | Use the same input map handling for fftnl and vertex programs. It doesn't enable any new functionality (should make it easy to support per-vertex materials though), but the code is much cleaner.
| * fix issues in vp when using FRAG_BIT_WPOS in a fragment program (bug #9910)Roland Scheidegger2007-02-091-20/+15
| | | | | | | | | | | | Redirect all VERT_RESULT_HPOS writes to a temp and use that for fixup. The viewport transformation still seems to take some shortcuts, and it still does not seem to work at all...
| * nouveau: a couple of NV3x fixesBen Skeggs2007-02-065-5/+45
| |
| * Add support for CN700 chipset in miniglxJakob Bornecrantz2007-02-062-0/+2
| |
| * nouveau: OUT_RINGp expects the size in dwords, not bytes.Ben Skeggs2007-02-061-2/+2
| | | | | | | | This fixes the *actual* bug that the previous commit was supposed to fix..
| * nouveau: fix a small bug in nv10 swtclBen Skeggs2007-02-061-1/+1
| |
| * nouveau: new bufferobj code.Ben Skeggs2007-02-063-169/+562
| | | | | | | | | | | | | | | | | | | | | | The old code suffered from a number of issues, the most severe being that with the Mesa VBO merge even swtcl used the driver's bufferobj interface. On most VBO types (or non-AGP cards) the buffer ended up in vram, and killed swtcl performance greatly. All bufferobj's start in system memory now, until they get referenced as a "real" VBO. The other big change is that only potentially "damaged" areas are uploaded/downloaded to/from the hardware.
| * nouveau: nv10: add init for unknown 0x120Patrice Mandin2007-02-041-0/+8
| |
| * nouveau: fix nv04 and nv10 swtcl, more work on nv04 state.Stephane Marchesin2007-02-044-14/+118
| |
| * nouveau: forgot function declarationPatrice Mandin2007-02-031-0/+1
| |
| * nouveau: nv50: use nv50 statePatrice Mandin2007-02-031-1/+3
| |
| * Merge branch 'origin'Michel Dänzer2007-02-036-255/+20
| |\