Michel Dänzer
dbb0d2751f
Inline get_size as an interim measure to get rid of function call overhead.
21 anni fa
Felix Kuehling
cac8d425a8
Corrected the maximum vertex size argument of _tnl_init_vertices.
21 anni fa
Felix Kuehling
c6338e60ff
Reorganized hardware state data structures and state emission. Don't track
which registers changed in all the functions that change the state. Instead
check which registers changed in the end when the hardware state is updated.
Tried to avoid cosmetic (whitespace) changes in this commit.
21 anni fa
Brian Paul
4923e1926a
Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the
IMAGE_CLAMP_BIT if needed.
Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation
of upcoming extensions (not fully used yet).
21 anni fa
Brian Paul
94f9d4c0dd
minor clean-ups
21 anni fa
Brian Paul
833d96aa91
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
21 anni fa
Brian Paul
8cfd08b613
rename some span pack/unpack functions for better uniformity
21 anni fa
Brian Paul
d0582776a6
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
21 anni fa
Brian Paul
456734aa0a
consolidate some code
21 anni fa
Brian Paul
aaad687d51
replace color table FloatTable boolean with Type enum
21 anni fa
Brian Paul
d14da2d5ae
paltex demo from recent texcombine changes. Minor clean-ups
21 anni fa
Michel Dänzer
e2df3d01af
Only print message about disabling HW TCL if the chip supports it in the
first place, and make the message a bit clearer.
+ Remove some extraneous whitespace.
21 anni fa
Ian Romanick
1cb11ce1c5
Create all the right modes for 16-bit screens.
21 anni fa
Ian Romanick
ad1e06fafe
Fix a problem with 24-bit screens. Modes with 0 stencil bits were
erroneously marked as GLX_SLOW_CONFIG.
21 anni fa
Brian Paul
db79b5683c
move _mesa_load_state_parameters() to state validation stage
21 anni fa
Brian Paul
579ea7ff7a
fix PK2H, UP2H, PK2US bugs
21 anni fa
Brian Paul
fca9121a21
check for null paramList
21 anni fa
Brian Paul
e6149fac64
check for invalid fragment program in glDrawPixels, glCopyPixels and glBitmap
21 anni fa
Brian Paul
1ef3d3a758
check for invalid vertex/fragment program in glBegin
21 anni fa
Brian Paul
04207ab7e2
fix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions
21 anni fa
Brian Paul
09a4f915d3
fix library naming glitches (bug 904867)
21 anni fa
Brian Paul
c8957aa896
Fix C/C++ calling conventions problem (Bug 904854)
21 anni fa
Felix Kuehling
89d04e4623
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
21 anni fa
Felix Kuehling
76283a9079
Adapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all savage vertex formats.
21 anni fa
Felix Kuehling
229654d815
Forgot to remove savagevb.h in last commit.
21 anni fa
Felix Kuehling
d9a0330872
Converted vertex setup to use t_vertex.[ch].
21 anni fa
Ian Romanick
795f1faf81
Create all the right modes for 16-bit screens.
21 anni fa
Brian Paul
04bcaac383
added _tnl_allow_vertex/pixel_fog() calls
21 anni fa
Felix Kuehling
21893e56e0
Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)
21 anni fa
Brian Paul
54056db8db
use ABS(Z) when computing blend factors
21 anni fa
Brian Paul
20e25ca50a
call _tnl_allow_pixel/vertex_fog() funcs
21 anni fa
Brian Paul
8d407300c2
turns out we probably need a _tnl_allow_pixel_fog() function afterall
21 anni fa
Brian Paul
4d5dddd125
jump through dispatch table instead of calling gl functions directly
21 anni fa
Brian Paul
9d1ff8c1bb
fix incorrect texcoord attribute index
21 anni fa
Brian Paul
2615e81620
added some GLAPIENTRY keywords, minor clean-ups
21 anni fa
Brian Paul
4a048e5e48
s/transform/tnl/
21 anni fa
Brian Paul
0adce8f7c7
upgraded to version 22
21 anni fa
Brian Paul
1e3d868ffb
Yet another revision of _ae_update_state(). Issue both conventional AND
generic vertex attribute commands, ignoring ctx->VertexProgram.Enabled
since this function may be used during display list compilation.
21 anni fa
Brian Paul
0f1e19c03c
added some const keywords
21 anni fa
Brian Paul
ffa7eff9ff
glDrawArrays loop was wrong
21 anni fa
Brian Paul
cf20f8cc3f
updates from Erdi Chen
21 anni fa
Brian Paul
537f42e240
fix typo (Matt Case)
21 anni fa
Ian Romanick
c00fbd55ba
The available GLX version is now logged in addition to the client
version and the server version.
21 anni fa
Dave Airlie
001dc022fc
delete the textures
21 anni fa
Felix Kuehling
263581bba4
Imported the Savage DRI driver from the savage-2-0-0-branch of DRI CVS
with modifications to make it work with current Mesa 6.
21 anni fa
Brian Paul
6e450f22bb
some minor tweaks
21 anni fa
Daniel Borca
2aa84490c0
fixed some typos
21 anni fa
Ian Romanick
304d3aa9cb
Refactored several variables out of XMesaVisual in favor of identical
fields in __GLcontextModes (the base type). Removed the need to keep
the XMesaVisualInfo pointer when building inside the X-server.
21 anni fa
Brian Paul
e01370271e
recent bug fixes/changes (fog, glArrayElement, triangle rasterization)
21 anni fa
Brian Paul
0733dbb011
A few more tweaks to fog code.
Remove unneeded FABSF() macros.
Added blend factor clamping in a few spots.
21 anni fa