profile/ivi/mesa.git
19 years agoAdded an option texture_heaps that allows selecting which texture heaps
Felix Kuehling [Fri, 4 Feb 2005 00:25:41 +0000 (00:25 +0000)]
Added an option texture_heaps that allows selecting which texture heaps
will be used. Implemented this option in the Savage driver. On my
ProSavageDDR uploads to AGP memory are about 1.5 times as fast as
uploads to card memory. On non-IGP hardware the difference may be even
bigger. Now mplayer -gl is getting really usable.

19 years agoMade subtile upload a template. This speeds up tiled texture uploads by
Felix Kuehling [Fri, 4 Feb 2005 00:17:21 +0000 (00:17 +0000)]
Made subtile upload a template. This speeds up tiled texture uploads by
about a factor 1.3.

19 years agoUse all texture heaps in a fair way when textures need to be kicked in
Felix Kuehling [Thu, 3 Feb 2005 21:40:21 +0000 (21:40 +0000)]
Use all texture heaps in a fair way when textures need to be kicked in
order to make room for new textures. In particular this fixes texture
trashing on the first heap when the second heap is occupied by
currently unused textures (observed with Torcs and the Savage driver).

Heaps are weighted by their sizes by default but drivers can override
these and apply their own weights based on relative texture upload
speeds to the respective heaps.

19 years agoRemoving some trash and disabling fog fallback as it seem its causing more harm than...
Aapo Tahkola [Thu, 3 Feb 2005 19:51:57 +0000 (19:51 +0000)]
Removing some trash and disabling fog fallback as it seem its causing more harm than good. Tuxracer should now work at least with vbs. Fix for vb colorbuffer clear bug is underway...

19 years agoChanging vb code to handle inputs correctly.
Aapo Tahkola [Thu, 3 Feb 2005 19:43:27 +0000 (19:43 +0000)]
Changing vb code to handle inputs correctly.

19 years agoStart beginning of pixel shader generator..
Vladimir Dergachev [Thu, 3 Feb 2005 17:48:32 +0000 (17:48 +0000)]
Start beginning of pixel shader generator..

19 years agoForgot to increase the length.
Vladimir Dergachev [Thu, 3 Feb 2005 16:05:21 +0000 (16:05 +0000)]
Forgot to increase the length.

19 years agoLooks like we need at least one instruction for pixel shader.
Vladimir Dergachev [Thu, 3 Feb 2005 16:01:46 +0000 (16:01 +0000)]
Looks like we need at least one instruction for pixel shader.

19 years agoGet vertex programs supplied by the user work properly with immediate mode - vertex...
Vladimir Dergachev [Thu, 3 Feb 2005 15:44:06 +0000 (15:44 +0000)]
Get vertex programs supplied by the user work properly with immediate mode - vertex buffer mode worked by accident.

Fix alu_offset in SINGLE_TEXTURE_PIPELINE.

19 years agoSince high bits can be used for flags, mask them out.
Vladimir Dergachev [Thu, 3 Feb 2005 06:33:44 +0000 (06:33 +0000)]
Since high bits can be used for flags, mask them out.
This stops arbvpwarpmesh from segfaulting and it actually works - with immediate mode rendering.

19 years agoRemove redundant instructions from fixed pipelines, looks like they do not do anythin...
Vladimir Dergachev [Thu, 3 Feb 2005 04:16:59 +0000 (04:16 +0000)]
Remove redundant instructions from fixed pipelines, looks like they do not do anything, at least on my hardware.

19 years agoMark ZBIAS definitions.
Vladimir Dergachev [Thu, 3 Feb 2005 03:48:22 +0000 (03:48 +0000)]
Mark ZBIAS definitions.

19 years agoThis was too optimistic sorry - all that register does is something weird with polygo...
Vladimir Dergachev [Thu, 3 Feb 2005 03:47:12 +0000 (03:47 +0000)]
This was too optimistic sorry - all that register does is something weird with polygon culling.

19 years agoGet Polygon offset fill to work.
Vladimir Dergachev [Thu, 3 Feb 2005 03:43:01 +0000 (03:43 +0000)]
Get Polygon offset fill to work.
Make WARN_ONCE message more informative.

