Felix Kuehling
15941b1d90
Cleaned up and slightly optimized the texture upload code.
21 years ago
Brian Paul
f76314a69a
remove redundant macros (also in m_matrix.h)
21 years ago
Daniel Borca
0c19008f09
Voodoo Rush fixes
21 years ago
Felix Kuehling
446d8d0b86
Swapout textures who's space is claimed by a new texture. Don't destroy.
This finally really fixes assertion failures in savageBindTexture.
I think the same situation with several contexts is still broken though.
21 years ago
Felix Kuehling
a5c68c872d
Fixed texture tiling format for 8bit texels on ProSavage and Twister.
21 years ago
Felix Kuehling
156df3e834
Rewrote tiled texture upload. Small mipmap levels work correctly now.
21 years ago
Felix Kuehling
2cd815b660
Fixed two small problems in the vertex setup.
- make sure that vertex setup is initialized
- Savage seems to need the W coordinate for smooth shading
21 years ago
Felix Kuehling
2c8dacea5f
Small texture management fixes. Should get rid of assertions some people were getting in savageBindTexture.
21 years ago
Brian Paul
9b71f621d1
plug in _mesa_BlendFunc into dispatch table
21 years ago
Brian Paul
d5e4f29cb9
a bunch of assorted clean-ups, etc to fix warnings, etc
21 years ago
Brian Paul
ff6031c209
remove some unneeded macros
21 years ago
Brian Paul
f753320f0f
casts to silence warnings
21 years ago
Brian Paul
c26c1ddd56
silence warnings
21 years ago
Brian Paul
94ec525ba5
yet another take on VBO deleting and reference counting
21 years ago
Michal Krol
3f94cef027
Initial changes after moving from src/mesa/main/.
Needs testing - it havent been even compiled yet.
21 years ago
Michal Krol
a904b493a9
Added missing Copyrights.
21 years ago
Felix Kuehling
2462f6bfa0
Clearing rectangle was one too big in each direction.
21 years ago
Michal Krol
0e7b1d8811
Grammar package supporting 8-bit registers.
TODO:
- add checking for duplicate symbols (or is it done already?)
- move all the statics (grammar objects list and last error message)
to the GL context state; I think simple pointer initialized in a
first call to ProgramString() is sufficent.
- apply an optimized version of match() - this will be needed for
glslang compiler.
21 years ago
Michal Krol
e05d4fbf0f
Added support for ARB_fragment_program_shadow.
21 years ago
Michal Krol
7bce486327
Initial registry for ARB_fragment_program and ARB_vertex_program.
21 years ago
Brian Paul
7c6a04f6d8
added clamping to polygon offset to prevent potential negative Z values and FP exceptions
21 years ago
Brian Paul
9a20a72cdc
comments, capitalization, misc-clean-ups
21 years ago
Brian Paul
e22540c276
s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
21 years ago
Brian Paul
26895aa797
more changes to VBO reference counting and deletion
21 years ago
Daniel Borca
5ee631c6ee
_tnl_allow_*_fog(...)
21 years ago
Daniel Borca
3abf2e4740
made NASM opcodes consistent
21 years ago
Felix Kuehling
fc17a6a35c
Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.
21 years ago
Felix Kuehling
2517a0ef21
Fixed some small state tracking issues while hunting a different problem.
21 years ago
Brian Paul
af745e5d4d
fixed linux-osmesa16-static. Added linux-static config
21 years ago
Brian Paul
411b8faac4
added missing error check in _mesa_BeginQueryARB (Cedric Gautier). minor clean-ups.
21 years ago
Daniel Borca
fa21787b52
workaround for crash-upon-exit in verbose mode
fxMesa now uses grQueryResolution
minor fixes to X11 and DOS drivers
21 years ago
Roland Scheidegger
725a56f157
Fix calling fallback_drawarrays() with the wrong arguments
21 years ago
Roland Scheidegger
8cff2ede6e
Add support for the new DRI driver interfaces to the radeon driver (patch ported from the r200 driver, r200_screen.c rev. 1.8 - 1.12)
21 years ago
Michel Dänzer
dbb0d2751f
Inline get_size as an interim measure to get rid of function call overhead.
21 years ago
Felix Kuehling
cac8d425a8
Corrected the maximum vertex size argument of _tnl_init_vertices.
21 years ago
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 years ago
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 years ago
Brian Paul
94f9d4c0dd
minor clean-ups
21 years ago
Brian Paul
833d96aa91
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
21 years ago
Brian Paul
8cfd08b613
rename some span pack/unpack functions for better uniformity
21 years ago
Brian Paul
d0582776a6
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
21 years ago
Brian Paul
456734aa0a
consolidate some code
21 years ago
Brian Paul
aaad687d51
replace color table FloatTable boolean with Type enum
21 years ago
Brian Paul
d14da2d5ae
paltex demo from recent texcombine changes. Minor clean-ups
21 years ago
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 years ago
Ian Romanick
1cb11ce1c5
Create all the right modes for 16-bit screens.
21 years ago
Ian Romanick
ad1e06fafe
Fix a problem with 24-bit screens. Modes with 0 stencil bits were
erroneously marked as GLX_SLOW_CONFIG.
21 years ago
Brian Paul
db79b5683c
move _mesa_load_state_parameters() to state validation stage
21 years ago
Brian Paul
579ea7ff7a
fix PK2H, UP2H, PK2US bugs
21 years ago
Brian Paul
fca9121a21
check for null paramList
21 years ago