profile/ivi/mesa.git
20 years agoRefactor the linux-dri config files so that linux-dri-x86 inherits from
Eric Anholt [Sat, 25 Sep 2004 07:11:12 +0000 (07:11 +0000)]
Refactor the linux-dri config files so that linux-dri-x86 inherits from
linux-dri.  Turn on -O by default (-O2 provides a slight improvement in
performance, at a large cost to debuggability).  Turn off -fPIC on x86 by
default.  Turn on -Wall, to catch more stupid mistakes.  This could be both done
cleaner, and done for more config files, but it works for me for now.

20 years agoThe previous code would emit a full set of state during the first EmitState on
Eric Anholt [Sat, 25 Sep 2004 07:00:15 +0000 (07:00 +0000)]
The previous code would emit a full set of state during the first EmitState on
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the
case of context switching).  This was rather inefficient.  Instead, after
flushing a cmdbuf, mark the state as needing to be saved on unlock.  Then, at
the beginning of flushing a cmdbuf, if we actually have lost the context, go
back and emit a new cmdbuf with the full set of state, before continuing with
the cmdbuf flush.  Provides a 10-15% improvement in ipers performance in my
tests, along with other apps.

Tested with: ipers, glxgears, quake3

20 years agoFix texturing in quake3. Some code was left over from the dirty/clean list
Eric Anholt [Sat, 25 Sep 2004 06:12:40 +0000 (06:12 +0000)]
Fix texturing in quake3.  Some code was left over from the dirty/clean list
setup that now removed atoms from the atomlist on texture deletion.

20 years agoBump DRIVER_DATE for yesterday's changes.
Eric Anholt [Sat, 25 Sep 2004 03:00:27 +0000 (03:00 +0000)]
Bump DRIVER_DATE for yesterday's changes.

20 years agomoved to demos/ directory
Brian Paul [Fri, 24 Sep 2004 23:01:21 +0000 (23:01 +0000)]
moved to demos/ directory

20 years agomoved in from the tests/ directory to include in distro
Brian Paul [Fri, 24 Sep 2004 23:00:52 +0000 (23:00 +0000)]
moved in from the tests/ directory to include in distro

20 years agoupdated osmesa info
Brian Paul [Fri, 24 Sep 2004 20:31:02 +0000 (20:31 +0000)]
updated osmesa info

20 years agopatches for clearing hw depth buffers from software fallback (Nicolai Haehnle)
Brian Paul [Fri, 24 Sep 2004 14:30:13 +0000 (14:30 +0000)]
patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)

20 years agoadded (back!) option to use non-packedcolor
Daniel Borca [Fri, 24 Sep 2004 07:03:53 +0000 (07:03 +0000)]
added (back!) option to use non-packedcolor

20 years ago-O -Wall warnings cleanups in r200.
Eric Anholt [Fri, 24 Sep 2004 04:20:58 +0000 (04:20 +0000)]
-O -Wall warnings cleanups in r200.

20 years agoClean up some warnings in the R100 driver with -O -Wall.
Eric Anholt [Fri, 24 Sep 2004 03:09:49 +0000 (03:09 +0000)]
Clean up some warnings in the R100 driver with -O -Wall.

20 years agoRemove an unnecessary calculation of the dest pointer.
Eric Anholt [Fri, 24 Sep 2004 01:33:15 +0000 (01:33 +0000)]
Remove an unnecessary calculation of the dest pointer.

20 years agodon't test for NULL pixels pointer here, do that in the 'store' routines after valida...
Brian Paul [Thu, 23 Sep 2004 17:34:52 +0000 (17:34 +0000)]
don't test for NULL pixels pointer here, do that in the 'store' routines after validating PBO address

20 years agoremoved hacked GL tokens, fixed a printf
Brian Paul [Thu, 23 Sep 2004 17:32:12 +0000 (17:32 +0000)]
removed hacked GL tokens, fixed a printf

20 years agoadded a comment in BindTexture
Brian Paul [Thu, 23 Sep 2004 17:31:21 +0000 (17:31 +0000)]
added a comment in BindTexture

20 years agojust some comments and formatting changes
Brian Paul [Thu, 23 Sep 2004 17:30:54 +0000 (17:30 +0000)]
just some comments and formatting changes

20 years agofix for Erics new emit state code, rework out the dest pointer
Dave Airlie [Thu, 23 Sep 2004 08:24:03 +0000 (08:24 +0000)]
fix for Erics new emit state code, rework out the dest pointer
after we check the buffer