19 years agoAdded a bunch of extensions that were previously supported but weren't
Ian Romanick [Thu, 3 Feb 2005 00:38:40 +0000 (00:38 +0000)]
Added a bunch of extensions that were previously supported but weren't
in the gl_API.xml database.  Add "official" support for SGI_color_matrix
and SGI_texture_color_table.  These were previously supported only by
way of ARB_imaging.

19 years agoCheck for heap == NULL before driSetTextureSwapCounterLocation.
Felix Kuehling [Wed, 2 Feb 2005 15:57:25 +0000 (15:57 +0000)]
Check for heap == NULL before driSetTextureSwapCounterLocation.

19 years agoDon't try to kick textures from a NULL tex heap.
Felix Kuehling [Wed, 2 Feb 2005 15:52:29 +0000 (15:52 +0000)]
Don't try to kick textures from a NULL tex heap.

19 years agoFixed flushing of client-side vertex buffers.
Felix Kuehling [Wed, 2 Feb 2005 14:43:03 +0000 (14:43 +0000)]
Fixed flushing of client-side vertex buffers.

19 years agoFixed some debug output that was unconditionally enabled.
Felix Kuehling [Wed, 2 Feb 2005 14:42:00 +0000 (14:42 +0000)]
Fixed some debug output that was unconditionally enabled.

19 years agoclamp viewport against ctx->Const.MaxViewportWidth/Height instead of MAX_WIDTH/HEIGHT
Brian Paul [Wed, 2 Feb 2005 14:12:59 +0000 (14:12 +0000)]
clamp viewport against ctx->Const.MaxViewportWidth/Height instead of MAX_WIDTH/HEIGHT

19 years agoChanged parts of r300_setup_routing to use WARN_ONCE.
Aapo Tahkola [Wed, 2 Feb 2005 13:29:11 +0000 (13:29 +0000)]
Changed parts of r300_setup_routing to use WARN_ONCE.

19 years agoSmall refactor. Add glXFunctionIterator, which derrives from
Ian Romanick [Wed, 2 Feb 2005 00:54:45 +0000 (00:54 +0000)]
Small refactor.  Add glXFunctionIterator, which derrives from
glFunctionIterator and is used by GlxProto.  The difference between the two
iterator classes is that glXFunctionIterator skips functions that the GLX
protocol code does not care about.

Replace all the remaining occurances of glParameter::p_count_parameters and
glFunction::count_parameters with the count_parameter_list.

Add GlxProto::size_call to generate the C code to calculate 'compsize'.

These trivially modify the generated code.

19 years agoAdd a missing break and a reminder.
Aapo Tahkola [Tue, 1 Feb 2005 23:12:36 +0000 (23:12 +0000)]
Add a missing break and a reminder.

19 years agoImplement appropriate src checks for attribs/params.
Aapo Tahkola [Tue, 1 Feb 2005 22:45:11 +0000 (22:45 +0000)]
Implement appropriate src checks for attribs/params.

19 years agoImplemented bunch of ops.
Aapo Tahkola [Tue, 1 Feb 2005 19:56:52 +0000 (19:56 +0000)]
Implemented bunch of ops.

19 years agoVertex programs work now with some restrictions. I expect arbvptorus to work
Aapo Tahkola [Tue, 1 Feb 2005 16:56:52 +0000 (16:56 +0000)]
Vertex programs work now with some restrictions. I expect arbvptorus to work
correctly when normals are delivered. Please note that some programs only
start in vb mode as there is something wrong in immediate mode vb code.

19 years agoMake WARN_ONCE messages more informative.
Vladimir Dergachev [Tue, 1 Feb 2005 15:51:54 +0000 (15:51 +0000)]
Make WARN_ONCE messages more informative.

19 years agoReduce noiseness of the driver.
Vladimir Dergachev [Tue, 1 Feb 2005 15:46:23 +0000 (15:46 +0000)]
Reduce noiseness of the driver.

19 years agoGet alpha in textures to work properly.
Vladimir Dergachev [Tue, 1 Feb 2005 15:27:36 +0000 (15:27 +0000)]
Get alpha in textures to work properly.

