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
Brian Paul
6a495d26af
demos: move streaming_rect.c demo to tests/
16 years ago
Brian Paul
118856641f
demos: move glslnoise.c demo to glsl/noise2.c
16 years ago
Brian Paul
927dc39de0
i965: use region width, height in brw_update_renderbuffer_surface()
Fixes a regression from commit 2c30fd84df
seen with DRI1.
16 years ago
Brian Paul
957a625b2d
intel: #include polygon.h to silence warning
16 years ago
Brian Paul
3e750ce5c4
demos: fix incorrect assertion
16 years ago
Brian Paul
c5af2ed60f
mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program()
Fixes bug seen in progs/tests/vptest1.c
16 years ago
Brian Paul
2bf326af10
demos: fix usage text
16 years ago
Michel Dänzer
54fb6f0053
intel: Handle ARB_vertex_buffer_object state in intel_clear_tris().
Fixes gearsvbo app by Michael Clark.
16 years ago
Brian Paul
538a823882
demos: new glsl/array.c demo
Test variable indexing into a uniform array in a vertex shader.
16 years ago
Brian Paul
794d488e6d
intel: make sure polygon mode is set properly in intel_clear_tris()
Fixes progs/glsl/skinning.c demo.
16 years ago
Brian Paul
36b0f26721
mesa: suppress extra newline
16 years ago
Brian Paul
0bc214a834
i915: fix broken indirect constant buffer reads
The READ message's msg_control value can be 0 or 1 to indicate that the
Oword should be read into the lower or upper half of the target register.
It seems that the other half of the register gets clobbered though. So
we read into two dest registers then use a MOV to combine the upper/lower
halves.
16 years ago
Brian Paul
905130852a
mesa: build a float[4] value in _mesa_add_sampler() to avoid random values
16 years ago
Brian Paul
4c13cb65a0
dri: build DRI swrast driver too
16 years ago
Brian Paul
e1a8852aa4
dri: __driUtilMessage(): not all messages are errors
16 years ago
Brian Paul
08ac96e55b
mesa: minor tweak to error message
16 years ago
Brian Paul
f8f23e33c2
i965: updated CURBE allocation code
Now that we have real constant buffers, the demands on the CURBE are lessened.
When we use real VS/WM constant buffers we only use the CURBE for clip planes.
16 years ago
Jakob Bornecrantz
867afa4c09
xlib/trace: Fixup xlib trace
16 years ago
José Fonseca
86ed894e47
pipe: Get the p_atomic_dec_zero logic right this time.
16 years ago
Brian Paul
90c880f089
demos: move glewInit() call, fixes crash/bug 21247
16 years ago
Michel Dänzer
3b76072915
gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build.
16 years ago
Brian Paul
047efcd050
demos: move glewInit() after glutCreateWindow()
Fixes segfault. See bug 21239. However, the demo doesn't render
properly. Probably a bug in the GL_ATI_fragment_shader code.
16 years ago
Jakob Bornecrantz
44d0e0caf4
trace: Keep screen objects on lists
16 years ago
Jakob Bornecrantz
1e42f68fd6
trace: Fix is_referenced functions
16 years ago
Jakob Bornecrantz
5800e0aad1
trace: Simplify trace_buffer function
16 years ago
José Fonseca
dbb90436f8
pipe: Fix InterlockedDecrement usage.
16 years ago
José Fonseca
995a168dea
wgl: Put commas in the right places.
16 years ago
José Fonseca
5458f8eff6
wgl: Flip the pixel format order.
List 32bit pixel formats first, as nobody is interested in 16bit pixel
formats nowadays.
16 years ago
Thomas Hellstrom
e50dd26ca6
gallium: Create OGL state tracker wrappers for various CPU access operations.
There are two usage types of buffer CPU accesses:
One where we try to use the buffer contents for multiple draw commands in
a batch. (batch := sequence of commands that are flushed together),
like incrementally adding bitmaps to a bitmap texture that is reallocated
on flush.
And one where we assume we can safely overwrite the old buffer contexts, like
glTexSubImage. In this case we need to make sure all old drawing commands
referencing the buffer are flushed before we map the buffer.
This is easily forgotten.
Add wrappers for the most common of these operations. The first type is
prefixed with "st_no_flush" and the second type is prefixed with
"st_cond_flush", where "cond" indicates that we attmpt to only flush
if there is indeed unflushed draw commands referencing the buffer.
Prefixed functions are
screen::get_tex_transfer
pipe_buffer_write
pipe_buffer_read
pipe_buffer_map
Please use the wrappers whenever possible.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
16 years ago
Zack Rusin
ee2a5f307a
egl: don't crash with one more khronos api
16 years ago
Keith Whitwell
687f331a1f
gallium: simplify further the logic for selecting mutex implementation
Cleaner than the previous cleanup...
16 years ago
Keith Whitwell
29a2f6fead
util: flush stdout before emitting debug_printf on stderr
A lot of the mesa demos emit commentary on stdout, try to keep it in
sync with the corresponding output from debug_printf().
16 years ago
Keith Whitwell
db93dcecc8
gallium: add #warning to mutex-based atomic implementation
Some builds end up picking this up.
16 years ago
José Fonseca
3a618da6e1
python/retrace: Rename module as it conflicts with a builtin module.
And there is no way to override a builtin module... sigh
16 years ago
José Fonseca
56c2cd7ae2
scons: Cleanup.
16 years ago
Brian Paul
189db329ca
demos: set init window size, not pos
16 years ago