20 years agoThe previous code would emit a full set of state during the first EmitState on
Eric Anholt [Wed, 22 Sep 2004 06:27:02 +0000 (06:27 +0000)]
The previous code would emit a full set of state during the first EmitState on
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the
case of context switching).  This was rather inefficient.  Instead, after
flushing a cmdbuf, mark the state as needing to be saved on UNLOCK.  Then, at
the beginning of flushing a cmdbuf, if we actually have lost the context, go
back and emit a new cmdbuf with the full set of state, before continuing with
the cmdbuf flush.  Also, remove the dirty/clean atom lists, since atoms are
emitted in a fixed order these days, and go with a simpler single list.

Provides a 14% improvement in ipers performance in my tests, along with other
apps.

20 years agoAdd xmlconfig to the i810 makefile
Dave Airlie [Tue, 21 Sep 2004 00:39:59 +0000 (00:39 +0000)]
Add xmlconfig to the i810 makefile

20 years agoclamp size of wide points
Daniel Borca [Mon, 20 Sep 2004 08:33:38 +0000 (08:33 +0000)]
clamp size of wide points

20 years agoAdd GL_ARB_texture_cube_map support for i830. Most of the code was
Ian Romanick [Sun, 19 Sep 2004 08:03:46 +0000 (08:03 +0000)]
Add GL_ARB_texture_cube_map support for i830.  Most of the code was
lifted from the i915 side.  i830 will now report version 1.3!  Hurrah!
With the exception of GL_EXT_texture_compression_s3tc, the i830 driver
now supports all the extensions that its Windows counterpart supports.

20 years agoAdded GL_ARB_point_parameters support for i830.
Ian Romanick [Sun, 19 Sep 2004 07:15:38 +0000 (07:15 +0000)]
Added GL_ARB_point_parameters support for i830.

20 years agoMerge in all the i830 functional differences from the old i830 driver.
Ian Romanick [Sun, 19 Sep 2004 07:01:26 +0000 (07:01 +0000)]
Merge in all the i830 functional differences from the old i830 driver.

20 years agorearrange a couple of lines of code to avoid compilation error in VC 6,
Karl Schultz [Fri, 17 Sep 2004 22:02:05 +0000 (22:02 +0000)]
rearrange a couple of lines of code to avoid compilation error in VC 6,
probably due to a compiler bug.

20 years agoSymbol names are prepended with an underscore on CYGWIN as well.
Eric Anholt [Fri, 17 Sep 2004 05:10:33 +0000 (05:10 +0000)]
Symbol names are prepended with an underscore on CYGWIN as well.

X.Org Bugzilla: 1079
Submitted by: Alexander Gottwald <ago@freedesktop.org>

20 years agosilence warnings
Brian Paul [Thu, 16 Sep 2004 19:40:22 +0000 (19:40 +0000)]
silence warnings

20 years agosilence warnings, re-indent code
Brian Paul [Thu, 16 Sep 2004 19:39:04 +0000 (19:39 +0000)]
silence warnings, re-indent code

20 years agoVBO refcount and spriteblast fixes
Brian Paul [Thu, 16 Sep 2004 19:33:44 +0000 (19:33 +0000)]
VBO refcount and spriteblast fixes

20 years agoclean-up the hokey transformation code so that window resizes actually work
Brian Paul [Thu, 16 Sep 2004 19:32:49 +0000 (19:32 +0000)]
clean-up the hokey transformation code so that window resizes actually work

20 years agoreplace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas Stenglein
Brian Paul [Wed, 15 Sep 2004 14:49:33 +0000 (14:49 +0000)]
replace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas Stenglein

20 years agoin _mesa_problem() include version number in error message
Brian Paul [Wed, 15 Sep 2004 14:40:14 +0000 (14:40 +0000)]
in _mesa_problem() include version number in error message

20 years agoalso fix possible delete bugs with buffer objects and vertex/fragment programs
Brian Paul [Tue, 14 Sep 2004 22:28:27 +0000 (22:28 +0000)]
also fix possible delete bugs with buffer objects and vertex/fragment programs

20 years agofixed glDeleteTextures bug
Brian Paul [Tue, 14 Sep 2004 20:43:22 +0000 (20:43 +0000)]
fixed glDeleteTextures bug

20 years agoHave the rendering contexts share textures.
Brian Paul [Tue, 14 Sep 2004 20:42:53 +0000 (20:42 +0000)]
Have the rendering contexts share textures.
Put simple checker pattern on the objects.
Press 'd' to delete texture, 'u' to unbind it.

20 years agoRepeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.
Brian Paul [Tue, 14 Sep 2004 20:40:55 +0000 (20:40 +0000)]
Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.
Added a DeletePending flag to texture object struct to fix that.
Other misc clean-ups.

