summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-22i965: define BRW_MAX_GRFBrian Paul
2009-04-22i965: remove old code to init surface-related cache IDsBrian Paul
These types are only found in the new surface state cache now.
2009-04-22i965: comments, reformattingBrian Paul
2009-04-22i965: actually use the new, second surface state cacheBrian Paul
2009-04-22i965: checkpoint commit: use two state caches instead of oneBrian Paul
The new, second cache will only be used for surface-related items. Since we can create many surfaces the original, single cache could get filled quickly. When we cleared it, we had to regenerate shaders, etc. With two caches, we can avoid doing that.
2009-04-22i965: remove unused state atom entriesBrian Paul
2009-04-22i965: the brw_constant_buffer state atom is no longer dynamicBrian Paul
No more dynamic atoms so we can simplify the state validation code a little.
2009-04-22i965: add _NEW_PROGRAM_CONSTANTS to mesa_bits[] listBrian Paul
2009-04-22i915: check the new _NEW_PROGRAM_CONSTANT flagBrian Paul
2009-04-22i965: use _NEW_PROGRAM_CONSTANTS and always create new const buffersBrian Paul
When program constants change we create a new VS constant buffer instead of re-using the old one. This allows us to have several const buffers in flight with vertex rendering.
2009-04-22i965: updates to some debug codeBrian Paul
2009-04-22i965: use new _NEW_PROGRAM_CONSTANTS flag instead of dynamic flagsBrian Paul
2009-04-22r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flagBrian Paul
Make sure we detect constant buffer changes indicated by the new flag. Should be able to remove _NEW_PROGRAM (and _NEW_MODELVIEW, _NEW_LIGHT, etc) from several places (someday.
2009-04-22st: also check _NEW_PROGRAM flag for vertex shader constant buffersBrian Paul
This is a follow-on to commit c1a3b852807fb160f0cd246c1364b7336b4b947e. Note that (at this time) wherever _NEW_PROGRAM_CONSTANTS is set we're still setting _NEW_PROGRAM so this won't really make any difference (for now).
2009-04-22gallium: Reinstate unconditional flushes.Thomas Hellstrom
Lost in commit e50dd26ca6d0eb0d0f97c2780020ea16e3d4a687. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-22mesa: protect driver.flush() with FLUSH_CURRENTKeith Whitwell
Need to do this to ensure vbo code unmaps its buffers before calling the driver, which may be sitting on top of a memory manager which objects to firing commands from a mapped buffer.
2009-04-21st: play it safe for now and check _NEW_PROGRAM for shader const buffer atomBrian Paul
When a new program is bound but no constants are updated we still need to update the Gallium const buffer.
2009-04-21swrast: simplify state update logic for fragment shader const buffersBrian Paul
2009-04-21st: use the static atoms[] array directlyBrian Paul
We can simplify this now that we no longer have any dynamic atoms.
2009-04-21st: do away with dynamic state atom for const buffersBrian Paul
Just use the new _NEW_PROGRAM_CONSTANTS flag instead.
2009-04-21mesa: new _NEW_PROGRAM_CONSTANTS flagBrian Paul
This state flag will be used to indicate that vertex/fragment program constants have changed. _NEW_PROGRAM will be used to indicate changes to the vertex/fragment shader itself, or misc related state. _NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's tracking GL state has changed. For example, if the projection matrix is in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS to be set. This will let to remove the need for dynamic state atoms in some drivers. For now, we still set _NEW_PROGRAM in all the places we used to. We'll no longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated.
2009-04-21mesa: print internal.current[i] attribBrian Paul
2009-04-21mesa: print parameter list dirty state flag maskBrian Paul
2009-04-21i965: const correctnessBrian Paul
2009-04-21Update GALLIUM_AUXILIARY_DIRS in configure.ac to match configs/default.Michel Dänzer
2009-04-21r300: r300 hw doesn't support any input modifiers in tex instsMaciej Cencora
2009-04-21r300-gallium: Fix CS size mismatchMathias Gottschlag
This fixes some warnings which appear because the driver assumes a wrong cs size (13 vs 16 register writes in some cases).
2009-04-21demos: check that GL version is 2.0 or higherBrian Paul
2009-04-21st: report GL_OUT_OF_MEMORY instead of assertingBrian Paul
2009-04-21trivial/tri-viewport: add keys for frustrum/ortho and z coordinateKeith Whitwell
2009-04-21trivial/tri-viewport: add more out-of-bounds background quadsKeith Whitwell
2009-04-21trivial/tri_viewport: add space==reset keyKeith Whitwell
2009-04-21trivial/tri_viewport: add width/height keysKeith Whitwell
2009-04-20softpipe: fix softpipe_is_buffer/texture_referenced() regressionBrian Paul
Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE value for now. This fixes a bunch of regressions seen in piglit and glean.
2009-04-20swrast: fix pointer arithmetic error in get_texel_array()Brian Paul
This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0
2009-04-20gdi: Don't implement broken gl_dispatch_stub_xxx.José Fonseca
2009-04-20wgl: Don't implement broken gl_dispatch_stub_xxx.José Fonseca
These don't respect the stdcall, so they crash upon return.
2009-04-20mesa: Correct the gl_dispatch_stub_xxx prototypes.José Fonseca
2009-04-20mesa: Handle failure to create a transfer.José Fonseca
2009-04-20mesa/progs: fix scons build after recent demo movesKeith Whitwell
2009-04-20trivial/tri-viewport.c - add guide lines, more triangles, make interactiveKeith Whitwell
This is becoming more like a test than a trivial/ example.
2009-04-20st: assert on pipe_buffer_create failureKeith Whitwell
This needs a proper fix to propogate the out-of-memory condition back up to Mesa and the app as a GL error. Until then, at least catch the problem at its source.
2009-04-20tests/mipmap_view: add linear/nearest keyKeith Whitwell
2009-04-20util: don't set unused blend stateKeith Whitwell
Try to avoid creating multiple blend atoms.
2009-04-20trace: Add initializer for static variablesJakob Bornecrantz
2009-04-20r300: fix register-negate branch merge regressionMaciej Cencora
2009-04-20gallium: Fix glDraw/CopyPixels fragment program leak.Michel Dänzer
2009-04-19trace: Enable dumping to be turned on and offJakob Bornecrantz
2009-04-19st: Wait to create bitmap transfer until neededJakob Bornecrantz
2009-04-19autoconf: Build gallium softpipe when driver=xlibJakob Bornecrantz