mesa.git
19 years agofix APP_LIB_DEPS (bug 1065260)
Brian Paul [Mon, 15 Nov 2004 16:54:14 +0000 (16:54 +0000)]
fix APP_LIB_DEPS (bug 1065260)

19 years agoSync with Xorg head: mingw build fixes from Alexander Gottwald.
Adam Jackson [Mon, 15 Nov 2004 15:31:32 +0000 (15:31 +0000)]
Sync with Xorg head: mingw build fixes from Alexander Gottwald.

19 years agomoved windoze specific code outside drivers/glide/
Daniel Borca [Mon, 15 Nov 2004 10:54:57 +0000 (10:54 +0000)]
moved windoze specific code outside drivers/glide/

19 years agowork around a bug in gcc 3.3.3 (which duplicates ASM block)
Daniel Borca [Mon, 15 Nov 2004 08:06:55 +0000 (08:06 +0000)]
work around a bug in gcc 3.3.3 (which duplicates ASM block)

19 years agofix _mesa_image_address2d invocation
Daniel Borca [Mon, 15 Nov 2004 08:05:59 +0000 (08:05 +0000)]
fix _mesa_image_address2d invocation

19 years agouse float constants
Daniel Borca [Mon, 15 Nov 2004 08:04:33 +0000 (08:04 +0000)]
use float constants

19 years agouse parentheses to avoid warning
Daniel Borca [Mon, 15 Nov 2004 08:03:22 +0000 (08:03 +0000)]
use parentheses to avoid warning

19 years agothe win32 interface will be moving under windows/
Daniel Borca [Mon, 15 Nov 2004 08:02:24 +0000 (08:02 +0000)]
the win32 interface will be moving under windows/

19 years agoemphasize on the contents of Glide SDK
Daniel Borca [Mon, 15 Nov 2004 08:01:20 +0000 (08:01 +0000)]
emphasize on the contents of Glide SDK

19 years agoenable hw quad primitive for swtcl
Roland Scheidegger [Fri, 12 Nov 2004 18:34:35 +0000 (18:34 +0000)]
enable hw quad primitive for swtcl

19 years agoadd LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which hopefull...
Roland Scheidegger [Fri, 12 Nov 2004 18:29:51 +0000 (18:29 +0000)]
add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which hopefully fixes lockups (?) (from r200 driver)

19 years ago(from r200 driver) If an application cleared before any state had been emitted, that...
Roland Scheidegger [Fri, 12 Nov 2004 18:27:14 +0000 (18:27 +0000)]
(from r200 driver) If an application cleared before any state had been emitted, that clear would
happen before any state had been set, causing a hang later on.  Fix this by
calling radeonFlush instead of FIREVERTICES (which checks if any state has been
emitted but not flushed, before calling Flush) in radeonClear.  While here, add
some more debugging info which was useful, and remove an unnecessary
save/restore in BackUpAndEmit.

19 years agofix quads to use GL_QUADS instead of GL_TRIANGLES as primitive
Roland Scheidegger [Fri, 12 Nov 2004 18:00:44 +0000 (18:00 +0000)]
fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive

19 years agosmall note regarding SSE under pure DOS
Daniel Borca [Fri, 12 Nov 2004 15:00:30 +0000 (15:00 +0000)]
small note regarding SSE under pure DOS

19 years agoadded a few sanity checks
Daniel Borca [Fri, 12 Nov 2004 14:58:26 +0000 (14:58 +0000)]
added a few sanity checks
made coding style a bit more consistent

19 years agoadded DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device drivers
Daniel Borca [Fri, 12 Nov 2004 10:23:10 +0000 (10:23 +0000)]
added DD_TRI_TWOSTENCIL to ease  EXT_stencil_two_side in device drivers

19 years agowip hack for EXT_stencil_two_side
Daniel Borca [Fri, 12 Nov 2004 10:11:04 +0000 (10:11 +0000)]
wip hack for EXT_stencil_two_side

19 years agopop(stencil) for EXT_stencil_two_side
Daniel Borca [Fri, 12 Nov 2004 09:56:33 +0000 (09:56 +0000)]
pop(stencil) for EXT_stencil_two_side

19 years agobrown paper bag, r100 can't do hardware quads.
Adam Jackson [Fri, 12 Nov 2004 04:20:15 +0000 (04:20 +0000)]
brown paper bag, r100 can't do hardware quads.

