Commit Graph

4192 Commits

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