20 years agoReplace -lGL with -l$(GL_LIB), etc.
Brian Paul [Mon, 13 Sep 2004 21:04:48 +0000 (21:04 +0000)]
Replace -lGL with -l$(GL_LIB), etc.
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.

20 years agoadded GL_MAX_VERTEX_ATTRIBS_ARB bug fix
Brian Paul [Mon, 13 Sep 2004 19:59:06 +0000 (19:59 +0000)]
added GL_MAX_VERTEX_ATTRIBS_ARB bug fix

20 years agoHandle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().
Brian Paul [Mon, 13 Sep 2004 19:58:27 +0000 (19:58 +0000)]
Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().
Define 2.0 point-sprite related tokens in glheader.h (temporary).

20 years agoMinor extension string tweaks. Added support for vertex program extensions.
Ian Romanick [Mon, 13 Sep 2004 16:36:44 +0000 (16:36 +0000)]
Minor extension string tweaks.  Added support for vertex program extensions.
Tested with arbvptorus, arbvpwarpmesh, vptorus, and vpwarpmesh.

20 years agoremove ARB_texture_non_power_of_two from _mesa_enable_1_5_extensions()
Brian Paul [Mon, 13 Sep 2004 14:55:07 +0000 (14:55 +0000)]
remove ARB_texture_non_power_of_two from _mesa_enable_1_5_extensions()

20 years agoadjust texcoords for texture rectangle sampling
Brian Paul [Mon, 13 Sep 2004 14:54:19 +0000 (14:54 +0000)]
adjust texcoords for texture rectangle sampling

20 years agotweak texcoord for sampling texture rectangles (Dave Reveman)
Brian Paul [Mon, 13 Sep 2004 14:53:02 +0000 (14:53 +0000)]
tweak texcoord for sampling texture rectangles (Dave Reveman)

20 years agocleanup and bugfixes for fxDDClear()
Daniel Borca [Mon, 13 Sep 2004 09:31:28 +0000 (09:31 +0000)]
cleanup and bugfixes for fxDDClear()

20 years agocleanup and some changes towards GL_ARB_point_sprite (two-zero)
Daniel Borca [Mon, 13 Sep 2004 09:29:30 +0000 (09:29 +0000)]
cleanup and some changes towards GL_ARB_point_sprite (two-zero)

20 years agocleanup
Daniel Borca [Mon, 13 Sep 2004 09:27:03 +0000 (09:27 +0000)]
cleanup

20 years agochanges towards GL_ARB_point_sprite (two-zero)
Daniel Borca [Mon, 13 Sep 2004 08:47:01 +0000 (08:47 +0000)]
changes towards GL_ARB_point_sprite (two-zero)

20 years agoupdated ggi files in tarball list
Brian Paul [Fri, 10 Sep 2004 22:13:18 +0000 (22:13 +0000)]
updated ggi files in tarball list

20 years agoapplied patch #1026109
Brian Paul [Fri, 10 Sep 2004 22:12:36 +0000 (22:12 +0000)]
applied patch #1026109

20 years agoupdated from patch 1026109
Brian Paul [Fri, 10 Sep 2004 22:12:14 +0000 (22:12 +0000)]
updated from patch 1026109

20 years agonew file (bug 1026109)
Brian Paul [Fri, 10 Sep 2004 22:11:33 +0000 (22:11 +0000)]
new file (bug 1026109)

20 years agoremoved (bug 1026109)
Brian Paul [Fri, 10 Sep 2004 22:08:33 +0000 (22:08 +0000)]
removed (bug 1026109)

20 years agoggi updates
Brian Paul [Fri, 10 Sep 2004 19:20:56 +0000 (19:20 +0000)]
ggi updates

