platform/upstream/mesa.git
18 years agoadd missing fallback string for ARB_vertex_program
Roland Scheidegger [Fri, 9 Sep 2005 12:51:38 +0000 (12:51 +0000)]
add missing fallback string for ARB_vertex_program

18 years agoFix wrong fallback bit being set by the tcl fallback caused by ARB_vertex_program...
Roland Scheidegger [Fri, 9 Sep 2005 01:38:21 +0000 (01:38 +0000)]
Fix wrong fallback bit being set by the tcl fallback caused by ARB_vertex_program. Disable ARB_vertex_program by default - it is incredibly slow, and just plain doesn't work anyway (arbvptorus fails an assertion, arbvpmesh has bogus output)

18 years agouse an explicit reserved field, rather than magic number in bound
Keith Whitwell [Thu, 8 Sep 2005 21:40:10 +0000 (21:40 +0000)]
use an explicit reserved field, rather than magic number in bound

18 years agoFix the comment for the 'bound' field: it's a bitmask, not an index.
Brian Paul [Thu, 8 Sep 2005 18:47:36 +0000 (18:47 +0000)]
Fix the comment for the 'bound' field: it's a bitmask, not an index.
In driTexturesGone(), set bound = 0, not 99.

18 years agoKeep NumTemporaries uptodate.
Keith Whitwell [Thu, 8 Sep 2005 18:45:03 +0000 (18:45 +0000)]
Keep NumTemporaries uptodate.
Make sure oC alpha is populated when separate_specular enabled.

18 years agoTreat NegateBase as a bitfield, not a boolean.
Keith Whitwell [Thu, 8 Sep 2005 18:36:39 +0000 (18:36 +0000)]
Treat NegateBase as a bitfield, not a boolean.

18 years agobe consistent in populating NegateBase field
Keith Whitwell [Thu, 8 Sep 2005 18:35:48 +0000 (18:35 +0000)]
be consistent in populating NegateBase field

18 years agocheck for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
Brian Paul [Thu, 8 Sep 2005 15:28:45 +0000 (15:28 +0000)]
check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places

18 years agofix precision problem in depth clearing (bug 4395)
Brian Paul [Thu, 8 Sep 2005 13:55:05 +0000 (13:55 +0000)]
fix precision problem in depth clearing (bug 4395)

18 years agofix incorrect swizzling handling. fix code so it can potentially handle implementatio...
Roland Scheidegger [Thu, 8 Sep 2005 13:41:54 +0000 (13:41 +0000)]
fix incorrect swizzling handling. fix code so it can potentially handle implementations with less than 6 texture units correctly.

18 years ago Committing in .
Jouk Jansen [Thu, 8 Sep 2005 10:05:37 +0000 (10:05 +0000)]
 Committing in .

 Define suseconds_t for OpenVMS

 Modified Files:
  Mesa/src/mesa/drivers/x11/xm_dd.c
 ----------------------------------------------------------------------

18 years agoadd a bunch of FLUSH_VERTICES to some of the ATI_fs functions, most notably when...
Roland Scheidegger [Thu, 8 Sep 2005 00:12:57 +0000 (00:12 +0000)]
add a bunch of FLUSH_VERTICES to some of the ATI_fs functions, most notably when changing the global ati fragment shader constants.

18 years agosome clean-up and re-org for renderbuffers
Brian Paul [Wed, 7 Sep 2005 23:28:41 +0000 (23:28 +0000)]
some clean-up and re-org for renderbuffers

18 years agosome updates, but code still out of date
Brian Paul [Wed, 7 Sep 2005 23:26:01 +0000 (23:26 +0000)]
some updates, but code still out of date

18 years agonew comment
Brian Paul [Wed, 7 Sep 2005 23:21:59 +0000 (23:21 +0000)]
new comment

18 years agominor tweaks to _mesa_ResizeBuffersMESA()
Brian Paul [Wed, 7 Sep 2005 23:21:40 +0000 (23:21 +0000)]
minor tweaks to _mesa_ResizeBuffersMESA()