19 years agomake render_quads_verts call EMIT_PRIM with the arguments in the right order,
Adam Jackson [Fri, 12 Nov 2004 04:13:27 +0000 (04:13 +0000)]
make render_quads_verts call EMIT_PRIM with the arguments in the right order,
and enable hardware quads on r200 and radeon.  samples/prim renders quads
correctly now.

19 years agoallow specifying image file on command line
Brian Paul [Wed, 10 Nov 2004 23:16:22 +0000 (23:16 +0000)]
allow specifying image file on command line

19 years agoGL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking
Brian Paul [Wed, 10 Nov 2004 15:46:52 +0000 (15:46 +0000)]
GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking
and ignored for 1D and 2D images.
Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function.
This change gets propogated to some other routines.
Also added new _mesa_image_address[123]d() convenience functions.

19 years agoadded shaderobjects.c
Brian Paul [Wed, 10 Nov 2004 15:25:37 +0000 (15:25 +0000)]
added shaderobjects.c

19 years agoadd some chip ids
Roland Scheidegger [Wed, 10 Nov 2004 01:49:01 +0000 (01:49 +0000)]
add some chip ids

19 years agodo clipping prior to XGetImage, just in case the image would extend beyond the screen...
Brian Paul [Tue, 9 Nov 2004 01:20:57 +0000 (01:20 +0000)]
do clipping prior to XGetImage, just in case the image would extend beyond the screen's bounds

19 years agouse the new _mesa_clip_readpixels() routine
Brian Paul [Tue, 9 Nov 2004 01:10:36 +0000 (01:10 +0000)]
use the new _mesa_clip_readpixels() routine

19 years agoadded a comment and assertion in _mesa_clip_drawpixels() for PixelZoom
Brian Paul [Tue, 9 Nov 2004 01:08:04 +0000 (01:08 +0000)]
added a comment and assertion in _mesa_clip_drawpixels() for PixelZoom

19 years agoRemoved _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.
Brian Paul [Tue, 9 Nov 2004 01:04:50 +0000 (01:04 +0000)]
Removed _swrast_clip_pixelrect().  Use _mesa_clip_drawpixels() instead.

19 years agoadded _mesa_clip_drawpixels() and _mesa_clip_readpixels()
Brian Paul [Tue, 9 Nov 2004 01:03:49 +0000 (01:03 +0000)]
added _mesa_clip_drawpixels() and _mesa_clip_readpixels()

19 years agodon't use ctx->Pack, use the function argument
Brian Paul [Tue, 9 Nov 2004 00:55:13 +0000 (00:55 +0000)]
don't use ctx->Pack, use the function argument

19 years agoRemove need for defining _MSC_VER when building Mesa for windows with
Brian Paul [Mon, 8 Nov 2004 15:08:48 +0000 (15:08 +0000)]
Remove need for defining _MSC_VER when building Mesa for windows with
a non MS C compiler (MinGW).  (Gregor Anich)

19 years agoshorter error messages when calling a GL function without a bound context (FDO bug...
Brian Paul [Fri, 5 Nov 2004 18:32:02 +0000 (18:32 +0000)]
shorter error messages when calling a GL function without a bound context (FDO bug 1775)

19 years agoAdd EXT_stencil_wrap test that doesn't depend on stencil read-back
Ian Romanick [Thu, 4 Nov 2004 22:32:41 +0000 (22:32 +0000)]
Add EXT_stencil_wrap test that doesn't depend on stencil read-back
functioning.

19 years agoconstify a few arrays.
Adam Jackson [Wed, 3 Nov 2004 18:55:31 +0000 (18:55 +0000)]
constify a few arrays.

19 years agostatic char * -> static char []
Adam Jackson [Wed, 3 Nov 2004 18:55:20 +0000 (18:55 +0000)]
static char * -> static char []

19 years agoenable GL_EXT_fog_coord. Calculate fog factors and submit them instead of fog coords...
Roland Scheidegger [Wed, 3 Nov 2004 17:29:39 +0000 (17:29 +0000)]
enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).

19 years agoAdded MMX optimized version of the RGB565 ReadRGBASpan routine.
Ian Romanick [Tue, 2 Nov 2004 18:25:45 +0000 (18:25 +0000)]
Added MMX optimized version of the RGB565 ReadRGBASpan routine.

19 years agoNo visible changes, but commit the groundwork for further experiments:
Nicolai Haehnle [Tue, 2 Nov 2004 13:06:45 +0000 (13:06 +0000)]
No visible changes, but commit the groundwork for further experiments:
- Install custom (though inactive) pipeline
- Track depth test and culling state in hardware registers