19 years agoProperly set ABLEND and CBLEND registers. The older code worked, but by accident.
Vladimir Dergachev [Tue, 1 Feb 2005 06:55:58 +0000 (06:55 +0000)]
Properly set ABLEND and CBLEND registers. The older code worked, but by accident.

19 years agoLooks like we can define FIRE_VERTICES correctly.
Vladimir Dergachev [Tue, 1 Feb 2005 05:59:00 +0000 (05:59 +0000)]
Looks like we can define FIRE_VERTICES correctly.

19 years agoIt helps to print actual values instead of random ones.
Vladimir Dergachev [Tue, 1 Feb 2005 05:58:27 +0000 (05:58 +0000)]
It helps to print actual values instead of random ones.

19 years agoSmall refactor. Move several utility functions from glX_XML.py to
Ian Romanick [Tue, 1 Feb 2005 00:28:47 +0000 (00:28 +0000)]
Small refactor.  Move several utility functions from glX_XML.py to
FilterGLAPISpecBase (in gl_XML.py).  When these functions are used to emit
common #define lines, the will automatically be undefined in
FilterGLAPISpecBase::printFooter if header_tag is set (i.e., the file is a
header file).

These changes do not modify the generated code.

19 years agoAdd GlxProto::createEnumFunction and add a 'context' parameter to the
Ian Romanick [Tue, 1 Feb 2005 00:13:04 +0000 (00:13 +0000)]
Add GlxProto::createEnumFunction and add a 'context' parameter to the
glXEnumFunction constructor.  The allows sub-classes of GlxProto to
over-ride the concrete class used for glXEnumFunction.

In addition to tracking p_count_parameters in glParameter, break the comma
separated list of parameter names into a Python list called
count_parameter_list.  It is now possible to query if a name is the name of
one of the count parameters just by comparing
param.count_parameter_list.count(n) to zero.  Eventually the remaining uses
of p_count_parameters will be replaced with uses of count_parameter_list.

Make sure that 'void *' parameters are handled correctly in
glParameter::size_string.

Add PrintGlxReqSize_h and PrintGlxReqSize_c.  These classes emit prototypes
and functions used on the server-side to determine the expected size of an
incoming GL command.

19 years agoBug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.
Adam Jackson [Mon, 31 Jan 2005 23:40:05 +0000 (23:40 +0000)]
Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.

19 years agomakefile update (readtex, showbuffer)
Daniel Borca [Mon, 31 Jan 2005 13:23:55 +0000 (13:23 +0000)]
makefile update (readtex, showbuffer)

19 years agoAdd magic sequence to prevent ClearBuffer from locking up.
Vladimir Dergachev [Mon, 31 Jan 2005 06:41:55 +0000 (06:41 +0000)]
Add magic sequence to prevent ClearBuffer from locking up.
Change Polygon.OffsetFill from fallback to warn once.
Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.

19 years agoUse SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).
Vladimir Dergachev [Mon, 31 Jan 2005 02:52:59 +0000 (02:52 +0000)]
Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).
This fixes segfault in tuxracer-demo. It locks up after this though.

19 years agoMy bad, the old code works fine if updated to newer Mesa tree.
Vladimir Dergachev [Sun, 30 Jan 2005 22:16:28 +0000 (22:16 +0000)]
My bad, the old code works fine if updated to newer Mesa tree.

19 years agostruct ati_fragment_shader was not defined anywhere, define it to get r300_vertexprog...
Vladimir Dergachev [Sun, 30 Jan 2005 22:04:40 +0000 (22:04 +0000)]
struct ati_fragment_shader was not defined anywhere, define it to get r300_vertexprog.c to compile.

19 years agofix max viewport query
Brian Paul [Sun, 30 Jan 2005 17:18:08 +0000 (17:18 +0000)]
fix max viewport query

19 years agoFix for compiler warnings.
Aapo Tahkola [Sun, 30 Jan 2005 11:12:59 +0000 (11:12 +0000)]
Fix for compiler warnings.

19 years agoadd number of passes count to ati_fragment_shader
Dave Airlie [Sun, 30 Jan 2005 06:24:30 +0000 (06:24 +0000)]
add number of passes count to ati_fragment_shader

19 years ago* Fixed uploading of textures of certain sizes.
Felix Kuehling [Sat, 29 Jan 2005 23:26:23 +0000 (23:26 +0000)]
* Fixed uploading of textures of certain sizes.
* When glTexSubImageND is used, track the set of changed tiles in a
  bit vector and upload only dirty tiles later. This should improve
  the performance of dynamic light maps and gl movie player plugins.
* Renamed debug item "lru" to "tex". Indicate which levels are
  uploaded completely or partially.

19 years agoAdded 0x4e54 (Thinkpad r50p) as PCI_CHIP_RV350_NP
hmarson [Sat, 29 Jan 2005 20:41:31 +0000 (20:41 +0000)]
Added 0x4e54 (Thinkpad r50p) as PCI_CHIP_RV350_NP

19 years agoBeginings of program generation. This code havent been tested nor hooked up.
Aapo Tahkola [Sat, 29 Jan 2005 17:57:07 +0000 (17:57 +0000)]
Beginings of program generation. This code havent been tested nor hooked up.

19 years agoremove stray span.y++
Brian Paul [Sat, 29 Jan 2005 17:28:45 +0000 (17:28 +0000)]
remove stray span.y++

19 years agoadded osmesa16 stuff
Brian Paul [Sat, 29 Jan 2005 13:48:43 +0000 (13:48 +0000)]
added osmesa16 stuff

19 years agoassorted fixes
Brian Paul [Sat, 29 Jan 2005 13:48:27 +0000 (13:48 +0000)]
assorted fixes

19 years agofix initial viewport size bug
Brian Paul [Sat, 29 Jan 2005 13:36:15 +0000 (13:36 +0000)]
fix initial viewport size bug

19 years agoadded missing glFinish()
Brian Paul [Sat, 29 Jan 2005 12:57:36 +0000 (12:57 +0000)]
added missing glFinish()

19 years agoCleaning up.
Aapo Tahkola [Sat, 29 Jan 2005 07:17:27 +0000 (07:17 +0000)]
Cleaning up.

19 years agoRefactor the code to emit multiple-inclusion protection to
Ian Romanick [Fri, 28 Jan 2005 19:00:54 +0000 (19:00 +0000)]
Refactor the code to emit multiple-inclusion protection to
FilterGLAPISpecBase.  Since the size_h mode of glX_proto_size.py will be
used to generate multiple header files, add an option to specify the define
that is used for multiple-inclusion protection.

The changes to the header files in this commit are just a side-effect of the
changes to the Python scripts.

19 years agomove file
Michal Krol [Fri, 28 Jan 2005 18:39:26 +0000 (18:39 +0000)]
move file

19 years agoProperly annotate variable-length output parameters. Make sure that the
Ian Romanick [Fri, 28 Jan 2005 18:20:43 +0000 (18:20 +0000)]
Properly annotate variable-length output parameters.  Make sure that the
client-side code doesn't try to calculate the size of the output
parameters.  The server will tell the client how big it is.

19 years agoFix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can be
Ian Romanick [Fri, 28 Jan 2005 17:58:58 +0000 (17:58 +0000)]
Fix some get / set errors with COLOR_TABLE_*.  SCALE and BIAS can be
parameters to GetColorTableParameter[if]v.  FORMAT, WIDTH, and the SIZE
enums cannot be parameters to ColorTableParameter[if]v.

19 years agoSlightly modify the meaning of the 'handcode' attribute in a 'glx' element.
Ian Romanick [Fri, 28 Jan 2005 17:30:25 +0000 (17:30 +0000)]
Slightly modify the meaning of the 'handcode' attribute in a 'glx' element.
The attribute can now take one of 4 states.  "false" (the default value)
means that no handcoding is required for the function.  "client" means that
the function must be handcoded on the client-side only.  "server" means that
the function must be handcoded on the server-side only.  "true" menas that
the function must be handcoded on both the client-side and the server-side.

Version 1.14 of glX_proto_send.py accidentally contained a line of this
change.

19 years agoAdd an option to emit extra debug code in the generated protocol functions.
Ian Romanick [Fri, 28 Jan 2005 16:51:01 +0000 (16:51 +0000)]
Add an option to emit extra debug code in the generated protocol functions.
The debug version of indirect.c has proven very helpful during the
development of new client-side and server-side GLX protocol code.  This is
put here instead of in the DISPATCH and DISPATCH_RETURN macros in dispatch.c
for two reasons.

1. I only want the debug information when indirect-rendering is used.

2. Functions that require a reply from the server, some of which do not have
a return value (e.g., glFlush, glFinish, glGetLightfv, etc.), do not need
the extra glFinish call.

19 years agoFix wrong comment.
Aapo Tahkola [Fri, 28 Jan 2005 11:59:37 +0000 (11:59 +0000)]
Fix wrong comment.

19 years agoForgot one comment...
Aapo Tahkola [Fri, 28 Jan 2005 10:08:00 +0000 (10:08 +0000)]
Forgot one comment...

19 years agoAdd basic sceleton for vertex programs + some other fixes
Aapo Tahkola [Fri, 28 Jan 2005 09:57:06 +0000 (09:57 +0000)]
Add basic sceleton for vertex programs + some other fixes

19 years agoMark a couple more function parameters as counters.
Ian Romanick [Thu, 27 Jan 2005 19:50:59 +0000 (19:50 +0000)]
Mark a couple more function parameters as counters.

19 years agoAdd numerous 'get'-type functions to most of the enums supported by the
Ian Romanick [Thu, 27 Jan 2005 19:39:16 +0000 (19:39 +0000)]
Add numerous 'get'-type functions to most of the enums supported by the
server-side GLX implementation.

Correct the protocol for EXT_convolution.  Several functions were
incorrectly listed as 'sop' that should have been 'vendorpriv'.

Remove TexParameter[if]v from the list of functions associated with
TEXTURE_RESIDENT.  The state associated with this enum is read-only.

Sort the enums by value for each particular size.  This ensures that the
signature is the same no matter what the ordering is of the enums in the XML
file.  The side effect is that there are some extra changes in
indirect_size.c.

19 years agoAdd vector distance operator for vertex programs.
Aapo Tahkola [Thu, 27 Jan 2005 04:42:52 +0000 (04:42 +0000)]
Add vector distance operator for vertex programs.

19 years agoThe 'mode' setting of a function within an 'enum' element is now used.
Ian Romanick [Thu, 27 Jan 2005 01:08:48 +0000 (01:08 +0000)]
The 'mode' setting of a function within an 'enum' element is now used.
Parameters to glX_proto_size.py are now used to determine whether to emit
either get-type function, set-type functions, or both.  When only get-type
functions are emitted, they can optionally alias set-type functions.  This
would be useful if, for example, the two types were in different source
files.

The real work to implement this is in SizeStubFunctionIterator class.  All
of the logic for which functions to iterate and in which order is
implemented there.

19 years agoremove a bunch of temporary #defines, now that glext.h was updated
Ian Romanick [Wed, 26 Jan 2005 19:19:06 +0000 (19:19 +0000)]
remove a bunch of temporary #defines, now that glext.h was updated

19 years ago(Stephane Marchesin, me) Add support for color (framebuffer) tiling to the radeon...
Roland Scheidegger [Wed, 26 Jan 2005 18:05:03 +0000 (18:05 +0000)]
(Stephane Marchesin, me) Add support for color (framebuffer) tiling to the radeon and r200 driver

19 years agonew version check to allow to test for a range of ddx major versions, instead of...
Roland Scheidegger [Wed, 26 Jan 2005 18:02:19 +0000 (18:02 +0000)]
new version check to allow to test for a range of ddx major versions, instead of just one major version

19 years agoremove a bunch of temporary #defines, now that glext.h was updated
Brian Paul [Wed, 26 Jan 2005 14:45:38 +0000 (14:45 +0000)]
remove a bunch of temporary #defines, now that glext.h was updated

19 years agoreplace magic number with macro constant RADEON_ZBLOCK16
Roland Scheidegger [Wed, 26 Jan 2005 14:20:14 +0000 (14:20 +0000)]
replace magic number with macro constant RADEON_ZBLOCK16

