Felix Kuehling [Sat, 20 Mar 2004 19:40:09 +0000 (19:40 +0000)]
Fixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resulted
in another small speedup. Fixed a problem that was masked by that
WAIT_IDLE_EMPTY:
- flush command buffer and WAIT_IDLE_EMPTY before uploading textures
Felix Kuehling [Sat, 20 Mar 2004 17:12:06 +0000 (17:12 +0000)]
Cleaned up and fixed stencil fallback.
Brian Paul [Sat, 20 Mar 2004 00:22:27 +0000 (00:22 +0000)]
minor clean-ups
Brian Paul [Sat, 20 Mar 2004 00:08:20 +0000 (00:08 +0000)]
make null-terminated copy of program string so that parse works correctly
Brian Paul [Fri, 19 Mar 2004 23:11:13 +0000 (23:11 +0000)]
add missing else statements
Dave Airlie [Fri, 19 Mar 2004 10:20:23 +0000 (10:20 +0000)]
Add includes to make mach64 build
Brian Paul [Thu, 18 Mar 2004 18:17:33 +0000 (18:17 +0000)]
remove redundant call to ctx->Driver.Viewport(), and clean-ups
Brian Paul [Thu, 18 Mar 2004 16:02:27 +0000 (16:02 +0000)]
additional configs (Dan Schikore)
Brian Paul [Thu, 18 Mar 2004 15:41:59 +0000 (15:41 +0000)]
assorted updates and new AIX support (Dan Schikore)
Ian Romanick [Thu, 18 Mar 2004 00:16:44 +0000 (00:16 +0000)]
Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
Ian Romanick [Wed, 17 Mar 2004 20:50:12 +0000 (20:50 +0000)]
Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
Dave Airlie [Mon, 15 Mar 2004 23:27:33 +0000 (23:27 +0000)]
remove version number faking, shouldn't be needed anymore
Dave Airlie [Mon, 15 Mar 2004 23:26:49 +0000 (23:26 +0000)]
extend SOLO code so the DDX version isn't checked
Keith Whitwell [Mon, 15 Mar 2004 15:41:46 +0000 (15:41 +0000)]
Sketch of codegen templates for t_vtx_api.c, not complete
Keith Whitwell [Mon, 15 Mar 2004 14:36:16 +0000 (14:36 +0000)]
Streamline the error path in VertexAttrib functions. Makes things
slightly easier for codegen.
Daniel Borca [Mon, 15 Mar 2004 09:17:07 +0000 (09:17 +0000)]
unfinished SOLO driver for TDFX
Dave Airlie [Mon, 15 Mar 2004 06:30:37 +0000 (06:30 +0000)]
couple of steps closer still not fully working.. something amiss in ring
buffer ..
Dave Airlie [Mon, 15 Mar 2004 05:20:08 +0000 (05:20 +0000)]
Initial i810_dri.c for miniglx isn't fully functional yet...
Dave Airlie [Mon, 15 Mar 2004 03:39:52 +0000 (03:39 +0000)]
use utility function to check versions
Brian Paul [Sun, 14 Mar 2004 18:12:06 +0000 (18:12 +0000)]
more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)
Brian Paul [Sun, 14 Mar 2004 16:41:49 +0000 (16:41 +0000)]
fix stride bug in RGB and BGR span rendering
Brian Paul [Sat, 13 Mar 2004 18:31:14 +0000 (18:31 +0000)]
GL_EXT_pixel_buffer_object test
Brian Paul [Sat, 13 Mar 2004 18:27:06 +0000 (18:27 +0000)]
Added some comments. Minor const, int->GLint type changes, etc.
Brian Paul [Sat, 13 Mar 2004 18:21:40 +0000 (18:21 +0000)]
Implementation of GL_EXT_pixel_buffer_object extension.
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.
Brian Paul [Sat, 13 Mar 2004 16:32:58 +0000 (16:32 +0000)]
more descriptive error messages for matrix stack over/underflows
Jon Smirl [Fri, 12 Mar 2004 20:03:54 +0000 (20:03 +0000)]
Adjust includes to help DRI build
Jon Smirl [Fri, 12 Mar 2004 05:22:13 +0000 (05:22 +0000)]
Adjust mga drivers to remove redundant h file for sarea and IOCTLs
Jon Smirl [Fri, 12 Mar 2004 03:50:30 +0000 (03:50 +0000)]
Make R128 driver use sarea/defines from DRM. removed r128_common.h
and r128_sarea.h since they are redundant now.
Jon Smirl [Fri, 12 Mar 2004 01:18:19 +0000 (01:18 +0000)]
These files are redundant now. Definitions come from DRM files.
Jon Smirl [Thu, 11 Mar 2004 20:35:38 +0000 (20:35 +0000)]
Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
Michal Krol [Wed, 10 Mar 2004 18:02:01 +0000 (18:02 +0000)]
Moved from src/mesa/main.
Brian Paul [Wed, 10 Mar 2004 16:17:35 +0000 (16:17 +0000)]
don't futz with GL_CLIENT_ACTIVE_TEXTURE in glClientActiveTexture (Robert Merrill)
Michal Krol [Wed, 10 Mar 2004 14:54:47 +0000 (14:54 +0000)]
Fixed a number of typos.
Dave Airlie [Wed, 10 Mar 2004 03:45:28 +0000 (03:45 +0000)]
add xmlconfig.c to solo build
Dave Airlie [Wed, 10 Mar 2004 03:43:15 +0000 (03:43 +0000)]
back port span changes from i810, these have been in my tree for a while seem
fine ..
Brian Paul [Tue, 9 Mar 2004 18:04:04 +0000 (18:04 +0000)]
remove unneeded casts
Brian Paul [Tue, 9 Mar 2004 16:58:26 +0000 (16:58 +0000)]
Fix color index mode rendering.
Changed SWvertex's index field to GLfloat and fix a few other bits.
Daniel Borca [Tue, 9 Mar 2004 11:23:39 +0000 (11:23 +0000)]
fxMesa: remove buffer_obj_ext, cos it breaks UT2004
Felix Kuehling [Mon, 8 Mar 2004 23:01:47 +0000 (23:01 +0000)]
Cleaned up and slightly optimized the texture upload code.
Brian Paul [Mon, 8 Mar 2004 18:30:45 +0000 (18:30 +0000)]
remove redundant macros (also in m_matrix.h)
Daniel Borca [Mon, 8 Mar 2004 07:52:18 +0000 (07:52 +0000)]
Voodoo Rush fixes
Felix Kuehling [Mon, 8 Mar 2004 00:34:43 +0000 (00:34 +0000)]
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.
Felix Kuehling [Sun, 7 Mar 2004 23:32:31 +0000 (23:32 +0000)]
Fixed texture tiling format for 8bit texels on ProSavage and Twister.
Felix Kuehling [Sun, 7 Mar 2004 20:41:42 +0000 (20:41 +0000)]
Rewrote tiled texture upload. Small mipmap levels work correctly now.
Felix Kuehling [Sun, 7 Mar 2004 01:36:50 +0000 (01:36 +0000)]
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
Felix Kuehling [Thu, 4 Mar 2004 22:11:38 +0000 (22:11 +0000)]
Small texture management fixes. Should get rid of assertions some people were getting in savageBindTexture.
Brian Paul [Thu, 4 Mar 2004 17:14:08 +0000 (17:14 +0000)]
plug in _mesa_BlendFunc into dispatch table
Brian Paul [Thu, 4 Mar 2004 16:22:01 +0000 (16:22 +0000)]
a bunch of assorted clean-ups, etc to fix warnings, etc
Brian Paul [Thu, 4 Mar 2004 16:20:38 +0000 (16:20 +0000)]
remove some unneeded macros
Brian Paul [Thu, 4 Mar 2004 14:56:34 +0000 (14:56 +0000)]
casts to silence warnings
Brian Paul [Thu, 4 Mar 2004 14:52:59 +0000 (14:52 +0000)]
silence warnings
Brian Paul [Thu, 4 Mar 2004 14:46:00 +0000 (14:46 +0000)]
yet another take on VBO deleting and reference counting
Michal Krol [Thu, 4 Mar 2004 13:15:32 +0000 (13:15 +0000)]
Initial changes after moving from src/mesa/main/.
Needs testing - it havent been even compiled yet.
Michal Krol [Thu, 4 Mar 2004 13:07:52 +0000 (13:07 +0000)]
Added missing Copyrights.
Felix Kuehling [Thu, 4 Mar 2004 00:27:36 +0000 (00:27 +0000)]
Clearing rectangle was one too big in each direction.
Michal Krol [Wed, 3 Mar 2004 18:10:40 +0000 (18:10 +0000)]
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.
Michal Krol [Wed, 3 Mar 2004 18:01:58 +0000 (18:01 +0000)]
Added support for ARB_fragment_program_shadow.
Michal Krol [Wed, 3 Mar 2004 17:59:49 +0000 (17:59 +0000)]
Initial registry for ARB_fragment_program and ARB_vertex_program.
Brian Paul [Wed, 3 Mar 2004 15:50:28 +0000 (15:50 +0000)]
added clamping to polygon offset to prevent potential negative Z values and FP exceptions
Brian Paul [Wed, 3 Mar 2004 15:36:53 +0000 (15:36 +0000)]
comments, capitalization, misc-clean-ups
Brian Paul [Wed, 3 Mar 2004 15:36:01 +0000 (15:36 +0000)]
s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
Brian Paul [Wed, 3 Mar 2004 15:35:08 +0000 (15:35 +0000)]
more changes to VBO reference counting and deletion
Daniel Borca [Wed, 3 Mar 2004 09:07:43 +0000 (09:07 +0000)]
_tnl_allow_*_fog(...)
Daniel Borca [Wed, 3 Mar 2004 09:03:40 +0000 (09:03 +0000)]
made NASM opcodes consistent
Felix Kuehling [Tue, 2 Mar 2004 23:48:32 +0000 (23:48 +0000)]
Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.
Felix Kuehling [Tue, 2 Mar 2004 23:45:40 +0000 (23:45 +0000)]
Fixed some small state tracking issues while hunting a different problem.
Brian Paul [Tue, 2 Mar 2004 17:28:56 +0000 (17:28 +0000)]
fixed linux-osmesa16-static. Added linux-static config
Brian Paul [Tue, 2 Mar 2004 15:21:51 +0000 (15:21 +0000)]
added missing error check in _mesa_BeginQueryARB (Cedric Gautier). minor clean-ups.
Daniel Borca [Tue, 2 Mar 2004 08:15:24 +0000 (08:15 +0000)]
workaround for crash-upon-exit in verbose mode
fxMesa now uses grQueryResolution
minor fixes to X11 and DOS drivers
Roland Scheidegger [Mon, 1 Mar 2004 23:29:27 +0000 (23:29 +0000)]
Fix calling fallback_drawarrays() with the wrong arguments
Roland Scheidegger [Mon, 1 Mar 2004 17:49:59 +0000 (17:49 +0000)]
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)
Michel Dänzer [Mon, 1 Mar 2004 13:02:29 +0000 (13:02 +0000)]
Inline get_size as an interim measure to get rid of function call overhead.
Felix Kuehling [Sun, 29 Feb 2004 20:43:54 +0000 (20:43 +0000)]
Corrected the maximum vertex size argument of _tnl_init_vertices.
Felix Kuehling [Sun, 29 Feb 2004 20:42:22 +0000 (20:42 +0000)]
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.
Brian Paul [Sat, 28 Feb 2004 22:30:58 +0000 (22:30 +0000)]
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).
Brian Paul [Sat, 28 Feb 2004 21:19:27 +0000 (21:19 +0000)]
minor clean-ups
Brian Paul [Sat, 28 Feb 2004 21:10:19 +0000 (21:10 +0000)]
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
Brian Paul [Sat, 28 Feb 2004 20:35:57 +0000 (20:35 +0000)]
rename some span pack/unpack functions for better uniformity
Brian Paul [Sat, 28 Feb 2004 20:12:33 +0000 (20:12 +0000)]
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
Brian Paul [Sat, 28 Feb 2004 19:58:19 +0000 (19:58 +0000)]
consolidate some code
Brian Paul [Sat, 28 Feb 2004 19:34:05 +0000 (19:34 +0000)]
replace color table FloatTable boolean with Type enum
Brian Paul [Sat, 28 Feb 2004 19:33:03 +0000 (19:33 +0000)]
paltex demo from recent texcombine changes. Minor clean-ups
Michel Dänzer [Sat, 28 Feb 2004 13:25:25 +0000 (13:25 +0000)]
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.
Ian Romanick [Fri, 27 Feb 2004 19:12:29 +0000 (19:12 +0000)]
Create all the right modes for 16-bit screens.
Ian Romanick [Fri, 27 Feb 2004 19:11:08 +0000 (19:11 +0000)]
Fix a problem with 24-bit screens. Modes with 0 stencil bits were
erroneously marked as GLX_SLOW_CONFIG.
Brian Paul [Fri, 27 Feb 2004 02:13:29 +0000 (02:13 +0000)]
move _mesa_load_state_parameters() to state validation stage
Brian Paul [Fri, 27 Feb 2004 01:28:24 +0000 (01:28 +0000)]
fix PK2H, UP2H, PK2US bugs
Brian Paul [Thu, 26 Feb 2004 22:20:29 +0000 (22:20 +0000)]
check for null paramList
Brian Paul [Thu, 26 Feb 2004 22:13:32 +0000 (22:13 +0000)]
check for invalid fragment program in glDrawPixels, glCopyPixels and glBitmap
Brian Paul [Thu, 26 Feb 2004 22:09:28 +0000 (22:09 +0000)]
check for invalid vertex/fragment program in glBegin
Brian Paul [Thu, 26 Feb 2004 22:09:05 +0000 (22:09 +0000)]
fix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions
Brian Paul [Thu, 26 Feb 2004 15:21:41 +0000 (15:21 +0000)]
fix library naming glitches (bug 904867)
Brian Paul [Thu, 26 Feb 2004 14:58:11 +0000 (14:58 +0000)]
Fix C/C++ calling conventions problem (Bug 904854)
Felix Kuehling [Thu, 26 Feb 2004 13:22:16 +0000 (13:22 +0000)]
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
Felix Kuehling [Thu, 26 Feb 2004 12:19:41 +0000 (12:19 +0000)]
Adapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all savage vertex formats.
Felix Kuehling [Thu, 26 Feb 2004 01:00:00 +0000 (01:00 +0000)]
Forgot to remove savagevb.h in last commit.
Felix Kuehling [Thu, 26 Feb 2004 00:59:00 +0000 (00:59 +0000)]
Converted vertex setup to use t_vertex.[ch].
Ian Romanick [Thu, 26 Feb 2004 00:33:22 +0000 (00:33 +0000)]
Create all the right modes for 16-bit screens.
Brian Paul [Thu, 26 Feb 2004 00:28:03 +0000 (00:28 +0000)]
added _tnl_allow_vertex/pixel_fog() calls
Felix Kuehling [Wed, 25 Feb 2004 20:47:46 +0000 (20:47 +0000)]
Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)