Daniel Borca
0c19008f09
Voodoo Rush fixes
pirms 21 gadiem
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.
pirms 21 gadiem
Felix Kuehling
a5c68c872d
Fixed texture tiling format for 8bit texels on ProSavage and Twister.
pirms 21 gadiem
Felix Kuehling
156df3e834
Rewrote tiled texture upload. Small mipmap levels work correctly now.
pirms 21 gadiem
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
pirms 21 gadiem
Felix Kuehling
2c8dacea5f
Small texture management fixes. Should get rid of assertions some people were getting in savageBindTexture.
pirms 21 gadiem
Brian Paul
9b71f621d1
plug in _mesa_BlendFunc into dispatch table
pirms 21 gadiem
Brian Paul
d5e4f29cb9
a bunch of assorted clean-ups, etc to fix warnings, etc
pirms 21 gadiem
Brian Paul
ff6031c209
remove some unneeded macros
pirms 21 gadiem
Brian Paul
f753320f0f
casts to silence warnings
pirms 21 gadiem
Brian Paul
c26c1ddd56
silence warnings
pirms 21 gadiem
Brian Paul
94ec525ba5
yet another take on VBO deleting and reference counting
pirms 21 gadiem
Michal Krol
3f94cef027
Initial changes after moving from src/mesa/main/.
Needs testing - it havent been even compiled yet.
pirms 21 gadiem
Michal Krol
a904b493a9
Added missing Copyrights.
pirms 21 gadiem
Felix Kuehling
2462f6bfa0
Clearing rectangle was one too big in each direction.
pirms 21 gadiem
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.
pirms 21 gadiem
Michal Krol
e05d4fbf0f
Added support for ARB_fragment_program_shadow.
pirms 21 gadiem
Michal Krol
7bce486327
Initial registry for ARB_fragment_program and ARB_vertex_program.
pirms 21 gadiem
Brian Paul
7c6a04f6d8
added clamping to polygon offset to prevent potential negative Z values and FP exceptions
pirms 21 gadiem
Brian Paul
9a20a72cdc
comments, capitalization, misc-clean-ups
pirms 21 gadiem
Brian Paul
e22540c276
s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
pirms 21 gadiem
Brian Paul
26895aa797
more changes to VBO reference counting and deletion
pirms 21 gadiem
Daniel Borca
5ee631c6ee
_tnl_allow_*_fog(...)
pirms 21 gadiem
Daniel Borca
3abf2e4740
made NASM opcodes consistent
pirms 21 gadiem
Felix Kuehling
fc17a6a35c
Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.
pirms 21 gadiem
Felix Kuehling
2517a0ef21
Fixed some small state tracking issues while hunting a different problem.
pirms 21 gadiem
Brian Paul
af745e5d4d
fixed linux-osmesa16-static. Added linux-static config
pirms 21 gadiem
Brian Paul
411b8faac4
added missing error check in _mesa_BeginQueryARB (Cedric Gautier). minor clean-ups.
pirms 21 gadiem
Daniel Borca
fa21787b52
workaround for crash-upon-exit in verbose mode
fxMesa now uses grQueryResolution
minor fixes to X11 and DOS drivers
pirms 21 gadiem
Roland Scheidegger
725a56f157
Fix calling fallback_drawarrays() with the wrong arguments
pirms 21 gadiem
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)
pirms 21 gadiem
Michel Dänzer
dbb0d2751f
Inline get_size as an interim measure to get rid of function call overhead.
pirms 21 gadiem
Felix Kuehling
cac8d425a8
Corrected the maximum vertex size argument of _tnl_init_vertices.
pirms 21 gadiem
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.
pirms 21 gadiem
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).
pirms 21 gadiem
Brian Paul
94f9d4c0dd
minor clean-ups
pirms 21 gadiem
Brian Paul
833d96aa91
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
pirms 21 gadiem
Brian Paul
8cfd08b613
rename some span pack/unpack functions for better uniformity
pirms 21 gadiem
Brian Paul
d0582776a6
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
pirms 21 gadiem
Brian Paul
456734aa0a
consolidate some code
pirms 21 gadiem
Brian Paul
aaad687d51
replace color table FloatTable boolean with Type enum
pirms 21 gadiem
Brian Paul
d14da2d5ae
paltex demo from recent texcombine changes. Minor clean-ups
pirms 21 gadiem
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.
pirms 21 gadiem
Ian Romanick
1cb11ce1c5
Create all the right modes for 16-bit screens.
pirms 21 gadiem
Ian Romanick
ad1e06fafe
Fix a problem with 24-bit screens. Modes with 0 stencil bits were
erroneously marked as GLX_SLOW_CONFIG.
pirms 21 gadiem
Brian Paul
db79b5683c
move _mesa_load_state_parameters() to state validation stage
pirms 21 gadiem
Brian Paul
579ea7ff7a
fix PK2H, UP2H, PK2US bugs
pirms 21 gadiem
Brian Paul
fca9121a21
check for null paramList
pirms 21 gadiem
Brian Paul
e6149fac64
check for invalid fragment program in glDrawPixels, glCopyPixels and glBitmap
pirms 21 gadiem
Brian Paul
1ef3d3a758
check for invalid vertex/fragment program in glBegin
pirms 21 gadiem