19 years agoAdd culling registers, sync versions of r300_reg.h
Nicolai Haehnle [Tue, 2 Nov 2004 13:05:40 +0000 (13:05 +0000)]
Add culling registers, sync versions of r300_reg.h

19 years agomerge the AIX and AIX64 cases
Brian Paul [Mon, 1 Nov 2004 22:28:42 +0000 (22:28 +0000)]
merge the AIX and AIX64 cases

19 years agoNicolai's sw-clipspan-fixes.patch
Keith Whitwell [Mon, 1 Nov 2004 20:27:43 +0000 (20:27 +0000)]
Nicolai's sw-clipspan-fixes.patch

19 years agocleaned up the mess a bit
Daniel Borca [Mon, 1 Nov 2004 09:06:17 +0000 (09:06 +0000)]
cleaned up the mess a bit

19 years agosmall aesthetic correction
Daniel Borca [Mon, 1 Nov 2004 08:49:55 +0000 (08:49 +0000)]
small aesthetic correction

19 years agoupdated "clean" target in makefiles
Daniel Borca [Mon, 1 Nov 2004 08:40:03 +0000 (08:40 +0000)]
updated "clean" target in makefiles

19 years agoprotected against old djgpp distros
Daniel Borca [Mon, 1 Nov 2004 08:38:12 +0000 (08:38 +0000)]
protected against old djgpp distros

19 years agofixed compilation error
Daniel Borca [Mon, 1 Nov 2004 07:40:53 +0000 (07:40 +0000)]
fixed compilation error

19 years agofix convolution regression from revision 1.48 to 1.49
Brian Paul [Mon, 1 Nov 2004 01:00:16 +0000 (01:00 +0000)]
fix convolution regression from revision 1.48 to 1.49

19 years agodon't advertise GL_ARB_vertex/fragment_shader until they're done
Brian Paul [Sun, 31 Oct 2004 18:55:00 +0000 (18:55 +0000)]
don't advertise GL_ARB_vertex/fragment_shader until they're done

19 years agoadded a cast to ADD_POINTERS macro
Brian Paul [Sun, 31 Oct 2004 18:54:10 +0000 (18:54 +0000)]
added a cast to ADD_POINTERS macro

19 years agoremove PBO work from to-do list
Brian Paul [Sun, 31 Oct 2004 18:44:24 +0000 (18:44 +0000)]
remove PBO work from to-do list

19 years agofinished up PBO support
Brian Paul [Sun, 31 Oct 2004 18:43:46 +0000 (18:43 +0000)]
finished up PBO support

19 years agoindentation fix
Brian Paul [Sun, 31 Oct 2004 18:41:38 +0000 (18:41 +0000)]
indentation fix

19 years agoUse the _mesa_scale_and_bias_rgba() function in the convolution functions.
Brian Paul [Sun, 31 Oct 2004 18:40:55 +0000 (18:40 +0000)]
Use the _mesa_scale_and_bias_rgba() function in the convolution functions.
Minor clean-ups.

19 years agoPBO support for gl[Get]PixelMap functions
Brian Paul [Sun, 31 Oct 2004 18:31:07 +0000 (18:31 +0000)]
PBO support for gl[Get]PixelMap functions

19 years agoPBO support for glColorTable, glColorSubTable, glGetColorTable, etc.
Brian Paul [Sun, 31 Oct 2004 17:56:28 +0000 (17:56 +0000)]
PBO support for glColorTable, glColorSubTable, glGetColorTable, etc.

19 years agoPBO support for glConvolutionFilter1D/2D, glGetConvolutionFilter, etc.
Brian Paul [Sun, 31 Oct 2004 17:36:23 +0000 (17:36 +0000)]
PBO support for glConvolutionFilter1D/2D, glGetConvolutionFilter, etc.

19 years agoupdated for PBOs
Brian Paul [Sun, 31 Oct 2004 17:04:07 +0000 (17:04 +0000)]
updated for PBOs

19 years agoglPolygonStipple() and glGetPolygonStipple() updated for PBOs.
Brian Paul [Sun, 31 Oct 2004 16:52:48 +0000 (16:52 +0000)]
glPolygonStipple() and glGetPolygonStipple() updated for PBOs.

19 years agoPBO support for glGetCompressedTexImage().
Brian Paul [Sun, 31 Oct 2004 16:35:06 +0000 (16:35 +0000)]
PBO support for glGetCompressedTexImage().