20 years agoassorted updates (bug #1025977)
Brian Paul [Fri, 10 Sep 2004 19:19:24 +0000 (19:19 +0000)]
assorted updates (bug #1025977)

20 years agomisc updates for 6.2 release
Brian Paul [Fri, 10 Sep 2004 16:42:40 +0000 (16:42 +0000)]
misc updates for 6.2 release

20 years agoupdated error msg
Brian Paul [Fri, 10 Sep 2004 14:41:55 +0000 (14:41 +0000)]
updated error msg

20 years agoUse CSS in custom headers.
Jose Fonseca [Fri, 10 Sep 2004 11:47:51 +0000 (11:47 +0000)]
Use CSS in custom headers.

20 years agofix matrix classification and program parsing error state bugs
Brian Paul [Fri, 10 Sep 2004 01:07:05 +0000 (01:07 +0000)]
fix matrix classification and program parsing error state bugs

20 years agoreset error state before parsing (David Reveman)
Brian Paul [Fri, 10 Sep 2004 01:05:39 +0000 (01:05 +0000)]
reset error state before parsing (David Reveman)

20 years agoMore updates for Doxygen.
Brian Paul [Fri, 10 Sep 2004 00:45:12 +0000 (00:45 +0000)]
More updates for Doxygen.

20 years agoadded glapi and shader modules, misc updates
Brian Paul [Fri, 10 Sep 2004 00:44:09 +0000 (00:44 +0000)]
added glapi and shader modules, misc updates

20 years agoUpdate the doxygen configuration file.
Jose Fonseca [Thu, 9 Sep 2004 22:23:24 +0000 (22:23 +0000)]
Update the doxygen configuration file.
Minor updates/fixes to the source documentation.

20 years agofix a bug in analyse_from_scratch() reported by Wes Bethel
Brian Paul [Thu, 9 Sep 2004 19:58:03 +0000 (19:58 +0000)]
fix a bug in analyse_from_scratch() reported by Wes Bethel

20 years agoclean-ups and comments
Brian Paul [Thu, 9 Sep 2004 19:57:26 +0000 (19:57 +0000)]
clean-ups and comments

20 years agoinitial bits for DRI_FILES for putting DRI driver sources into the tarball
Brian Paul [Thu, 9 Sep 2004 18:17:36 +0000 (18:17 +0000)]
initial bits for DRI_FILES for putting DRI driver sources into the tarball

20 years agoAnother attempt at fixing name mangling and gl__unused413().
Brian Paul [Thu, 9 Sep 2004 18:13:35 +0000 (18:13 +0000)]
Another attempt at fixing name mangling and gl__unused413().

20 years agoupdated patch for vertex program
Dave Airlie [Wed, 8 Sep 2004 08:51:12 +0000 (08:51 +0000)]
updated patch for vertex program

20 years agoThis patch enables GL_ARB_vertex_program and GL_NV_vertex_program
Dave Airlie [Tue, 7 Sep 2004 09:56:19 +0000 (09:56 +0000)]
This patch enables GL_ARB_vertex_program and GL_NV_vertex_program
support in the r200 driver. Both extensions can be enabled via
options, GL_ARB_vertex_program is on by default, GL_NV_vertex_program
off. Option descriptions are in german, english and french.

From: Philipp Klaus Krause

20 years agoAdd a solo-x86 config, and make solo use the x86 glapi
Dave Airlie [Tue, 7 Sep 2004 00:41:40 +0000 (00:41 +0000)]
Add a solo-x86 config, and make solo use the x86 glapi

20 years agomake sure the HW is clean before shooting the pipeline
Daniel Borca [Fri, 3 Sep 2004 06:32:18 +0000 (06:32 +0000)]
make sure the HW is clean before shooting the pipeline

20 years agor200-maybe-flush-less-3.diff
Keith Whitwell [Thu, 2 Sep 2004 07:33:41 +0000 (07:33 +0000)]
r200-maybe-flush-less-3.diff

20 years agoalso test for __arm__ for setting USE_IEEE (X bug 1155)
Brian Paul [Wed, 1 Sep 2004 04:36:29 +0000 (04:36 +0000)]
also test for __arm__ for setting USE_IEEE (X bug 1155)

20 years agoThe i915 driver was merged after EMIT_*_BGR bug was fixed. This brings
Keith Whitwell [Tue, 31 Aug 2004 11:36:14 +0000 (11:36 +0000)]
The i915 driver was merged after EMIT_*_BGR bug was fixed.  This brings
the driver into line with the correct meaning of those symbols
and fixes color corruptions.

20 years agonewer Glide3x snaps vertices internally for V1/VR/VB
Daniel Borca [Tue, 31 Aug 2004 06:34:51 +0000 (06:34 +0000)]
newer Glide3x snaps vertices internally for V1/VR/VB

20 years agodocument MESA_FX_NOSNAP
Daniel Borca [Tue, 31 Aug 2004 06:32:34 +0000 (06:32 +0000)]
document MESA_FX_NOSNAP

20 years agoupdated CFLAGS (Anich Gregor)
Brian Paul [Mon, 30 Aug 2004 20:53:49 +0000 (20:53 +0000)]
updated CFLAGS (Anich Gregor)

20 years agoremove CR
Daniel Borca [Mon, 30 Aug 2004 09:10:34 +0000 (09:10 +0000)]
remove CR

20 years agocleanup
Daniel Borca [Mon, 30 Aug 2004 09:06:27 +0000 (09:06 +0000)]
cleanup

20 years agorevived unused code, but got rid of warnings
Daniel Borca [Mon, 30 Aug 2004 09:05:01 +0000 (09:05 +0000)]
revived unused code, but got rid of warnings

20 years agocleaned up extensions a bit
Daniel Borca [Mon, 30 Aug 2004 08:44:32 +0000 (08:44 +0000)]
cleaned up extensions a bit

20 years agoclamp lodbias
Daniel Borca [Mon, 30 Aug 2004 08:43:26 +0000 (08:43 +0000)]
clamp lodbias

20 years agofixed automatic mipmap generation
Daniel Borca [Mon, 30 Aug 2004 08:41:25 +0000 (08:41 +0000)]
fixed automatic mipmap generation

20 years agofog really needs W
Daniel Borca [Mon, 30 Aug 2004 08:40:05 +0000 (08:40 +0000)]
fog really needs W

20 years agoremove CR
Daniel Borca [Mon, 30 Aug 2004 08:37:57 +0000 (08:37 +0000)]
remove CR

20 years agoWerror is bad, unless you know what you are doing
Daniel Borca [Mon, 30 Aug 2004 08:34:52 +0000 (08:34 +0000)]
Werror is bad, unless you know what you are doing

20 years agobump version to 6.2, add installmesa to tarballs
Brian Paul [Fri, 27 Aug 2004 15:31:20 +0000 (15:31 +0000)]
bump version to 6.2, add installmesa to tarballs

20 years agoICD update from Gregor Anich
Brian Paul [Wed, 25 Aug 2004 22:57:20 +0000 (22:57 +0000)]
ICD update from Gregor Anich

20 years agomove (void) foo; instances after local declarations
Brian Paul [Wed, 25 Aug 2004 19:12:35 +0000 (19:12 +0000)]
move (void) foo; instances after local declarations

20 years agoprint internalFormat value in r200ChooseTextureFormat() error message
Brian Paul [Wed, 25 Aug 2004 17:36:34 +0000 (17:36 +0000)]
print internalFormat value in r200ChooseTextureFormat() error message

20 years agoSilence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
Brian Paul [Wed, 25 Aug 2004 15:59:48 +0000 (15:59 +0000)]
Silence gcc 3.4 warnings on ReactOS.  Mostly unused var warnings.  (patch 1015696)

20 years agoregenerated with license info
Brian Paul [Wed, 25 Aug 2004 15:33:49 +0000 (15:33 +0000)]
regenerated with license info

20 years agoMakefile for python-generated files (Ian Romanick)
Brian Paul [Wed, 25 Aug 2004 15:33:11 +0000 (15:33 +0000)]
Makefile for python-generated files (Ian Romanick)

20 years agouse version generated from the XML database
Brian Paul [Wed, 25 Aug 2004 15:22:35 +0000 (15:22 +0000)]
use version generated from the XML database

20 years agofix MGL namespace warning (patch 1014800)
Brian Paul [Wed, 25 Aug 2004 15:20:56 +0000 (15:20 +0000)]
fix MGL namespace warning (patch 1014800)

20 years agoreturn type for MapBuffer was not specified
Brian Paul [Wed, 25 Aug 2004 15:19:40 +0000 (15:19 +0000)]
return type for MapBuffer was not specified

20 years agoFix mgl name mangling (patch 1014800)
Brian Paul [Wed, 25 Aug 2004 15:10:51 +0000 (15:10 +0000)]
Fix mgl name mangling (patch 1014800)

20 years agoWindows ICD driver code (patch 1014800)
Brian Paul [Wed, 25 Aug 2004 14:59:45 +0000 (14:59 +0000)]
Windows ICD driver code (patch 1014800)

20 years agofix a couple bad casts
Brian Paul [Wed, 25 Aug 2004 14:52:01 +0000 (14:52 +0000)]
fix a couple bad casts

20 years agoremove BeOS conditional code. oglinfo should be moved to xdemos since it's a GLX...
Brian Paul [Wed, 25 Aug 2004 14:51:18 +0000 (14:51 +0000)]
remove BeOS conditional code.  oglinfo should be moved to xdemos since it's a GLX program

20 years agoprint current config name before building src and progs
Brian Paul [Wed, 25 Aug 2004 14:49:41 +0000 (14:49 +0000)]
print current config name before building src and progs

20 years agowork around a param bug (Adam Jackson)
Brian Paul [Wed, 25 Aug 2004 14:39:40 +0000 (14:39 +0000)]
work around a param bug (Adam Jackson)