Commit graph

201327 commits

Author SHA1 Message Date
Keith Whitwell
c5fb1b7922 Sketch of codegen templates for t_vtx_api.c, not complete 2004-03-15 15:41:46 +00:00
Keith Whitwell
5262dcccc8 Streamline the error path in VertexAttrib functions. Makes things
slightly easier for codegen.
2004-03-15 14:36:16 +00:00
Daniel Borca
d83e9d9c00 unfinished SOLO driver for TDFX 2004-03-15 09:17:07 +00:00
Dave Airlie
e8036d23d7 couple of steps closer still not fully working.. something amiss in ring
buffer ..
2004-03-15 06:30:37 +00:00
Dave Airlie
6ff468d19e Initial i810_dri.c for miniglx isn't fully functional yet... 2004-03-15 05:20:08 +00:00
Dave Airlie
f4d07d4118 use utility function to check versions 2004-03-15 03:39:52 +00:00
Brian Paul
7d05e48478 more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad) 2004-03-14 18:12:06 +00:00
Brian Paul
3340a9ea9e fix stride bug in RGB and BGR span rendering 2004-03-14 16:41:49 +00:00
Brian Paul
746e59f207 GL_EXT_pixel_buffer_object test 2004-03-13 18:31:14 +00:00
Brian Paul
fde4c53a7d Added some comments. Minor const, int->GLint type changes, etc. 2004-03-13 18:27:06 +00:00
Brian Paul
7a6b71ef29 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.
2004-03-13 18:21:40 +00:00
Brian Paul
5498e8b9f3 more descriptive error messages for matrix stack over/underflows 2004-03-13 16:32:58 +00:00
Jon Smirl
6ddfdff659 Adjust includes to help DRI build 2004-03-12 20:03:54 +00:00
Jon Smirl
d613cca2e4 Adjust mga drivers to remove redundant h file for sarea and IOCTLs 2004-03-12 05:22:13 +00:00
Jon Smirl
ba5c49ab42 Make R128 driver use sarea/defines from DRM. removed r128_common.h
and r128_sarea.h since they are redundant now.
2004-03-12 03:50:30 +00:00
Jon Smirl
5fb0763d2e These files are redundant now. Definitions come from DRM files. 2004-03-12 01:18:19 +00:00
Jon Smirl
ae4a1cc066 Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
2004-03-11 20:35:38 +00:00
Michal Krol
157ec8bcf8 Moved from src/mesa/main. 2004-03-10 18:02:01 +00:00
Brian Paul
ab928e57b9 don't futz with GL_CLIENT_ACTIVE_TEXTURE in glClientActiveTexture (Robert Merrill) 2004-03-10 16:17:35 +00:00
Michal Krol
30e6dda368 Fixed a number of typos. 2004-03-10 14:54:47 +00:00
Dave Airlie
7463640e17 add xmlconfig.c to solo build 2004-03-10 03:45:28 +00:00
Dave Airlie
d4b6724253 back port span changes from i810, these have been in my tree for a while seem
fine ..
2004-03-10 03:43:15 +00:00
Brian Paul
b2dd5095c4 remove unneeded casts 2004-03-09 18:04:04 +00:00
Brian Paul
1e4731f644 Fix color index mode rendering.
Changed SWvertex's index field to GLfloat and fix a few other bits.
2004-03-09 16:58:26 +00:00
Daniel Borca
7bcada8c27 fxMesa: remove buffer_obj_ext, cos it breaks UT2004 2004-03-09 11:23:39 +00:00
Felix Kuehling
15941b1d90 Cleaned up and slightly optimized the texture upload code. 2004-03-08 23:01:47 +00:00
Brian Paul
f76314a69a remove redundant macros (also in m_matrix.h) 2004-03-08 18:30:45 +00:00
Daniel Borca
0c19008f09 Voodoo Rush fixes 2004-03-08 07:52:18 +00:00
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.
2004-03-08 00:34:43 +00:00
Felix Kuehling
a5c68c872d Fixed texture tiling format for 8bit texels on ProSavage and Twister. 2004-03-07 23:32:31 +00:00
Felix Kuehling
156df3e834 Rewrote tiled texture upload. Small mipmap levels work correctly now. 2004-03-07 20:41:42 +00:00
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
2004-03-07 01:36:50 +00:00
Felix Kuehling
2c8dacea5f Small texture management fixes. Should get rid of assertions some people were getting in savageBindTexture. 2004-03-04 22:11:38 +00:00
Brian Paul
9b71f621d1 plug in _mesa_BlendFunc into dispatch table 2004-03-04 17:14:08 +00:00
Brian Paul
d5e4f29cb9 a bunch of assorted clean-ups, etc to fix warnings, etc 2004-03-04 16:22:01 +00:00
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