Claudio Ciccani
b18191cf30
Added DirectFB GLUT implementation.
pirms 19 gadiem
Claudio Ciccani
9400550c16
Fixed bug with multiple contexts.
Added support for ARGB4444 and ARGB2554.
Added hardware accelerated Clear().
pirms 19 gadiem
Brian Paul
55ad3cc055
fix bug 7077 - mem leak
pirms 19 gadiem
Brian Paul
a8c4242395
Define new NEGATE_* tokens for setting the src register's NegateBase field.
Before, we were using GL_TRUE/GL_FALSE in a few places.
Note: only the SWZ instruction can negate individual components.
pirms 19 gadiem
Brian Paul
e4cb9cd167
remove redundant 'const'
pirms 19 gadiem
Brian Paul
8333012b56
free convolved image / fix mem leak (bug 7077)
pirms 19 gadiem
Tilman Sauerbeck
1d0fa45bc1
minor code cleanup, no actual changes
pirms 19 gadiem
Tilman Sauerbeck
6be8127ea4
don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which is actually handled
pirms 19 gadiem
Michal Krol
51fec69ea6
Add x86sse.h.
pirms 19 gadiem
Michal Krol
4decba90be
Remove not needed forward declaration.
pirms 19 gadiem
Michal Krol
23b7c7dc14
Make it running under Linux.
pirms 19 gadiem
Michal Krol
44d5c8668a
First draft.
pirms 19 gadiem
Tilman Sauerbeck
b20cdf1d28
don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already done in parse_generic_attrib_num()
pirms 19 gadiem
Brian Paul
919f6a070c
generic attribute 0 wasn't handled correctly (Jesse Allen)
pirms 19 gadiem
Roland Scheidegger
76b6e88e56
fix some whitespace in previous commit
pirms 19 gadiem
Roland Scheidegger
8a61821057
preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
pirms 19 gadiem
Brian Paul
04fa003a50
The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem to
be needed (it's set in texenvprogram.c) and is a memory leak according to
valgrind.
Disable with #if 0 / #endif
pirms 19 gadiem
Brian Paul
65a51c0d62
Roll _mesa_free_parameters() into calling function (the only caller).
Replace assert(0) with _mesa_warning().
Use new _mesa_align_realloc() function.
New comments, clean-ups.
pirms 19 gadiem
Brian Paul
5a67af97fa
fix a small memory leak in _mesa_add_state_reference()
pirms 19 gadiem
Brian Paul
1798d9a8a4
added _mesa_align_realloc()
pirms 19 gadiem
Brian Paul
0c1cbd5805
use GLbitfield for StateFlags, improved comments
pirms 19 gadiem
Brian Paul
d9736db667
Add const qualifiers in a number of places.
pirms 19 gadiem
Brian Paul
f5a2ac95c3
init mask=0 to silence warning
pirms 19 gadiem
Brian Paul
fe9026d04a
make mgaSetFence() and mgaWaitFence() static
pirms 19 gadiem
Brian Paul
a6f7f10efa
prototype i915_udpate_fog() to silence warning
pirms 19 gadiem
Brian Paul
b8f2f6fee1
In cache_item(), there was sizeof(void) expression.
Replace void *key parameter with const struct state_key *
pirms 19 gadiem
Brian Paul
acc9566b86
GL_INDEX_OFFSET fix
pirms 19 gadiem
Brian Paul
17befff800
GL_INDEX_OFFSET didn't work with CI->RGB mappings.
Added some const qualifiers.
pirms 19 gadiem
Keith Whitwell
8065c120c4
memory usage fixes for glean/conform, use a better hash function
pirms 19 gadiem
Keith Whitwell
64da16146f
Fix typo
pirms 19 gadiem
Keith Whitwell
5ddc53f899
Better caching for texenv programs.
Initialize some values correctly.
pirms 19 gadiem
Keith Whitwell
7e3fa7e837
Speedup the venerable mm.[ch] allocator with doubly linked lists and a
separate list of free segments.
pirms 19 gadiem
Brian Paul
b0b6d1abe5
In gl_texture_image, replace ImageStride with an ImageOffsets array.
Some hardware lays out 3D mipmaps in a manner that can't be expressed
with a simple image stride.
The ImageOffsets array is allocated and initialized to typical defaults
in the _mesa_init_teximage_fields() function. If needed, a driver will
then have to replace these offsets.
TexStore and TexelFetch routines updated to use offsets array.
pirms 19 gadiem
Brian Paul
226d0187b5
glxinfo -l expanded, fixed bug 6863
pirms 19 gadiem
Brian Paul
04d5d16415
remove some redundant functions, fix-up reference counting
pirms 19 gadiem
Brian Paul
89ffca52ac
use new _mesa_remove_renderbuffer()
pirms 19 gadiem
Brian Paul
7ac5b7b934
use new _mesa_dereference_frame/renderbuffer() functions
pirms 19 gadiem
Brian Paul
b52f02121b
Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer().
Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer
reference count decrement, delete, locking.
pirms 19 gadiem
Brian Paul
2eb88c1752
Added _mesa_dereference_framebuffer() to encapsulate reference count
decrement, delete and locking.
pirms 19 gadiem
Brian Paul
cbb19930b3
some new comments
pirms 19 gadiem
Brian Paul
20e11b2332
remove an assertion
pirms 19 gadiem
Brian Paul
4e470db0b9
print 2D vs 3D in window
pirms 19 gadiem
Brian Paul
5ec34f0ff9
also test 3D textures (press '2'/'3' to toggle)
pirms 19 gadiem
Brian Paul
083f8111aa
added some CHAN_BITS tests
pirms 19 gadiem
Brian Paul
68bc7df638
replace FORMAT var with RB_TYPE
pirms 19 gadiem
Brian Paul
fd02ca7711
Demonstrate rendering 8, 16 and 32-bit/channel images all in one program.
Like older osdemo.c program, but test more OpenGL features like texturing,
blending, lines.
pirms 19 gadiem
Brian Paul
e35b9058ce
updated docs for off-screen rendering
pirms 19 gadiem
Brian Paul
d44248ca00
Allow rendering 8, 16 and 32-bit/channel images without recompiling.
Uses new renderbuffer adaptors.
pirms 19 gadiem
Brian Paul
6a74f65c58
install renderbuffer adaptors when color channel sizes need to be reduced
pirms 19 gadiem
Brian Paul
d2e5598cd3
added rbadaptors.[ch] files
pirms 19 gadiem