summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-26if renderbuffer ptr is null, just returnBrian
2007-02-26Do proper framebuffer refcounting in _mesa_make_current().Brian
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.
2007-02-26s/pdp/prp/ in DoBindContext()Panagiotis Papadakos
2007-02-26add missing param to _mesa_warning()Panagiotis Papadakos
2007-02-26Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)Aapo Tahkola
2007-02-24Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
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-23Fix GLAPIENTRYP for OS X.Ian Romanick
Fix build problems related to incorrect define of GLAPIENTRYP on OS X. Reported by bushing on IRC.
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-22r300: get rid of CB_DPATH legacyDave Airlie
2007-02-20Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesaIan Romanick
2007-02-20Delete two invalid assertions.Ian Romanick
These two assertions are invalid for a couple reasons. Primarily, when this code is compiled into the X-server, the symbols "glSecondaryColor3fEXT" and "glPointParameterivNV" do not exist.
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
2007-02-20set log level w/ env varChristian Neumair
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-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-14test for POT before using sample_2d_linear_repeat()Etienne Clement
2007-02-14fix typo preventing generic arrays from working with ARB_vp (bug #9952)Roland Scheidegger
2007-02-14nouveau: nv10: there are 8 clipping regionsPatrice Mandin
2007-02-14fix stupid bug in the optimized per-vertex fog generation codeRoland Scheidegger
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-12 fd.o #BZ 9684Zou Nan hai
gcc may cast an overflowed float value to an negative int value on i386, fix it to make sure at least some apps will not crash if it contains wrong normal data.
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[].
2007-02-10ctx->Point._Size fixRune Peterson
2007-02-09optimize per-pixel fog programRoland Scheidegger
use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested)
2007-02-09 array overflow fixZou Nan hai
2007-02-09r200: simplify / unify input map handling for vp and fftnlRoland Scheidegger
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.
2007-02-09optimize generated vertex programs a bitRoland Scheidegger
Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested...