Brian Paul
94ec525ba5
yet another take on VBO deleting and reference counting
21 anos atrás
Michal Krol
3f94cef027
Initial changes after moving from src/mesa/main/.
Needs testing - it havent been even compiled yet.
21 anos atrás
Michal Krol
a904b493a9
Added missing Copyrights.
21 anos atrás
Felix Kuehling
2462f6bfa0
Clearing rectangle was one too big in each direction.
21 anos atrás
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 anos atrás
Michal Krol
e05d4fbf0f
Added support for ARB_fragment_program_shadow.
21 anos atrás
Michal Krol
7bce486327
Initial registry for ARB_fragment_program and ARB_vertex_program.
21 anos atrás
Brian Paul
7c6a04f6d8
added clamping to polygon offset to prevent potential negative Z values and FP exceptions
21 anos atrás
Brian Paul
9a20a72cdc
comments, capitalization, misc-clean-ups
21 anos atrás
Brian Paul
e22540c276
s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
21 anos atrás
Brian Paul
26895aa797
more changes to VBO reference counting and deletion
21 anos atrás
Daniel Borca
5ee631c6ee
_tnl_allow_*_fog(...)
21 anos atrás
Daniel Borca
3abf2e4740
made NASM opcodes consistent
21 anos atrás
Felix Kuehling
fc17a6a35c
Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.
21 anos atrás
Felix Kuehling
2517a0ef21
Fixed some small state tracking issues while hunting a different problem.
21 anos atrás
Brian Paul
af745e5d4d
fixed linux-osmesa16-static. Added linux-static config
21 anos atrás
Brian Paul
411b8faac4
added missing error check in _mesa_BeginQueryARB (Cedric Gautier). minor clean-ups.
21 anos atrás
Daniel Borca
fa21787b52
workaround for crash-upon-exit in verbose mode
fxMesa now uses grQueryResolution
minor fixes to X11 and DOS drivers
21 anos atrás
Roland Scheidegger
725a56f157
Fix calling fallback_drawarrays() with the wrong arguments
21 anos atrás
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 anos atrás
Michel Dänzer
dbb0d2751f
Inline get_size as an interim measure to get rid of function call overhead.
21 anos atrás
Felix Kuehling
cac8d425a8
Corrected the maximum vertex size argument of _tnl_init_vertices.
21 anos atrás
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 anos atrás
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 anos atrás
Brian Paul
94f9d4c0dd
minor clean-ups
21 anos atrás
Brian Paul
833d96aa91
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
21 anos atrás
Brian Paul
8cfd08b613
rename some span pack/unpack functions for better uniformity
21 anos atrás
Brian Paul
d0582776a6
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
21 anos atrás
Brian Paul
456734aa0a
consolidate some code
21 anos atrás
Brian Paul
aaad687d51
replace color table FloatTable boolean with Type enum
21 anos atrás
Brian Paul
d14da2d5ae
paltex demo from recent texcombine changes. Minor clean-ups
21 anos atrás
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 anos atrás
Ian Romanick
1cb11ce1c5
Create all the right modes for 16-bit screens.
21 anos atrás
Ian Romanick
ad1e06fafe
Fix a problem with 24-bit screens. Modes with 0 stencil bits were
erroneously marked as GLX_SLOW_CONFIG.
21 anos atrás
Brian Paul
db79b5683c
move _mesa_load_state_parameters() to state validation stage
21 anos atrás
Brian Paul
579ea7ff7a
fix PK2H, UP2H, PK2US bugs
21 anos atrás
Brian Paul
fca9121a21
check for null paramList
21 anos atrás
Brian Paul
e6149fac64
check for invalid fragment program in glDrawPixels, glCopyPixels and glBitmap
21 anos atrás
Brian Paul
1ef3d3a758
check for invalid vertex/fragment program in glBegin
21 anos atrás
Brian Paul
04207ab7e2
fix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions
21 anos atrás
Brian Paul
09a4f915d3
fix library naming glitches (bug 904867)
21 anos atrás
Brian Paul
c8957aa896
Fix C/C++ calling conventions problem (Bug 904854)
21 anos atrás
Felix Kuehling
89d04e4623
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
21 anos atrás
Felix Kuehling
76283a9079
Adapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all savage vertex formats.
21 anos atrás
Felix Kuehling
229654d815
Forgot to remove savagevb.h in last commit.
21 anos atrás
Felix Kuehling
d9a0330872
Converted vertex setup to use t_vertex.[ch].
21 anos atrás
Ian Romanick
795f1faf81
Create all the right modes for 16-bit screens.
21 anos atrás
Brian Paul
04bcaac383
added _tnl_allow_vertex/pixel_fog() calls
21 anos atrás
Felix Kuehling
21893e56e0
Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)
21 anos atrás
Brian Paul
54056db8db
use ABS(Z) when computing blend factors
21 anos atrás