19 years agoglGetTexImage() now works with PBOs.
Brian Paul [Sun, 31 Oct 2004 16:24:32 +0000 (16:24 +0000)]
glGetTexImage() now works with PBOs.

19 years agoMap/Unmap PBO as needed so that the texstore routines can work with
Brian Paul [Sun, 31 Oct 2004 16:18:07 +0000 (16:18 +0000)]
Map/Unmap PBO as needed so that the texstore routines can work with
hardware-based PBOs in the future.

19 years agoRemoved _swrast_validate_pbo_access().
Brian Paul [Sun, 31 Oct 2004 15:49:59 +0000 (15:49 +0000)]
Removed _swrast_validate_pbo_access().
In x11 driver, map/unmap PBO as needed in DrawPixels functions.

19 years agoAllow the software fallback glDrawPixels, glReadPixels, glBitmap commands to
Brian Paul [Sun, 31 Oct 2004 15:39:04 +0000 (15:39 +0000)]
Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands to
work with real, hardware-based PBOs in the future by mapping/unmapping the
PBO buffer as needed.

19 years agounbind GL_PIXEL_UNPACK_BUFFER_EXT before calling glBitmap!
Brian Paul [Sun, 31 Oct 2004 15:27:12 +0000 (15:27 +0000)]
unbind GL_PIXEL_UNPACK_BUFFER_EXT before calling glBitmap!

19 years agouse _mesa_unmap_buffer by default
Brian Paul [Sun, 31 Oct 2004 15:23:42 +0000 (15:23 +0000)]
use _mesa_unmap_buffer by default

19 years agoRemove redundant error checking.
Brian Paul [Sun, 31 Oct 2004 00:17:42 +0000 (00:17 +0000)]
Remove redundant error checking.
Added _mesa_buffer_unmap().
Minor clean-ups.

19 years agoremove debug code
Brian Paul [Fri, 29 Oct 2004 19:31:52 +0000 (19:31 +0000)]
remove debug code

19 years agoUpdated getprocaddress test to use gl_API.xml instead of old APIspec file.
Brian Paul [Fri, 29 Oct 2004 19:12:08 +0000 (19:12 +0000)]
Updated getprocaddress test to use gl_API.xml instead of old APIspec file.

19 years agoslang syntax conforming spec rev. 1.10.59
Michal Krol [Fri, 29 Oct 2004 17:09:40 +0000 (17:09 +0000)]
slang syntax conforming spec rev. 1.10.59

19 years agomake sure we don't generate random alpha
Daniel Borca [Fri, 29 Oct 2004 13:35:56 +0000 (13:35 +0000)]
make sure we don't generate random alpha

19 years agodecoder "width" parameter represents "stride-in-pixels"
Daniel Borca [Fri, 29 Oct 2004 13:25:44 +0000 (13:25 +0000)]
decoder "width" parameter represents "stride-in-pixels"

19 years agoVertexAttrib3svNV was incorrect
Brian Paul [Fri, 29 Oct 2004 04:00:50 +0000 (04:00 +0000)]
VertexAttrib3svNV was incorrect

19 years agolibGL needs libXxf86vm.a.
Adam Jackson [Fri, 29 Oct 2004 00:10:43 +0000 (00:10 +0000)]
libGL needs libXxf86vm.a.

19 years agoobsolete
Brian Paul [Thu, 28 Oct 2004 22:18:52 +0000 (22:18 +0000)]
obsolete

19 years agominor clean-ups, found with pychecker
Brian Paul [Thu, 28 Oct 2004 21:11:02 +0000 (21:11 +0000)]
minor clean-ups, found with pychecker

19 years agoname parameter to glGetActiveAttribARB() should not be const.
Brian Paul [Thu, 28 Oct 2004 21:03:19 +0000 (21:03 +0000)]
name parameter to glGetActiveAttribARB() should not be const.
Added shaderobjects.c to sources file.

19 years agorenumber ARB_shader_objects and ARB_vertex_shader offsets
Michal Krol [Thu, 28 Oct 2004 11:14:02 +0000 (11:14 +0000)]
renumber ARB_shader_objects and ARB_vertex_shader offsets
to get BlendEquation have offset 710
fix param name lack with GetInfoLogARB

19 years agoAdd FreeBSD DRI build targets. Doesn't build at the moment, due to the same
Eric Anholt [Thu, 28 Oct 2004 00:19:21 +0000 (00:19 +0000)]
Add FreeBSD DRI build targets.  Doesn't build at the moment, due to the same
problems as Linux.