18 years agofix bug with ATI_fragment_shader in swrast (need to copy all 4 values due to later...
Roland Scheidegger [Wed, 7 Sep 2005 21:59:30 +0000 (21:59 +0000)]
fix bug with ATI_fragment_shader in swrast (need to copy all 4 values due to later applied srcRep)

18 years agotry to fix renderbuffer breakage, primarily in calculate_buffer_parameters()
Brian Paul [Wed, 7 Sep 2005 18:32:29 +0000 (18:32 +0000)]
try to fix renderbuffer breakage, primarily in calculate_buffer_parameters()

18 years agominor formatting fix
Brian Paul [Tue, 6 Sep 2005 21:22:16 +0000 (21:22 +0000)]
minor formatting fix

18 years agoadded viaRenderbufferStorage() function
Brian Paul [Tue, 6 Sep 2005 20:42:23 +0000 (20:42 +0000)]
added viaRenderbufferStorage() function

18 years agojust changes/updates to comments
Brian Paul [Tue, 6 Sep 2005 14:47:57 +0000 (14:47 +0000)]
just changes/updates to comments

18 years agoadded -Wmissing-prototypes to WARN_FLAGS
Brian Paul [Tue, 6 Sep 2005 03:13:18 +0000 (03:13 +0000)]
added -Wmissing-prototypes to WARN_FLAGS

18 years agoUse mklib script instead of ar. Make libmesa.a instead of mesa.a
Brian Paul [Tue, 6 Sep 2005 03:02:01 +0000 (03:02 +0000)]
Use mklib script instead of ar.  Make libmesa.a instead of mesa.a

18 years agoremove DEFARRAY, CHECKARRAY stuff
Brian Paul [Tue, 6 Sep 2005 02:56:51 +0000 (02:56 +0000)]
remove DEFARRAY, CHECKARRAY stuff

18 years agominor clean-up of texture_combine()
Brian Paul [Tue, 6 Sep 2005 02:55:34 +0000 (02:55 +0000)]
minor clean-up of texture_combine()

18 years agodon't use DEFARRAY/CHECKARRAY stuff
Brian Paul [Tue, 6 Sep 2005 02:44:00 +0000 (02:44 +0000)]
don't use DEFARRAY/CHECKARRAY stuff

18 years agomake some functions static
Brian Paul [Mon, 5 Sep 2005 21:17:44 +0000 (21:17 +0000)]
make some functions static

18 years agomake r128SpanRenderStart/Finish static
Brian Paul [Mon, 5 Sep 2005 21:09:22 +0000 (21:09 +0000)]
make r128SpanRenderStart/Finish static

18 years agoremove obsolete CurrentBufferBit
Brian Paul [Mon, 5 Sep 2005 21:04:22 +0000 (21:04 +0000)]
remove obsolete CurrentBufferBit

18 years agoremove unused var
Brian Paul [Mon, 5 Sep 2005 21:03:48 +0000 (21:03 +0000)]
remove unused var

18 years agoAdd support for memory contexts (Thomas Kaltofen). Cleanup compilation warnings.
Karl Schultz [Mon, 5 Sep 2005 14:48:39 +0000 (14:48 +0000)]
Add support for memory contexts (Thomas Kaltofen).  Cleanup compilation warnings.

18 years agoremove _swrast_DrawBuffer
Karl Schultz [Mon, 5 Sep 2005 14:08:51 +0000 (14:08 +0000)]
remove _swrast_DrawBuffer

18 years agoWindows mesa.def file had been moved to the drivers dir tree some time ago. This...
Karl Schultz [Mon, 5 Sep 2005 14:03:41 +0000 (14:03 +0000)]
Windows mesa.def file had been moved to the drivers dir tree some time ago.  This copy is not needed.

18 years agofix var declaration so that a C compiler can build it.
Karl Schultz [Mon, 5 Sep 2005 13:45:23 +0000 (13:45 +0000)]
fix var declaration so that a C compiler can build it.

18 years agojust formatting clean-ups
Brian Paul [Sun, 4 Sep 2005 22:55:57 +0000 (22:55 +0000)]
just formatting clean-ups

18 years agoSimplify radeonSetCliprects(). Remove the 'mode' parameter.
Brian Paul [Sun, 4 Sep 2005 22:20:07 +0000 (22:20 +0000)]
Simplify radeonSetCliprects().  Remove the 'mode' parameter.

18 years agoFurther clean-up and simplification of the span-related functions.
Brian Paul [Sun, 4 Sep 2005 22:16:08 +0000 (22:16 +0000)]
Further clean-up and simplification of the span-related functions.

18 years agoAdd new void *addr and __DRIdrawablePrivate parameters to
Brian Paul [Sun, 4 Sep 2005 22:13:42 +0000 (22:13 +0000)]
Add new void *addr and __DRIdrawablePrivate parameters to
driNewRenderbuffer().

18 years agoFix UpdatePageFlipping() function. Always call driFlipRenderbuffers()
Brian Paul [Sun, 4 Sep 2005 16:15:38 +0000 (16:15 +0000)]
Fix UpdatePageFlipping() function.  Always call driFlipRenderbuffers()
with pfCurrentPage value, in case it's initially 1 instead of 0.

18 years agominor clean-ups
Brian Paul [Sun, 4 Sep 2005 15:03:36 +0000 (15:03 +0000)]
minor clean-ups

18 years agoreplace GET_SRC_PTR, GET_DST_PTR with GET_PTR
Brian Paul [Sun, 4 Sep 2005 15:02:48 +0000 (15:02 +0000)]
replace GET_SRC_PTR, GET_DST_PTR with GET_PTR

18 years agoUse InitPointers helper
Brian Paul [Sun, 4 Sep 2005 15:01:33 +0000 (15:01 +0000)]
Use InitPointers helper

18 years agoCombine GET_DST_PTR and GET_SRC_PTR into just GET_PTR.
Brian Paul [Sun, 4 Sep 2005 15:00:04 +0000 (15:00 +0000)]
Combine GET_DST_PTR and GET_SRC_PTR into just GET_PTR.

18 years agoAdded InitPointers helper function
Brian Paul [Sun, 4 Sep 2005 14:59:34 +0000 (14:59 +0000)]
Added InitPointers helper function

18 years agoreplace assertion with a conditional return
Brian Paul [Sun, 4 Sep 2005 14:59:18 +0000 (14:59 +0000)]
replace assertion with a conditional return

18 years agofudge set_component_sizes() a bit, see comments
Brian Paul [Sat, 3 Sep 2005 17:33:16 +0000 (17:33 +0000)]
fudge set_component_sizes() a bit, see comments

18 years agoRemove last remnants of pre-renderbuffer code.
Brian Paul [Sat, 3 Sep 2005 16:57:58 +0000 (16:57 +0000)]
Remove last remnants of pre-renderbuffer code.

18 years agorenderbuffer updates
Brian Paul [Sat, 3 Sep 2005 16:55:02 +0000 (16:55 +0000)]
renderbuffer updates

18 years agoSetBuffer, renderbuffer changes
Brian Paul [Sat, 3 Sep 2005 16:54:20 +0000 (16:54 +0000)]
SetBuffer, renderbuffer changes

18 years agouse new InitStencil/DepthPointer functions
Brian Paul [Sat, 3 Sep 2005 16:49:35 +0000 (16:49 +0000)]
use new InitStencil/DepthPointer functions

18 years agoremove dead code
Brian Paul [Sat, 3 Sep 2005 16:48:48 +0000 (16:48 +0000)]
remove dead code

18 years agoremove SetBuffer
Brian Paul [Sat, 3 Sep 2005 16:47:30 +0000 (16:47 +0000)]
remove SetBuffer

18 years agoSetBuffer, renderbuffer changes
Brian Paul [Sat, 3 Sep 2005 16:43:02 +0000 (16:43 +0000)]
SetBuffer, renderbuffer changes

18 years agoadded flippedData field for page flipping, code to flip stereo color buffers
Brian Paul [Sat, 3 Sep 2005 16:42:19 +0000 (16:42 +0000)]
added flippedData field for page flipping, code to flip stereo color buffers

18 years agoadded SetStencil/DepthPointer functions
Brian Paul [Sat, 3 Sep 2005 16:41:30 +0000 (16:41 +0000)]
added SetStencil/DepthPointer functions

18 years agoremove SetBuffer(). Misc renderbuffer changes.
Brian Paul [Sat, 3 Sep 2005 16:40:44 +0000 (16:40 +0000)]
remove SetBuffer().  Misc renderbuffer changes.

18 years agosilence misc warnings
Brian Paul [Sat, 3 Sep 2005 16:39:57 +0000 (16:39 +0000)]
silence misc warnings

18 years agoCheck for ATI_fragment_shader enabled
Dave Airlie [Fri, 2 Sep 2005 23:52:05 +0000 (23:52 +0000)]
Check for ATI_fragment_shader enabled

18 years agofix some strict aliasing problems related to choosing framebuffer configs (Matthias...
Brian Paul [Fri, 2 Sep 2005 17:07:00 +0000 (17:07 +0000)]
fix some strict aliasing problems related to choosing framebuffer configs (Matthias Hopf)

18 years agoGL_EXT_timer_query
Brian Paul [Fri, 2 Sep 2005 14:02:44 +0000 (14:02 +0000)]
GL_EXT_timer_query

18 years agocomments
Brian Paul [Fri, 2 Sep 2005 13:55:50 +0000 (13:55 +0000)]
comments

18 years agoadded GL_EXT_timer_query token
Brian Paul [Fri, 2 Sep 2005 13:43:26 +0000 (13:43 +0000)]
added GL_EXT_timer_query token

18 years agoPrototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Brian Paul [Fri, 2 Sep 2005 13:42:49 +0000 (13:42 +0000)]
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.

18 years agoreplace -1 with PROGRAM_UNDEFINED when initializing instructions
Brian Paul [Fri, 2 Sep 2005 13:40:09 +0000 (13:40 +0000)]
replace -1 with PROGRAM_UNDEFINED when initializing instructions

18 years agoset depthHasSurface for stencil renderbuffer
Brian Paul [Fri, 2 Sep 2005 13:20:20 +0000 (13:20 +0000)]
set depthHasSurface for stencil renderbuffer

18 years agoATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent changes). Fix...
Roland Scheidegger [Fri, 2 Sep 2005 12:05:38 +0000 (12:05 +0000)]
ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)

