Commit Graph

3973 Commits

Author SHA1 Message Date
Daniel Borca
3d06dc7581 accomodated new driver_func initialization
added DMesaGetProcAddress
some other minor fixes
updated documentation
2004-01-23 15:57:52 +00:00
Keith Whitwell
3abf746a7e Don't set extra bits in FLUSH_VERTICES, fix several state bugs. 2004-01-23 14:46:27 +00:00
Jouk Jansen
5c161cf615 Committing in .
Trying to remove the <CR> at the end of each line.

 Modified Files:
 	Mesa/src/mesa/descrip.mms
 	Mesa/src/mesa/drivers/common/descrip.mms
 	Mesa/src/mesa/drivers/osmesa/descrip.mms
 	Mesa/src/mesa/drivers/x11/descrip.mms
 ----------------------------------------------------------------------
2004-01-23 10:13:40 +00:00
Ian Romanick
ff2cc41ccb Modified error messages in _mesa_BlendFuncSeparateEXT to note that the
same function is used internally for glBlendFunc and
glBlendFuncSeparate.
2004-01-23 07:57:32 +00:00
Michel Dänzer
a2c97eb2ff Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
(Roland Scheidegger), and update lighting state unconditionally there.
Fixes lighting oddities in the xscreensaver endgame hack, bzflag and
possibly elsewhere.
2004-01-23 03:33:04 +00:00
Michel Dänzer
5d00e131d8 Fix attenuation hardware state handling, inspired by the R200 DDK reference
driver (our r200 driver basically didn't do this at all, maybe got lost
along the way?)
2004-01-23 03:19:47 +00:00
Brian Paul
4f295cee73 Initial support for floating point and signed texture formats.
New "FetchTexelFuncF()" function returns texels in floating point format.
Only used for depth component images at this time.
Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing
need for a bunch of ugly casts.
2004-01-23 01:59:54 +00:00
Brian Paul
edd1d86c74 misc updates 2004-01-23 01:56:26 +00:00
Keith Whitwell
dca71ea44b Minor tweaks to help out at a driver level. 2004-01-22 22:40:40 +00:00
Ian Romanick
004d71f554 Corrected a comment about how the DOT3 hardware works in the R200. 2004-01-22 16:25:02 +00:00
Jouk Jansen
03166f73f3 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	Mesa/Makefile.X11 Mesa/src/mesa/descrip.mms
 	Mesa/src/mesa/drivers/osmesa/descrip.mms
 	Mesa/src/mesa/drivers/x11/descrip.mms
 Added Files:
 	Mesa/src/mesa/drivers/common/descrip.mms
 ----------------------------------------------------------------------