19 years agojust comments/clean-up
Brian Paul [Wed, 26 Jan 2005 14:02:50 +0000 (14:02 +0000)]
just comments/clean-up

19 years agoadded mutex to-do comment
Brian Paul [Wed, 26 Jan 2005 14:01:53 +0000 (14:01 +0000)]
added mutex to-do comment

19 years agojust fix a comment and update date
Brian Paul [Wed, 26 Jan 2005 14:01:28 +0000 (14:01 +0000)]
just fix a comment and update date

19 years agoRGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha channel, instea...
Daniel Borca [Wed, 26 Jan 2005 09:47:32 +0000 (09:47 +0000)]
RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha channel, instead of 1.0F

19 years agoAdd a glFunctionIterator class to iterate over the functions stored in a
Ian Romanick [Tue, 25 Jan 2005 23:53:13 +0000 (23:53 +0000)]
Add a glFunctionIterator class to iterate over the functions stored in a
higher-level API object.  Use this type of object to implement the
printFunctions method.  Modify other functions that iterate over the list of
functions to use this type of object.

19 years agoFixes for clamp modes.
Aapo Tahkola [Tue, 25 Jan 2005 19:09:23 +0000 (19:09 +0000)]
Fixes for clamp modes.

19 years agoUse the _mesa_HashNextEntry() function to walk over all textures in the
Brian Paul [Tue, 25 Jan 2005 15:16:02 +0000 (15:16 +0000)]
Use the _mesa_HashNextEntry() function to walk over all textures in the
hash table.
Moving toward removing the gl_texture_object's Next pointer (only used by
glide and tdfx drivers).

19 years agoStupid text editor...convert wayward tabs to spaces.
Ian Romanick [Tue, 25 Jan 2005 01:36:32 +0000 (01:36 +0000)]
Stupid text editor...convert wayward tabs to spaces.

19 years agoAdd a "count" attribute to "enums" elements to set the default count
Ian Romanick [Tue, 25 Jan 2005 01:20:11 +0000 (01:20 +0000)]
Add a "count" attribute to "enums" elements to set the default count
used for "size" sub-elements.  In the future the "count" attribute may
be removed completely from "size" sub-elements, so gl_API.xml was also
updated.

Support was added for a (currently unused) "mode" attribute for "size"
elements.  Basically, functions are marked as either "get" or "set".  This
will be used in generating size functions for the server-side (where the
"get" functions have to know how much data to return).  It could also be
used to help generate code for src/mesa/main/get.c.

19 years agoCorrectly set the name of the generating script.
Ian Romanick [Mon, 24 Jan 2005 22:07:00 +0000 (22:07 +0000)]
Correctly set the name of the generating script.

19 years agoMove all the code for generating "size" related functions to its own
Ian Romanick [Mon, 24 Jan 2005 21:56:05 +0000 (21:56 +0000)]
Move all the code for generating "size" related functions to its own
source file.

19 years agoCorrect some of the dependencies and clean things up a bit.
Ian Romanick [Mon, 24 Jan 2005 21:43:29 +0000 (21:43 +0000)]
Correct some of the dependencies and clean things up a bit.

19 years agoRemove glEnum::startElement, but refactor out some of the common code from
Ian Romanick [Mon, 24 Jan 2005 21:29:13 +0000 (21:29 +0000)]
Remove glEnum::startElement, but refactor out some of the common code from
there and glXEnum::startElement to glEnum::process_attributes.

19 years agoSince only one of the places that used glXFunction::command_payload_length
Ian Romanick [Mon, 24 Jan 2005 20:59:32 +0000 (20:59 +0000)]
Since only one of the places that used glXFunction::command_payload_length
actually used both values, it was refactored into command_fixed_length and
command_variable_length.  glXFunction::offset_of_first_parameter was also
added.

19 years agoMake sure that functions added to gl_API.xml that do not have any GLX
Ian Romanick [Mon, 24 Jan 2005 20:08:28 +0000 (20:08 +0000)]
Make sure that functions added to gl_API.xml that do not have any GLX
section are marked as ignored.  Also ignore any functions that don't have
assigned dispatch offsets.