18 years agochange scratch pointer from _int32_t to u_int32_t to silence warning. Is this field...
Brian Paul [Fri, 2 Sep 2005 03:39:31 +0000 (03:39 +0000)]
change scratch pointer from _int32_t to u_int32_t to silence warning.  Is this field actually used for anything?

18 years agoremove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS code
Brian Paul [Fri, 2 Sep 2005 03:36:41 +0000 (03:36 +0000)]
remove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS code

18 years agoset depthHasSurface field for stencil renderbuffer
Brian Paul [Fri, 2 Sep 2005 03:28:08 +0000 (03:28 +0000)]
set depthHasSurface field for stencil renderbuffer

18 years agoadd error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope...
Roland Scheidegger [Fri, 2 Sep 2005 01:11:53 +0000 (01:11 +0000)]
add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)

18 years agoadded an assertion to help debug broken stencil readback
Brian Paul [Thu, 1 Sep 2005 20:14:50 +0000 (20:14 +0000)]
added an assertion to help debug broken stencil readback

18 years agoadded driFlipRenderbuffers()
Brian Paul [Thu, 1 Sep 2005 20:11:32 +0000 (20:11 +0000)]
added driFlipRenderbuffers()

18 years agofix page flipping breakage
Brian Paul [Thu, 1 Sep 2005 20:10:17 +0000 (20:10 +0000)]
fix page flipping breakage

