Ian Romanick
cb59bd44db
Correctly set the name of the generating script.
21 years ago
Ian Romanick
00772ac42f
Move all the code for generating "size" related functions to its own
source file.
21 years ago
Ian Romanick
ad15f1bdea
Correct some of the dependencies and clean things up a bit.
21 years ago
Ian Romanick
5ff2b94630
Remove glEnum::startElement, but refactor out some of the common code from
there and glXEnum::startElement to glEnum::process_attributes.
21 years ago
Ian Romanick
0246b2a5c0
Since only one of the places that used glXFunction::command_payload_length
actually used both values, it was refactored into command_fixed_length and
command_variable_length. glXFunction::offset_of_first_parameter was also
added.
21 years ago
Ian Romanick
7f958e9e11
Make sure that functions added to gl_API.xml that do not have any GLX
section are marked as ignored. Also ignore any functions that don't have
assigned dispatch offsets.
Fold Adam Jackson's changes to indirect_size.c into the generator scripts so
that they don't get lost. "DO NOT EDIT" really means "DO NOT EDIT". ;)
21 years ago
Aapo Tahkola
f9f2db5132
border_color causes lockups with vertex buffers. Disabling for now.
21 years ago
Vladimir Dergachev
d7d54423a8
Remove lots of old code that dealed with "magic" texture formats.
21 years ago
Brian Paul
5c6b391900
reenable some assertions
21 years ago
Felix Kuehling
428a5e82fc
Converted the Savage texture management to use Ian's common texmem code.
21 years ago
Brian Paul
c74ffb8266
Added _mesa_HashNextEntry() function to allow walking over all entries
in a hash table.
Added _mesa_test_hash_functions() for unit testing.
Updated comments, etc.
21 years ago
Dave Airlie
72e3664996
reapply Keiths workaround for zbs emit that got dropped during
state change patches....
21 years ago
Nicolai Haehnle
0b5a5a9efb
Remove unused variables from r300_context
21 years ago
Nicolai Haehnle
4ced594aa8
Fix more warnings and compilation issues.
21 years ago
Nicolai Haehnle
cb77dcf0b9
Synchronize r300_reg.h.
Fix unportable whitespace before preprocessor commands.
21 years ago
Dave Airlie
150ed2e43d
add sync debugging to the radeon driver
21 years ago
Adam Jackson
999534216d
HAVE_ALIAS was never defined anywhere, add some logic to turn it on
automagically.
21 years ago
Adam Jackson
e82d5f2be9
silence makedepend warnings about non-portable whitespace
21 years ago
Felix Kuehling
8736c228cb
Fixed initialization of draw destination to front buffer on single
buffered visuals. Also don't change span draw/read buffers in
savageDDDrawBuffer. Now glean's polygon offset test works (and PASSes
with fixed point depth buffer) with single buffered visuals without
winding up in an infinite loop.
21 years ago
Felix Kuehling
3b50f00433
My last attempt to fix polygon offsets with the reversed viewport depth
range used by the savage driver by negating ctx->MRD broke polygon
offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter
to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets
for hardware rendering but not for software fallbacks. For software
fallbacks depth values are reversed after polygon offsets have been
applied by the depth span functions.
21 years ago
Keith Whitwell
36a35c5614
Determine ahead of time whether a display list will include vertices
which have to be processed in the 'loopback' path. If so, send
all vertices that way as the transition from playback->loopback has
several problems.
21 years ago
Vladimir Dergachev
8fca9bdc35
Properly configure routing - based on advice by Keith Whitwell.
21 years ago
Felix Kuehling
f4cafc8d13
Fixed polygon offset with reversed viewport depth range.
21 years ago
Vladimir Dergachev
4ac53aed6c
Properly input stencil info contributed by Wladimir.
21 years ago
Brian Paul
1060211918
fix glGetString funniness
21 years ago
Michal Krol
308fbb7b64
add getstring.c; remove arb*.h nv*.h stuff
21 years ago
Michal Krol
8346c5ee1d
add slang/traverse_wrap.h
21 years ago
Michal Krol
b39665950e
Handy TIntermTraverser class wrapper
21 years ago
Alan Hourihane
e51b0b1d30
silence the 'using AGP/PCI' string unless VIA_DEBUG is used.
21 years ago
Felix Kuehling
fa15f6c840
Small cleanup:
* Remove some unused (mostly empty) functions
* Added context parameter to WAIT_IDLE_EMPTY[_LOCKED] for consistency
* Added debug messages to WAIT_IDLE_EMPTY[_LOCKED]
* Don't flush empty command buffers
21 years ago
Felix Kuehling
677d1d07c4
* Added options for disabling the fast path (render stage) and vertex DMA
* Fixed disabling of the render stage
* Added debug output for per-primitive fallbacks
* Bumped driver date
21 years ago
Brian Paul
14dee36fa7
glext.h version 26
21 years ago
Felix Kuehling
edb9a165c1
Added support for ELTS to the _savage_render_stage. Requires at least
Savage DRM version 2.2.0. Otherwise the render stage is disabled.
21 years ago
Alan Hourihane
ddfa61ee19
Enclose passed macro values in brackets to ensure correct read/write span
values.
21 years ago
Brian Paul
cb3bc2c49a
document new glDeleteTextures/Buffers/Programs behaviour
21 years ago
Brian Paul
ea2943efd9
Update glDeletePrograms/Buffers() so that the ID is freed immediately, like
texture objects.
21 years ago
Brian Paul
36da0459e4
Use a simple CSS style sheet.
21 years ago
Brian Paul
10378919d7
Removed gl_texture_object's DeletePending. Changed a comment.
21 years ago
Brian Paul
31fb7648fc
added texobjshare.c
21 years ago
Brian Paul
4f6d9aaa9a
test program for texture sharing, deleting, etc
21 years ago
Brian Paul
42fee73aad
Change behaviour of glDeleteTextures as discussed on ARB list.
glDeleteTexture makes the texture ID immediately free for re-use
while the actual texture object lingers until its reference count goes
to zero (when no longer bound by any rendering context).
21 years ago
Brian Paul
140f99f81c
make sure the new instruction Data pointer is set to NULL
21 years ago
Brian Paul
7948bc02ed
fix a typo
21 years ago
Brian Paul
4ef0e046ec
minor formatting fix
21 years ago
Keith Whitwell
2aa34ea984
Bring the texcombine fixes to the trunk.
21 years ago
Keith Whitwell
bdb5725bab
Always use ARGB8888 hardware texture format when mesa specifies
MESA_FORMAT_ARGB8888. Previously attempted to use ARGB0888 under some
circumstances, but glean failed and demos/texenv.c was also incorrect.
21 years ago
Keith Whitwell
6931087958
Remove depend on make clean
21 years ago
Keith Whitwell
520e56f232
Depend tweaks
21 years ago
Daniel Borca
c98323bd89
make sure we avoid assertion failure wrt VB->ColorPtr[1]->stride
21 years ago
Daniel Borca
9ebce91a66
glVertex* is the provoking "cmd" (that is, by the time of glVertex*, we must have all other attributes already set).
i am committing this before i forget. however, i'm still leaving my code disabled, because the old code seems legal.
21 years ago