Keith Whitwell
009749b4a8
mesa: protect driver.flush() with FLUSH_CURRENT
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.
16 years ago
Brian Paul
c1a3b85280
st: play it safe for now and check _NEW_PROGRAM for shader const buffer atom
When a new program is bound but no constants are updated we still need
to update the Gallium const buffer.
16 years ago
Brian Paul
7872b8e37e
swrast: simplify state update logic for fragment shader const buffers
16 years ago
Brian Paul
3eeefa47d0
st: use the static atoms[] array directly
We can simplify this now that we no longer have any dynamic atoms.
16 years ago
Brian Paul
f4f39902fd
st: do away with dynamic state atom for const buffers
Just use the new _NEW_PROGRAM_CONSTANTS flag instead.
16 years ago
Brian Paul
64e331eb52
mesa: new _NEW_PROGRAM_CONSTANTS flag
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.
16 years ago
Brian Paul
8a22e24fae
mesa: print internal.current[i] attrib
16 years ago
Brian Paul
ac1fc3f465
mesa: print parameter list dirty state flag mask
16 years ago
Brian Paul
08e7f09f34
i965: const correctness
16 years ago
Michel Dänzer
6bd4bc785e
Update GALLIUM_AUXILIARY_DIRS in configure.ac to match configs/default.
16 years ago
Maciej Cencora
584303ac8e
r300: r300 hw doesn't support any input modifiers in tex insts
16 years ago
Mathias Gottschlag
b8fff1f9f1
r300-gallium: Fix CS size mismatch
This fixes some warnings which appear because the driver assumes a wrong
cs size (13 vs 16 register writes in some cases).
16 years ago
Brian Paul
dad1c1be18
demos: check that GL version is 2.0 or higher
16 years ago
Brian Paul
25e3a53403
st: report GL_OUT_OF_MEMORY instead of asserting
16 years ago
Keith Whitwell
e20f837f67
trivial/tri-viewport: add keys for frustrum/ortho and z coordinate
16 years ago
Keith Whitwell
6e05224bc4
trivial/tri-viewport: add more out-of-bounds background quads
16 years ago
Keith Whitwell
a38f7d9e68
trivial/tri_viewport: add space==reset key
16 years ago
Keith Whitwell
6bfcffa79e
trivial/tri_viewport: add width/height keys
16 years ago
Brian Paul
d27d79db4a
softpipe: fix softpipe_is_buffer/texture_referenced() regression
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.
16 years ago
Brian Paul
5d5db81076
swrast: fix pointer arithmetic error in get_texel_array()
This came from commit 1b2ab02367
16 years ago
José Fonseca
29280ac69e
gdi: Don't implement broken gl_dispatch_stub_xxx.
16 years ago
José Fonseca
be6037d459
wgl: Don't implement broken gl_dispatch_stub_xxx.
These don't respect the stdcall, so they crash upon return.
16 years ago
José Fonseca
708218119b
mesa: Correct the gl_dispatch_stub_xxx prototypes.
16 years ago
José Fonseca
01397a66c7
mesa: Handle failure to create a transfer.
16 years ago
Keith Whitwell
d017749b3e
mesa/progs: fix scons build after recent demo moves
16 years ago
Keith Whitwell
c691f96e98
trivial/tri-viewport.c - add guide lines, more triangles, make interactive
This is becoming more like a test than a trivial/ example.
16 years ago
Keith Whitwell
53c6467aea
st: assert on pipe_buffer_create failure
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.
16 years ago
Keith Whitwell
70588fc83c
tests/mipmap_view: add linear/nearest key
16 years ago
Keith Whitwell
c7c76ba561
util: don't set unused blend state
Try to avoid creating multiple blend atoms.
16 years ago
Jakob Bornecrantz
8ae52413c7
trace: Add initializer for static variables
16 years ago
Maciej Cencora
6900046aad
r300: fix register-negate branch merge regression
16 years ago
Michel Dänzer
c76a2444a3
gallium: Fix glDraw/CopyPixels fragment program leak.
16 years ago
Jakob Bornecrantz
f2d2b3d8e2
trace: Enable dumping to be turned on and off
16 years ago
Jakob Bornecrantz
439c42ae8b
st: Wait to create bitmap transfer until needed
16 years ago
Jakob Bornecrantz
373e671683
autoconf: Build gallium softpipe when driver=xlib
16 years ago
Jakob Bornecrantz
90a23e340f
progs/demos: Update ignore
16 years ago
Jakob Bornecrantz
59c8e738c4
progs/glsl: Update ignore
16 years ago
José Fonseca
dc1153ce83
softpipe: Simplify softpipe_create's prototype.
16 years ago
José Fonseca
876e95dcc8
softpipe: Fix softpipe_is_texture_referenced prototype.
16 years ago
José Fonseca
eb63e8cc75
softpipe: Remove softpipe_winsys.
Not used by softpipe anyway.
16 years ago
Brian Paul
c0565e86b4
demos: added glsl/texaaline.c program and overhaul the Makefile
16 years ago
Brian Paul
3595732f28
demos: updated .gitignore list
16 years ago
Brian Paul
c953f6620c
docs: removed/added demo programs
16 years ago
Brian Paul
d61070b659
demos: move demos/texobj.c to tests/
16 years ago
Brian Paul
30e80f6e55
demos: move demos/occlude.c (old HP extension) to tests
16 years ago
Brian Paul
22af013f85
demos: move tests/dinoshade.c to demos/
16 years ago
Brian Paul
49c3e7172d
demos: move tests/projtex.c to demos/
And fix compiler warnings.
16 years ago
Brian Paul
292e192093
demos: move tests/fbotexture.c to demos/
16 years ago
Brian Paul
f47495ec42
demos: move texdown.c to tests/
16 years ago
Brian Paul
dfd69a27f8
demos: move glutfx demo to tests/
16 years ago