Brian Paul
fb68919362
added GL_EDGE_FLAG_ARRAY_COUNT_EXT to glGetBooleanv() (Bug 548277)
23 vuotta sitten
Karl Schultz
dc2270b461
Apply alpha buffer control fix to accum buffer too.
23 vuotta sitten
Karl Schultz
e694a8765a
Fix up alpha buffer handling for Windows.
- add two new Pixel Format Descriptors that do not have alpha bits to
mirror the two that do.
- add logic to wglChoosePixelFormat to match PFD's with respect to alpha.
- Create/clear software alpha buffer as required.
Now a wgl or GLUT program can control the creation of a software alpha
buffer via the PFD or GLUT parms, respectively.
23 vuotta sitten
Brian Paul
62c36a2ff3
call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
23 vuotta sitten
Alan Hourihane
dec0131a29
Test for NULL pointer for LoadMatrix(), MultMatrix() and
Load/MultTransposeMatrix() and return without recording any errors or
doing any multiplication.
23 vuotta sitten
Brian Paul
fdd631a941
removed CVS $Log comments
23 vuotta sitten
Brian Paul
62954c8c30
test program for NV_vertex_program + vertex arrays
23 vuotta sitten
Jouk Jansen
bcc5d46b08
Committing in .
Remove __FUNCTION__ macro definition from CC compile definitions.
(OpenVMS only)
Modified Files:
Mesa/src/descrip.mms
----------------------------------------------------------------------
23 vuotta sitten
Brian Paul
f55b303fc2
added to-do list for the 4.1 release
23 vuotta sitten
Brian Paul
61bac6014a
check for vertex program mode
23 vuotta sitten
Brian Paul
28c61d5b49
fixed assertion, replaced switch() with if/elseif
23 vuotta sitten
Brian Paul
12bab63f09
Vertex program attribute arrays seem to work now. This includes fallbacks
to the conventional arrays when attribute arrays aren't enabled.
23 vuotta sitten
Brian Paul
f3781eaafa
added support for vertex program attribute arrays
23 vuotta sitten
Brian Paul
b7752724d9
vertex program attribute array work
23 vuotta sitten
Brian Paul
1113e3266f
fixed Width/Height cut&paste typo
23 vuotta sitten
Jose Fonseca
04df3bbe8e
Re-scheduling of the instructions according to the MMX pairing rules. This is dificult to quantify but the improvemnet reaches about of 0.7% in some cases in a Pentium III. In older Pentiums the improvements could be quite substancial due less capable integer pipelines.
23 vuotta sitten
Jose Fonseca
3fe2bb8933
Added min and max blend functions.
Slight optimization of _mesa_mmx_blend_add.
23 vuotta sitten
Karl Schultz
4fa66fa85c
Provide a reasonable replacement for __FUNCTION__ when using non GNU C
compilers. This allows Mesa to compile with non GNU C compilers again.
23 vuotta sitten
Brian Paul
bf80e1ed62
Allocate a sw_span struct in the swrast context instead of allocating it
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger)
This should solve the performance problem Karl found on Windows.
23 vuotta sitten
Brian Paul
05be7ae125
pass context pointer to _tnl_free_immediate(), removed backref pointer
23 vuotta sitten
Jose Fonseca
0c527ab054
MMX add blending function added.
23 vuotta sitten
Jose Fonseca
533e88824a
MMX modulate belding function added.
Factorization of more common MMX code.
23 vuotta sitten
Alan Hourihane
68c48df2bf
Correct check for noop array state change (Raystonn)
23 vuotta sitten
Brian Paul
26e2fb062a
removed a stray debug printf
23 vuotta sitten
Brian Paul
4c5f8a8207
C++ fix
23 vuotta sitten
Brian Paul
7322cccfb9
new casts
23 vuotta sitten
Brian Paul
6c5b7029b3
added two (GLchan *) casts
23 vuotta sitten
Brian Paul
a670c1280b
casts to fix GLint/GLuint mismatches
23 vuotta sitten
Brian Paul
db07de057f
added some casts
23 vuotta sitten
Brian Paul
36c3df78f4
restored writeAll = GL_FALSE test/assignment
23 vuotta sitten
Jose Fonseca
55d9ee83b4
Definition of several utility macros for self-contained MMX operations such as scaling and lerping.
Restructured the MMX blending function to use a template, being only necessary to specify the main loop, which is also used for making the runin and runout sections.
Optimization of the MMX function after remembering that the multiplication was commutative (how can somebody forget this..) resulting in less register usage. Now there is no need for generate or read from memory any constant inside the loop.
Assemblers other than the GNU assembler can choke on the output of the C preprocessor since it was necessary to add line separators ';' to the defined macros.
23 vuotta sitten
Keith Whitwell
9ff3e9d992
Core of the future vertex engine. Isn't built yet, nor will be for a while...
Checkpoint commit.
23 vuotta sitten
Jose Fonseca
ef65c60d88
Removed code that was proven to have faster alternatives to reduce complexity and facilitate reusability.
23 vuotta sitten
Brian Paul
4c1f79264e
fixed problem with swap() function and GCC3 (patch 414404)
23 vuotta sitten
Brian Paul
620735af45
Disabled SPARC cliptest functions for now. See bug report 544665.
23 vuotta sitten
Jose Fonseca
d60bb2fbc8
Remaining patch for the 255x255=255 identity correction be
made also in the runin and runout section of the code.
23 vuotta sitten
Brian Paul
cffb351a62
Jose's latest patch (GMBT_GEOMETRIC_CORRECTION)
23 vuotta sitten
Brian Paul
8c598cfd82
fixes for corrected GL_DOT3_RGB[A]_EXT token values
23 vuotta sitten
Brian Paul
cb445412fc
version 13 of glext.h - fixes GL_EXT_texture_env_dot3 token values
23 vuotta sitten
Brian Paul
d23de4d334
updated a few comments
23 vuotta sitten
Brian Paul
b7f5e92f17
Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive
type, width, interp mask and array mask.
23 vuotta sitten
Brian Paul
9add9a21d8
new MMX blend code (Jose Fonseca)
23 vuotta sitten
Jouk Jansen
0cd8a1ea13
Committing in .
Update OpenVMS makefile
Modified Files:
Mesa/src/descrip.mms
----------------------------------------------------------------------
23 vuotta sitten
Keith Whitwell
306d3fcdba
bring in changes from dri tcl branch
23 vuotta sitten
Karl Schultz
e503d8b56f
Update filelist to reflect two removed source files.
23 vuotta sitten
Keith Whitwell
0a79baf1bf
remove dead vertex assembly
23 vuotta sitten
Keith Whitwell
851de7ded1
remove dead vertex assembly
23 vuotta sitten
Brian Paul
c030a18ea6
tranforming display list normals by non-uniform scale didn't work (Carlos Pereira)
23 vuotta sitten
Karl Schultz
17642eddf4
Added -perf option to measure frame rate. This is useful for measuring
Mesa in a more environment-independent way.
23 vuotta sitten
Brian Paul
ebe4e3237c
repair Array.NewState flags (Michael Fitzpatrick)
23 vuotta sitten