mesa.git
18 years agolinux-indirect target fixes.
Adam Jackson [Thu, 10 Aug 2006 20:19:57 +0000 (20:19 +0000)]
linux-indirect target fixes.

18 years ago6.5.1 relnotes
Brian Paul [Thu, 10 Aug 2006 14:57:24 +0000 (14:57 +0000)]
6.5.1 relnotes

18 years agolatest updates for 6.5.1
Brian Paul [Thu, 10 Aug 2006 14:54:19 +0000 (14:54 +0000)]
latest updates for 6.5.1

18 years agoFixup more PROGRAM_UNDEFINED problems.
Alan Hourihane [Thu, 10 Aug 2006 13:14:24 +0000 (13:14 +0000)]
Fixup more PROGRAM_UNDEFINED problems.

18 years agoFix some breakage after the PROGRAM_UNDEFINED change
Alan Hourihane [Thu, 10 Aug 2006 13:12:00 +0000 (13:12 +0000)]
Fix some breakage after the PROGRAM_UNDEFINED change

18 years agoAdded initial multisampling support to glfbdev driver.
Sean D'Epagnier [Thu, 10 Aug 2006 10:21:17 +0000 (10:21 +0000)]
Added initial multisampling support to glfbdev driver.
Fully implemented glutGameMode, and added vidresize stubs to make
Added support for glutReshapeDisplay to change video mode but not lose
current mesa context.
implementation glut 5 complient.
Fixed many minor bugs
Updated docs

18 years agofinish up texstore for SL8 texture format
Brian Paul [Thu, 10 Aug 2006 04:14:05 +0000 (04:14 +0000)]
finish up texstore for SL8 texture format

18 years agoGLSL 1.20 built-in library.
Michal Krol [Wed, 9 Aug 2006 21:22:59 +0000 (21:22 +0000)]
GLSL 1.20 built-in library.

18 years agoMore GLSL code - more support for vec4 operations on x86 back-end.
Michal Krol [Wed, 9 Aug 2006 20:05:26 +0000 (20:05 +0000)]
More GLSL code - more support for vec4 operations on x86 back-end.

18 years agoAdd Intel i965G/Q DRI driver.
Eric Anholt [Wed, 9 Aug 2006 19:14:05 +0000 (19:14 +0000)]
Add Intel i965G/Q DRI driver.

This driver comes from Tungsten Graphics, with a few further modifications by
Intel.

18 years agoAdd PROGRAM_FILE_MAX for i965 driver.
Eric Anholt [Wed, 9 Aug 2006 19:10:23 +0000 (19:10 +0000)]
Add PROGRAM_FILE_MAX for i965 driver.

While here, make PROGRAM_UNDEFINED just the next value in the enum.

18 years agoimplement some of the sRGB texstore functions
Brian Paul [Wed, 9 Aug 2006 02:42:25 +0000 (02:42 +0000)]
implement some of the sRGB texstore functions

18 years agoremove stray text from previous check-in
Brian Paul [Mon, 7 Aug 2006 14:09:13 +0000 (14:09 +0000)]
remove stray text from previous check-in

18 years agoModified config to use glut/fbdev, added demo and sample directories.
Sean D'Epagnier [Sat, 5 Aug 2006 08:55:10 +0000 (08:55 +0000)]
Modified config to use glut/fbdev, added demo and sample directories.

18 years agoModularized code into multiple files.
Sean D'Epagnier [Sat, 5 Aug 2006 08:24:29 +0000 (08:24 +0000)]
Modularized code into multiple files.

Added gamemode stubs, iconify support, joystick stubs.

Fixed color index mode, added 8 bit alpha blending, enabled cmaps even
with 15, 16, 24, and 32 depths as some fbdev drivers need this.

Fixed compiling with -ansi

Using SIGIO for keyboard input, so that vt switching is enabled even
if the program is locked.

Fixed numerous small bugs.

18 years agofix typo, indentation
Brian Paul [Fri, 4 Aug 2006 22:09:43 +0000 (22:09 +0000)]
fix typo, indentation

18 years agoexport new _mesa_* functions
Karl Schultz [Fri, 4 Aug 2006 19:45:29 +0000 (19:45 +0000)]
export new _mesa_* functions

18 years agofix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT
Brian Paul [Fri, 4 Aug 2006 13:41:25 +0000 (13:41 +0000)]
fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT

18 years agoHandle GLUT_DEVICE_KEY_REPEAT,GLUT_OWN_JOYSTICK,GLUT_JOYSTICK_POLL_RATE in glutDevice...
Claudio Ciccani [Fri, 4 Aug 2006 12:43:33 +0000 (12:43 +0000)]
Handle GLUT_DEVICE_KEY_REPEAT,GLUT_OWN_JOYSTICK,GLUT_JOYSTICK_POLL_RATE in glutDeviceGet().

18 years agoMoved glutDeviceGet() to events.c.
Claudio Ciccani [Fri, 4 Aug 2006 10:49:43 +0000 (10:49 +0000)]
Moved glutDeviceGet() to events.c.
Implemented glutIgnoreKeyRepeat() and glutSetKeyRepeat().

18 years agomore work for GL_EXT_texture_sRGB.
Brian Paul [Fri, 4 Aug 2006 03:44:53 +0000 (03:44 +0000)]
more work for GL_EXT_texture_sRGB.

18 years agouse WRITE_MASK_* instead of 0x1, 0x2, etc
Brian Paul [Thu, 3 Aug 2006 17:10:45 +0000 (17:10 +0000)]
use WRITE_MASK_* instead of 0x1, 0x2, etc

18 years agoAdded a check to prevent rebuilding Mesa with a different configuration
Brian Paul [Thu, 3 Aug 2006 16:58:06 +0000 (16:58 +0000)]
Added a check to prevent rebuilding Mesa with a different configuration
without first doing 'make realclean'.

18 years agoNew wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose().
Brian Paul [Thu, 3 Aug 2006 03:59:20 +0000 (03:59 +0000)]
New wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose().
Eventually move them into imports.c

18 years agoadded GL_EXT_texture_sRGB
Brian Paul [Thu, 3 Aug 2006 03:23:05 +0000 (03:23 +0000)]
added GL_EXT_texture_sRGB

18 years agoInitial work for GL_EXT_texture_sRGB.
Brian Paul [Thu, 3 Aug 2006 03:20:52 +0000 (03:20 +0000)]
Initial work for GL_EXT_texture_sRGB.

18 years agofix link for Aqsis
Brian Paul [Wed, 2 Aug 2006 21:26:15 +0000 (21:26 +0000)]
fix link for Aqsis

18 years agoEnable vec4 extension for x86 back-end.
Michal Krol [Wed, 2 Aug 2006 14:51:24 +0000 (14:51 +0000)]
Enable vec4 extension for x86 back-end.

18 years agoChange fragment shader to utilize faster vec4 operations.
Michal Krol [Wed, 2 Aug 2006 14:46:50 +0000 (14:46 +0000)]
Change fragment shader to utilize faster vec4 operations.

18 years agoAdd test for vec4 extension.
Michal Krol [Wed, 2 Aug 2006 14:45:24 +0000 (14:45 +0000)]
Add test for vec4 extension.

18 years agoAdd vec4 extension.
Michal Krol [Wed, 2 Aug 2006 14:44:46 +0000 (14:44 +0000)]
Add vec4 extension.

18 years agoFix mmFindBlock function.
Michal Krol [Wed, 2 Aug 2006 14:22:06 +0000 (14:22 +0000)]
Fix mmFindBlock function.

18 years agoClean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
Michal Krol [Tue, 1 Aug 2006 20:07:31 +0000 (20:07 +0000)]
Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.

18 years agocasts and assertions
Brian Paul [Tue, 1 Aug 2006 20:03:29 +0000 (20:03 +0000)]
casts and assertions

18 years agocode to draw engine block
Brian Paul [Tue, 1 Aug 2006 20:03:05 +0000 (20:03 +0000)]
code to draw engine block

18 years agoMove GL_MESA_shader_debug from glext.h to gl.h.
Michal Krol [Tue, 1 Aug 2006 16:06:08 +0000 (16:06 +0000)]
Move GL_MESA_shader_debug from glext.h to gl.h.