Fold Adam Jackson's changes to indirect_size.c into the generator scripts so
that they don't get lost.  "DO NOT EDIT" really means "DO NOT EDIT". ;)

19 years agoborder_color causes lockups with vertex buffers. Disabling for now.
Aapo Tahkola [Mon, 24 Jan 2005 19:26:20 +0000 (19:26 +0000)]
border_color causes lockups with vertex buffers. Disabling for now.

19 years agoRemove lots of old code that dealed with "magic" texture formats.
Vladimir Dergachev [Mon, 24 Jan 2005 17:09:17 +0000 (17:09 +0000)]
Remove lots of old code that dealed with "magic" texture formats.

19 years agoreenable some assertions
Brian Paul [Mon, 24 Jan 2005 15:41:08 +0000 (15:41 +0000)]
reenable some assertions

19 years agoConverted the Savage texture management to use Ian's common texmem code.
Felix Kuehling [Mon, 24 Jan 2005 01:15:12 +0000 (01:15 +0000)]
Converted the Savage texture management to use Ian's common texmem code.

19 years agoAdded _mesa_HashNextEntry() function to allow walking over all entries
Brian Paul [Mon, 24 Jan 2005 00:20:23 +0000 (00:20 +0000)]
Added _mesa_HashNextEntry() function to allow walking over all entries
in a hash table.
Added _mesa_test_hash_functions() for unit testing.
Updated comments, etc.

19 years agoreapply Keiths workaround for zbs emit that got dropped during
Dave Airlie [Sun, 23 Jan 2005 22:09:30 +0000 (22:09 +0000)]
reapply Keiths workaround for zbs emit that got dropped during
state change patches....

19 years agoRemove unused variables from r300_context
Nicolai Haehnle [Sun, 23 Jan 2005 17:35:05 +0000 (17:35 +0000)]
Remove unused variables from r300_context

19 years agoFix more warnings and compilation issues.
Nicolai Haehnle [Sun, 23 Jan 2005 17:28:04 +0000 (17:28 +0000)]
Fix more warnings and compilation issues.

19 years agoSynchronize r300_reg.h.
Nicolai Haehnle [Sun, 23 Jan 2005 17:05:32 +0000 (17:05 +0000)]
Synchronize r300_reg.h.
Fix unportable whitespace before preprocessor commands.

19 years agoadd sync debugging to the radeon driver
Dave Airlie [Sun, 23 Jan 2005 06:27:08 +0000 (06:27 +0000)]
add sync debugging to the radeon driver

19 years agoHAVE_ALIAS was never defined anywhere, add some logic to turn it on
Adam Jackson [Sun, 23 Jan 2005 03:54:38 +0000 (03:54 +0000)]
HAVE_ALIAS was never defined anywhere, add some logic to turn it on
automagically.

19 years agosilence makedepend warnings about non-portable whitespace
Adam Jackson [Sun, 23 Jan 2005 02:12:23 +0000 (02:12 +0000)]
silence makedepend warnings about non-portable whitespace

19 years agoFixed initialization of draw destination to front buffer on single
Felix Kuehling [Sun, 23 Jan 2005 01:46:14 +0000 (01:46 +0000)]
Fixed initialization of draw destination to front buffer on single
buffered visuals. Also don't change span draw/read buffers in
savageDDDrawBuffer. Now glean's polygon offset test works (and PASSes
with fixed point depth buffer) with single buffered visuals without
winding up in an infinite loop.

19 years agoMy last attempt to fix polygon offsets with the reversed viewport depth
Felix Kuehling [Sun, 23 Jan 2005 01:42:01 +0000 (01:42 +0000)]
My last attempt to fix polygon offsets with the reversed viewport depth
range used by the savage driver by negating ctx->MRD broke polygon
offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter
to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets
for hardware rendering but not for software fallbacks. For software
fallbacks depth values are reversed after polygon offsets have been
applied by the depth span functions.

19 years agoDetermine ahead of time whether a display list will include vertices
Keith Whitwell [Sat, 22 Jan 2005 14:38:00 +0000 (14:38 +0000)]
Determine ahead of time whether a display list will include vertices
which have to be processed in the 'loopback' path.  If so, send
all vertices that way as the transition from playback->loopback has
several problems.