18 years agofix typo
Brian Paul [Thu, 1 Sep 2005 14:04:45 +0000 (14:04 +0000)]
fix typo

18 years agosome missing renderbuffer changes (Roland)
Brian Paul [Thu, 1 Sep 2005 14:04:32 +0000 (14:04 +0000)]
some missing renderbuffer changes (Roland)

18 years agoFinish up some of the gl_renderbuffer work.
Brian Paul [Thu, 1 Sep 2005 04:03:44 +0000 (04:03 +0000)]
Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.
Old code is surrounded by #if 000 / #endif, temporarily.

18 years agoFinish up some of the gl_renderbuffer work.
Brian Paul [Thu, 1 Sep 2005 03:54:34 +0000 (03:54 +0000)]
Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.

18 years agos/__inline/INLINE/
Brian Paul [Thu, 1 Sep 2005 03:50:54 +0000 (03:50 +0000)]
s/__inline/INLINE/

18 years agouse char* instead of GLubyte* in i915_program_error() to silence warnings
Brian Paul [Thu, 1 Sep 2005 03:32:48 +0000 (03:32 +0000)]
use char* instead of GLubyte* in i915_program_error() to silence warnings

18 years agouse proper datatypes to silence a bunch of warnings
Brian Paul [Thu, 1 Sep 2005 03:19:45 +0000 (03:19 +0000)]
use proper datatypes to silence a bunch of warnings