19 years agoUse the generic __amd64__, instead of __AMD64__ which has to be defined by hand.
Eric Anholt [Thu, 28 Oct 2004 00:18:02 +0000 (00:18 +0000)]
Use the generic __amd64__, instead of __AMD64__ which has to be defined by hand.

19 years agoupdated PLIB URL
Brian Paul [Wed, 27 Oct 2004 23:01:47 +0000 (23:01 +0000)]
updated PLIB URL

19 years agoBug #1713: Some rare libGL's have __glXFindDRIScreen defined but do not
Adam Jackson [Wed, 27 Oct 2004 17:50:09 +0000 (17:50 +0000)]
Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do not
export it via glXGetProcAddress.  These are not supported anymore, so print
an error message to that effect.

19 years agoremove unused entries
Michal Krol [Wed, 27 Oct 2004 17:36:23 +0000 (17:36 +0000)]
remove unused entries

19 years agofill api entries for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 17:34:27 +0000 (17:34 +0000)]
fill api entries for ARB_shader_objects and ARB_vertex_shader

19 years agoadd entries for extensions ARB_shader_objects, ARB_fragment_shader and
Michal Krol [Wed, 27 Oct 2004 17:27:57 +0000 (17:27 +0000)]
add entries for extensions ARB_shader_objects, ARB_fragment_shader and
ARB_vertex_shader

19 years agoadd FEATURE flags for ARB_shader_objects, ARB_vertex_shader and
Michal Krol [Wed, 27 Oct 2004 17:16:06 +0000 (17:16 +0000)]
add FEATURE flags for ARB_shader_objects, ARB_vertex_shader and
ARB_fragment_shader

19 years agoby karoshi - ARB_shader_objects implementation
Michal Krol [Wed, 27 Oct 2004 17:09:10 +0000 (17:09 +0000)]
by karoshi - ARB_shader_objects implementation
empty routines by now

19 years agoby karoshi - header file for ARB_shader_objects implementation
Michal Krol [Wed, 27 Oct 2004 16:57:04 +0000 (16:57 +0000)]
by karoshi - header file for ARB_shader_objects implementation

19 years agoadd support for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 16:46:26 +0000 (16:46 +0000)]
add support for ARB_shader_objects and ARB_vertex_shader

19 years agoadd support for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 16:39:09 +0000 (16:39 +0000)]
add support for ARB_shader_objects and ARB_vertex_shader

19 years agoassign api offsets for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 16:37:24 +0000 (16:37 +0000)]
assign api offsets for ARB_shader_objects and ARB_vertex_shader

19 years agoregenerate with correct script
Michal Krol [Wed, 27 Oct 2004 15:40:46 +0000 (15:40 +0000)]
regenerate with correct script

19 years agoregenerate with correct script
Michal Krol [Wed, 27 Oct 2004 15:34:31 +0000 (15:34 +0000)]
regenerate with correct script

19 years agofix DrawBufferARB entry
Michal Krol [Wed, 27 Oct 2004 15:29:05 +0000 (15:29 +0000)]
fix DrawBufferARB entry

19 years agofix DrawBuffersARB entry
Michal Krol [Wed, 27 Oct 2004 15:27:08 +0000 (15:27 +0000)]
fix DrawBuffersARB entry

19 years agothe file was empty!
Michal Krol [Wed, 27 Oct 2004 15:20:08 +0000 (15:20 +0000)]
the file was empty!

19 years agoby karoshi - add support for ARB_shader objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 15:06:18 +0000 (15:06 +0000)]
by karoshi - add support for ARB_shader objects and ARB_vertex_shader

19 years agoAs per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.
Ian Romanick [Tue, 26 Oct 2004 19:20:40 +0000 (19:20 +0000)]
As per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.

19 years agoadded an attention-getting comment for developers who get stopped in _mesa_test_os_ss...
Brian Paul [Tue, 26 Oct 2004 17:29:59 +0000 (17:29 +0000)]
added an attention-getting comment for developers who get stopped in _mesa_test_os_sse_support() while debugging

19 years agoadded stereo option (Jacek Rosik)
Brian Paul [Tue, 26 Oct 2004 14:36:32 +0000 (14:36 +0000)]
added stereo option (Jacek Rosik)

19 years agoremove a -Werror from testing.
Adam Jackson [Mon, 25 Oct 2004 22:19:43 +0000 (22:19 +0000)]
remove a -Werror from testing.