2004-01-22 15:02:17 +00:00
Ian Romanick
afa446db83 Silence some compiler warnings. 2004-01-21 17:03:58 +00:00
Ian Romanick
169223c9ee Make the R200 driver work with the NewTextureObject in Mesa. Other
drivers that use the texmem interface will likely need similar changes.
2004-01-21 16:42:30 +00:00
Ian Romanick
34a7857411 Silence a compiler warning DRI builds using gcc3. 2004-01-21 16:26:05 +00:00
Keith Whitwell
66691ef5b5 Use new EMIT_PAD functionality for spec and/or fog as available.
Fix a couple of problems with texture emit.
2004-01-21 16:24:05 +00:00
Ian Romanick
20a17e42d7 Remove dd_function_table::BlendFunc. All drivers now use
dd_function_table:BlendFuncSeparate.  If a driver does not actually
support EXT_blend_func_separate, it can assume that the RGB and alpha
blend functions are the same.
2004-01-21 16:08:43 +00:00
Keith Whitwell
4d36f334c9 Another mechanism to create vertices with holes - a new EMIT_PAD style 2004-01-21 15:31:46 +00:00
Brian Paul
e98986bdd3 don't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etc 2004-01-21 04:13:49 +00:00
Brian Paul
a999e809af remove _mesa_check_driver_hooks() - it's really not too useful anymore 2004-01-20 23:55:45 +00:00
Brian Paul
4e713913fb Undo some bits from last check-in related to the ctx->Driver.NewTextureObject
functions.  Don't allocate the driver-specific data during texture object
creation but do it later as needed (as code originally was).
2004-01-20 15:24:50 +00:00
Daniel Borca
d4636e74c8 fixed a bug in VGA initialization routine 2004-01-20 14:15:35 +00:00
Keith Whitwell
e755144e79 remove duplicate t_dd_* files 2004-01-20 11:22:20 +00:00
Brian Paul
d8059008a2 initial 6.1 release notes with info about recent _mesa_create_context changes, etc. 2004-01-20 02:54:51 +00:00
Brian Paul
d3fd7ba8af Before calling _mesa_create_context(), initialize a dd_function_table struct
by calling _mesa_init_driver_functions() and then plugging in the driver-
specific functions.
In particular, make sure ctx->Driver.NewTextureObject points to the
appropriate driver function so that _all_ texture objects are augmented
with the driver-specific data.
Put in a bunch of assertions in the texture-related driver functions that
texObj->DriverData is valid.  Remove old dead code in near future.
2004-01-20 02:49:27 +00:00
Brian Paul
988a8862c8 _mesa_init_driver_functions() to initialize dd_function_table 2004-01-20 02:36:44 +00:00
Keith Whitwell
8d97ad18a7 some more count vs. end confusion 2004-01-19 23:29:40 +00:00
Brian Paul
6bf808bc6c replace -lm with $(GL_LIB_DEPS) to get -lexpat 2004-01-19 18:06:30 +00:00
Brian Paul
9c0b83556d replace CALLOC with MALLOC in _mesa_new_texture_object() 2004-01-19 17:41:02 +00:00
Brian Paul
c929f13701 remove incorrect comments, added _mesa_bzero() call in _mesa_initialize_texture_object() 2004-01-19 17:35:41 +00:00
Brian Paul
75c8a2e7be omit CVS directories from tarballs, bump version to 6.1 2004-01-19 16:56:50 +00:00
Keith Whitwell
ed43ecee90 Migrate i830 driver to t_vertex.[ch] for building hw vertices. 2004-01-19 10:41:35 +00:00
Brian Paul
41abe9e73f fix glitch from previous check-in (pointer vs int) 2004-01-19 00:32:43 +00:00
Brian Paul
77d240858e minor changes to silence warnings 2004-01-18 17:22:50 +00:00
Brian Paul
6a82d44d9c Change get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings. 2004-01-18 17:22:25 +00:00
Brian Paul
87745ce771 change Data ptr from GLbyte to GLubyte to silence warnings 2004-01-18 17:21:15 +00:00
Brian Paul
013dee06c1 include texobj.h to silence warnings 2004-01-18 17:20:41 +00:00
Brian Paul
e093e94298 s/char/GLubyte/ to silence warnings 2004-01-18 17:19:45 +00:00
Brian Paul
ef77464a7a include sched.h to get sched_yield() prototype 2004-01-18 17:19:05 +00:00
Brian Paul
97fcc0e77b make second param of driParseConfigFiles() const 2004-01-18 17:18:43 +00:00
Brian Paul
5b9a9d46d4 tweak OpenBSD and SunOS commands 2004-01-17 18:31:12 +00:00
Brian Paul
4eb16e3a67 tweak openbsd config 2004-01-17 18:30:52 +00:00
Brian Paul
66f2fd89ea added some missing FLUSH_VERTICES calls 2004-01-17 17:33:22 +00:00
Michel Dänzer
8d83242c8c Fix cosmetic GL_RENDERER string problem (Andreas Stenglein) 2004-01-17 16:05:40 +00:00
Brian Paul
edc9ffc748 bump version to 6.1 (new development) 2004-01-16 21:26:30 +00:00
Keith Whitwell
4a53f7bc74 Respect the 'in_use' field in the global LRU as a marker for
kernel-reserved memory regions.
2004-01-16 13:41:18 +00:00
Daniel Borca
48e89df25b fixed refresh rate control in Glide wrapper 2004-01-16 06:59:50 +00:00
Brian Paul
546214f3c8 tweaks for 6.0 release 2004-01-15 15:47:57 +00:00
Karl Schultz
46d6bd368d add casts to quiet compiler warnings 2004-01-15 15:43:07 +00:00
Brian Paul
6290ca42f2 fix -fomit-frame_pointer typo 2004-01-15 14:24:37 +00:00
Daniel Borca
f8761dc040 implemented glutTimerFunc 2004-01-15 08:30:05 +00:00