18 years agoadded a few more fields to help with DRI drivers
Brian Paul [Thu, 1 Sep 2005 03:07:29 +0000 (03:07 +0000)]
added a few more fields to help with DRI drivers

18 years agoremove fxDDSetBuffer()
Brian Paul [Thu, 1 Sep 2005 03:06:28 +0000 (03:06 +0000)]
remove fxDDSetBuffer()

18 years agoremove set_buffer()
Brian Paul [Thu, 1 Sep 2005 03:05:39 +0000 (03:05 +0000)]
remove set_buffer()

18 years agoremove old set_buffer routine and misc code
Brian Paul [Thu, 1 Sep 2005 03:04:41 +0000 (03:04 +0000)]
remove old set_buffer routine and misc code

18 years agoremove the old set_buffer() routine
Brian Paul [Thu, 1 Sep 2005 02:56:47 +0000 (02:56 +0000)]
remove the old set_buffer() routine

18 years agoJust additional comments.
Brian Paul [Wed, 31 Aug 2005 21:38:53 +0000 (21:38 +0000)]
Just additional comments.

18 years agoenable GL_ARB_texture_env_crossbar on r200, separate the enable bits for texture...
Roland Scheidegger [Wed, 31 Aug 2005 19:11:09 +0000 (19:11 +0000)]
enable GL_ARB_texture_env_crossbar on r200, separate the enable bits for texture sampling and texture environment, optimize away texture sampling for units if the result is not used, always emit the env instructions in-order and try to eliminate GL_REPLACE env instructions.

18 years agouse 'f' key to toggle front/back buffer rendering
Brian Paul [Wed, 31 Aug 2005 16:42:59 +0000 (16:42 +0000)]
use 'f' key to toggle front/back buffer rendering

18 years agoremove dead code, update comments
Brian Paul [Wed, 31 Aug 2005 16:04:17 +0000 (16:04 +0000)]
remove dead code, update comments

18 years agoreverse a bogus patch
Alan Hourihane [Wed, 31 Aug 2005 15:11:21 +0000 (15:11 +0000)]
reverse a bogus patch

18 years agocomplete fix for miniglx startup issue since driver version checks
Dave Airlie [Wed, 31 Aug 2005 01:24:01 +0000 (01:24 +0000)]
complete fix for miniglx startup issue since driver version checks

18 years agoremove redundant ctx->Driver fallback assignments that were already done in _mesa_ini...
Brian Paul [Wed, 31 Aug 2005 00:39:32 +0000 (00:39 +0000)]
remove redundant ctx->Driver fallback assignments that were already done in _mesa_init_driver_functions()

18 years agofix a cast/assignment warning
Brian Paul [Wed, 31 Aug 2005 00:00:17 +0000 (00:00 +0000)]
fix a cast/assignment warning

18 years agosilence fprintf and casting warnings
Brian Paul [Tue, 30 Aug 2005 23:57:04 +0000 (23:57 +0000)]
silence fprintf and casting warnings

18 years agoadded some parenthesis to silence warnings
Brian Paul [Tue, 30 Aug 2005 23:50:23 +0000 (23:50 +0000)]
added some parenthesis to silence warnings

18 years agodrmUnmap correct size
Alan Hourihane [Tue, 30 Aug 2005 20:37:30 +0000 (20:37 +0000)]
drmUnmap correct size

18 years agomove via_dri.h to server
Alan Hourihane [Tue, 30 Aug 2005 19:46:08 +0000 (19:46 +0000)]
move via_dri.h to server

18 years agodefine Bool for solo builds
Alan Hourihane [Tue, 30 Aug 2005 19:22:46 +0000 (19:22 +0000)]
define Bool for solo builds

18 years agoFixes from https://bugs.freedesktop.org/attachment.cgi?id=3077
Alan Hourihane [Tue, 30 Aug 2005 19:14:23 +0000 (19:14 +0000)]
Fixes from https://bugs.freedesktop.org/attachment.cgi?id=3077

18 years agofix APP_LIB_DEPS
Brian Paul [Mon, 29 Aug 2005 22:45:52 +0000 (22:45 +0000)]
fix APP_LIB_DEPS