18 years agorenderbuffer fixes (Sean D'Epagnier)
Brian Paul [Tue, 1 Aug 2006 14:33:05 +0000 (14:33 +0000)]
renderbuffer fixes (Sean D'Epagnier)

18 years agoFixed warnings.
Claudio Ciccani [Tue, 1 Aug 2006 14:32:02 +0000 (14:32 +0000)]
Fixed warnings.

18 years agofix #6991
Aapo Tahkola [Mon, 31 Jul 2006 23:21:50 +0000 (23:21 +0000)]
fix #6991

18 years agoadded glut fbdev files
Brian Paul [Mon, 31 Jul 2006 14:25:53 +0000 (14:25 +0000)]
added glut fbdev files

18 years agoGLUT on fbdev driver. Sean D'Epagnier
Brian Paul [Mon, 31 Jul 2006 14:24:21 +0000 (14:24 +0000)]
GLUT on fbdev driver.  Sean D'Epagnier

18 years agoAdd support for GL_MESA_shader_debug.
Michal Krol [Sun, 30 Jul 2006 15:29:11 +0000 (15:29 +0000)]
Add support for GL_MESA_shader_debug.

18 years agoCommit enums for GL_MESA_shader_debug.spec.
Michal Krol [Sun, 30 Jul 2006 15:19:19 +0000 (15:19 +0000)]
Commit enums for GL_MESA_shader_debug.spec.

18 years agoProgram to convert .syn file to .h headers.
Michal Krol [Sun, 30 Jul 2006 14:48:01 +0000 (14:48 +0000)]
Program to convert .syn file to .h headers.

18 years agoClear window's event mask before enabling handled events.
Claudio Ciccani [Sun, 30 Jul 2006 14:47:51 +0000 (14:47 +0000)]
Clear window's event mask before enabling handled events.

18 years agoAdd support for GL_MESA_shader_debug.
Michal Krol [Sun, 30 Jul 2006 14:45:25 +0000 (14:45 +0000)]
Add support for GL_MESA_shader_debug.

18 years agoFix dependencies.
Michal Krol [Sun, 30 Jul 2006 14:33:53 +0000 (14:33 +0000)]
Fix dependencies.

18 years agoMore text.
Michal Krol [Sun, 30 Jul 2006 14:28:38 +0000 (14:28 +0000)]
More text.

18 years agoOptimize shaders.
Michal Krol [Sat, 29 Jul 2006 09:42:03 +0000 (09:42 +0000)]
Optimize shaders.
Use frame counter.

18 years agoFix build failure in the savage driver.
Eric Anholt [Fri, 28 Jul 2006 21:30:14 +0000 (21:30 +0000)]
Fix build failure in the savage driver.

18 years agor300_emit.h cleanup.
Jerome Glisse [Thu, 27 Jul 2006 22:51:14 +0000 (22:51 +0000)]
r300_emit.h cleanup.

Remove unused macro
Replace LOCAL_VAR, PREFIX*
Indent code
Remove radeon redundant CP type 3 packet

18 years agoload SLANG_FRAGMENT_FIXED_SECONDARYCOLOR
Brian Paul [Fri, 21 Jul 2006 20:52:43 +0000 (20:52 +0000)]
load SLANG_FRAGMENT_FIXED_SECONDARYCOLOR

18 years agojust reindent
Brian Paul [Fri, 21 Jul 2006 20:49:20 +0000 (20:49 +0000)]
just reindent

18 years agoadded arrayobj.[ch] files
Brian Paul [Fri, 21 Jul 2006 19:56:52 +0000 (19:56 +0000)]
added arrayobj.[ch] files

18 years agocheck for non-nill pwc in WMesaMakeCurrent(), bug 7585
Brian Paul [Fri, 21 Jul 2006 19:52:59 +0000 (19:52 +0000)]
check for non-nill pwc in WMesaMakeCurrent(), bug 7585

18 years agoSome structure renaming. Prefix vertex/fragment-related structs with
Brian Paul [Thu, 20 Jul 2006 16:49:57 +0000 (16:49 +0000)]
Some structure renaming.  Prefix vertex/fragment-related structs with
"gl_" to match other structs.

18 years agobump MESA_TINY to 1
Brian Paul [Thu, 20 Jul 2006 04:34:36 +0000 (04:34 +0000)]
bump MESA_TINY to 1

18 years agomove/update comments
Brian Paul [Thu, 20 Jul 2006 04:24:42 +0000 (04:24 +0000)]
move/update comments

18 years agouse ctx->Light.ShadeModel instead of ctx->_TriangleCaps
Brian Paul [Thu, 20 Jul 2006 04:17:11 +0000 (04:17 +0000)]
use ctx->Light.ShadeModel instead of ctx->_TriangleCaps

18 years agoInstead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light...
Brian Paul [Thu, 20 Jul 2006 04:16:26 +0000 (04:16 +0000)]
Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel

18 years agoremove unused NEED_TWO_SIDED_LIGHTING() macro
Brian Paul [Thu, 20 Jul 2006 03:56:16 +0000 (03:56 +0000)]
remove unused NEED_TWO_SIDED_LIGHTING() macro

18 years agoFor glGetTexImage(), move the _mesa_validate_pbo_access() error check into
Brian Paul [Wed, 19 Jul 2006 16:13:15 +0000 (16:13 +0000)]
For glGetTexImage(), move the _mesa_validate_pbo_access() error check into
_mesa_GetTexImage() so it's not needed in the fallback or driver functions.

18 years agoSeveral loops over the map1/2 evaluator arrays were incorrect.
Brian Paul [Wed, 19 Jul 2006 15:28:29 +0000 (15:28 +0000)]
Several loops over the map1/2 evaluator arrays were incorrect.
There's only 16 evaluator maps.  Define new _TNL_NUM_EVAL constant for
those loops.
Also, fix priority of GL_NV_vertex_program generic maps - they override the
conventional maps.
See bug 7564.

18 years agomore 6.5.1 additions
Brian Paul [Wed, 19 Jul 2006 15:09:42 +0000 (15:09 +0000)]
more 6.5.1 additions

18 years agoindentation fix
Brian Paul [Tue, 18 Jul 2006 22:33:14 +0000 (22:33 +0000)]
indentation fix

18 years agoadd missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()
Brian Paul [Tue, 18 Jul 2006 22:27:02 +0000 (22:27 +0000)]
add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()

18 years agoCompute ctx->Color._LogicOpEnabled in one place instead of four places!
Brian Paul [Tue, 18 Jul 2006 19:15:40 +0000 (19:15 +0000)]
Compute ctx->Color._LogicOpEnabled in one place instead of four places!

18 years agofix a memleak (that code block has been commented out for years for unknown reasons)
Tilman Sauerbeck [Sat, 15 Jul 2006 12:09:27 +0000 (12:09 +0000)]
fix a memleak (that code block has been commented out for years for unknown reasons)

18 years agoA small logic error.
Rune Petersen [Sat, 15 Jul 2006 10:44:25 +0000 (10:44 +0000)]
A small logic error.

We need to call do_swizzle() when the scaler _or_ vector unit have a
swizzle other 000/ZERO/111/ONE.

This ensures that the gloss on banners in ut2004 is not angel-dependent
(since when was banners glossy?).

18 years agodefine FLT_MAX_EXP to 128 if undefined
Brian Paul [Thu, 13 Jul 2006 20:21:44 +0000 (20:21 +0000)]
define FLT_MAX_EXP to 128 if undefined

18 years agoMove initialization of server_support from __glXProcessServerString to
Ian Romanick [Thu, 13 Jul 2006 15:27:37 +0000 (15:27 +0000)]
Move initialization of server_support from __glXProcessServerString to
__glXCalcualteUsableExtensions.  By having both callers of
__glXProcessServerString initialize the bit-fields passed in, we guarantee
that the correct amount of data is initialized:

This fixes bugzilla #7353.

18 years agoLIB_DIR is now just 'lib' or 'lib64'
Brian Paul [Thu, 13 Jul 2006 02:50:27 +0000 (02:50 +0000)]
LIB_DIR is now just 'lib' or 'lib64'
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.

18 years agodownload/install updates
Brian Paul [Wed, 12 Jul 2006 20:14:43 +0000 (20:14 +0000)]
download/install updates

18 years agoNew config var DRI_DRIVER_SEARCH_DIR to specify where libGL should search
Brian Paul [Wed, 12 Jul 2006 19:40:59 +0000 (19:40 +0000)]
New config var DRI_DRIVER_SEARCH_DIR to specify where libGL should search
(at runtime) for the DRI drivers.
See bug 2372.

18 years agofix another memleak
Tilman Sauerbeck [Wed, 12 Jul 2006 17:06:49 +0000 (17:06 +0000)]
fix another memleak

18 years agofix a memleak
Tilman Sauerbeck [Wed, 12 Jul 2006 16:49:07 +0000 (16:49 +0000)]
fix a memleak

18 years agodestroy window upon exit, remove CVS log comment
Brian Paul [Wed, 12 Jul 2006 02:34:43 +0000 (02:34 +0000)]
destroy window upon exit, remove CVS log comment

18 years agocall glutDestroyWindow() to allow checking for mem leaks upon exit
Brian Paul [Wed, 12 Jul 2006 02:32:21 +0000 (02:32 +0000)]
call glutDestroyWindow() to allow checking for mem leaks upon exit

18 years agofree array objects properly (bug 7493)
Brian Paul [Tue, 11 Jul 2006 21:56:43 +0000 (21:56 +0000)]
free array objects properly (bug 7493)

18 years agofree GL2Objects unconditionally
Tilman Sauerbeck [Tue, 11 Jul 2006 20:13:28 +0000 (20:13 +0000)]
free GL2Objects unconditionally

18 years agofree the ArrayObjects hash table
Tilman Sauerbeck [Tue, 11 Jul 2006 19:36:27 +0000 (19:36 +0000)]
free the ArrayObjects hash table

18 years agoonly access ss->BufferObjects if it's declared
Tilman Sauerbeck [Tue, 11 Jul 2006 19:03:21 +0000 (19:03 +0000)]
only access ss->BufferObjects if it's declared

18 years ago_mesa_destroy_context() frees radeon->glCtx so we must not access it afterwards
Tilman Sauerbeck [Tue, 11 Jul 2006 18:35:24 +0000 (18:35 +0000)]
_mesa_destroy_context() frees radeon->glCtx so we must not access it afterwards

18 years agoRevert the SiS and Unichrome DRM version check changes.
Thomas Hellström [Tue, 11 Jul 2006 14:56:20 +0000 (14:56 +0000)]
Revert the SiS and Unichrome DRM version check changes.

18 years agoThe SiS and Unichrome drivers assume that the handle to the
Thomas Hellström [Mon, 10 Jul 2006 12:20:24 +0000 (12:20 +0000)]
The SiS and Unichrome drivers assume that the handle to the
AGP map is equivalent to the AGP physical address. Fix this.

18 years agoFix #7195
Aapo Tahkola [Sun, 9 Jul 2006 00:04:06 +0000 (00:04 +0000)]
Fix #7195

18 years agoupdate comment, APP_LIB_DEPS
Brian Paul [Fri, 7 Jul 2006 14:32:47 +0000 (14:32 +0000)]
update comment, APP_LIB_DEPS

18 years agofixup OSMESA_LIBS and make clean target
Brian Paul [Fri, 7 Jul 2006 14:32:02 +0000 (14:32 +0000)]
fixup OSMESA_LIBS and make clean target

18 years agoremove GLUT dependency
Brian Paul [Fri, 7 Jul 2006 14:31:28 +0000 (14:31 +0000)]
remove GLUT dependency

18 years agoremove dependency on GLUT
Brian Paul [Fri, 7 Jul 2006 14:12:04 +0000 (14:12 +0000)]
remove dependency on GLUT

18 years agoDon't include unused header files.
Kristian Høgsberg [Thu, 6 Jul 2006 07:28:25 +0000 (07:28 +0000)]
Don't include unused header files.

18 years agoR300_RR_ROUTE_1 still needs to be initialized.
Aapo Tahkola [Wed, 5 Jul 2006 13:28:01 +0000 (13:28 +0000)]
R300_RR_ROUTE_1 still needs to be initialized.

18 years agoNew animated engine demo.
Brian Paul [Tue, 4 Jul 2006 21:43:21 +0000 (21:43 +0000)]
New animated engine demo.

18 years agoAdd R300_VAP_CNTL 0x2140 and cosmetic cleanup.
Jerome Glisse [Tue, 4 Jul 2006 20:50:49 +0000 (20:50 +0000)]
Add R300_VAP_CNTL 0x2140 and cosmetic cleanup.

18 years agoadded linux-osmesa
Brian Paul [Tue, 4 Jul 2006 16:49:58 +0000 (16:49 +0000)]
added linux-osmesa

18 years agosimple libOSMesa.so-only config, no X
Brian Paul [Tue, 4 Jul 2006 16:49:41 +0000 (16:49 +0000)]
simple libOSMesa.so-only config, no X

18 years agoenable hw antialiasing (Martijn van Oosterhout)
Brian Paul [Tue, 4 Jul 2006 13:37:19 +0000 (13:37 +0000)]
enable hw antialiasing (Martijn van Oosterhout)

18 years agofix linking bug (bug 7405)
Brian Paul [Mon, 3 Jul 2006 23:12:16 +0000 (23:12 +0000)]
fix linking bug (bug 7405)

18 years agoadditional clipping/viewport fixes (Martijn van Oosterhout)
Brian Paul [Mon, 3 Jul 2006 23:08:33 +0000 (23:08 +0000)]
additional clipping/viewport fixes (Martijn van Oosterhout)

18 years agosome minor simplifications (same as in r300 driver) since mesa's internally used...
Roland Scheidegger [Mon, 3 Jul 2006 22:14:54 +0000 (22:14 +0000)]
some minor simplifications (same as in r300 driver) since mesa's internally used swizzle and writemask flags are identical to the bits used on the hardware, use a macro to error out if these assumptions are no longer true.