mesa.git
20 years agosilence warnings
Brian Paul [Sat, 27 Nov 2004 19:57:46 +0000 (19:57 +0000)]
silence warnings

20 years agomisc updates
Brian Paul [Sat, 27 Nov 2004 19:42:16 +0000 (19:42 +0000)]
misc updates

20 years agoSet symbol visibility to 'default', if supported by gcc.
Brian Paul [Sat, 27 Nov 2004 17:32:03 +0000 (17:32 +0000)]
Set symbol visibility to 'default', if supported by gcc.

20 years agouse new PUBLIC macro for symbol export
Brian Paul [Sat, 27 Nov 2004 17:30:41 +0000 (17:30 +0000)]
use new PUBLIC macro for symbol export

20 years agodon't need glut_fbc.c
Brian Paul [Sat, 27 Nov 2004 16:57:06 +0000 (16:57 +0000)]
don't need glut_fbc.c

20 years agonew GetOverlayInfo() function to reduce code and silence warnings
Brian Paul [Sat, 27 Nov 2004 16:49:52 +0000 (16:49 +0000)]
new GetOverlayInfo() function to reduce code and silence warnings

20 years agoHave OSMesaGetProcAddress() return new OSMESAproc typedef.
Brian Paul [Sat, 27 Nov 2004 16:24:39 +0000 (16:24 +0000)]
Have OSMesaGetProcAddress() return new OSMESAproc typedef.

20 years agoclean up code related to dispatch table initialization
Brian Paul [Sat, 27 Nov 2004 05:05:32 +0000 (05:05 +0000)]
clean up code related to dispatch table initialization

20 years agoclean up 'depend' commands
Brian Paul [Sat, 27 Nov 2004 04:58:39 +0000 (04:58 +0000)]
clean up 'depend' commands

20 years agotypedef GLUTproc, return it from glutGetProcAddress()
Brian Paul [Sat, 27 Nov 2004 04:54:48 +0000 (04:54 +0000)]
typedef GLUTproc, return it from glutGetProcAddress()

20 years agoremove -Wmissing-prototypes from g++ flags, per gcc 3.4
Brian Paul [Sat, 27 Nov 2004 04:50:34 +0000 (04:50 +0000)]
remove -Wmissing-prototypes from g++ flags, per gcc 3.4

20 years agouse @ to silence some unneeded output
Brian Paul [Sat, 27 Nov 2004 04:37:25 +0000 (04:37 +0000)]
use @ to silence some unneeded output

20 years agomake get_static_proc_address() return a _glapi_proc
Brian Paul [Sat, 27 Nov 2004 04:02:32 +0000 (04:02 +0000)]
make get_static_proc_address() return a _glapi_proc

20 years agouse _glapi_proc
Brian Paul [Sat, 27 Nov 2004 03:51:25 +0000 (03:51 +0000)]
use _glapi_proc

20 years agoUse new _glapi_proc typedef instead of void * for function pointers.
Brian Paul [Sat, 27 Nov 2004 03:51:11 +0000 (03:51 +0000)]
Use new _glapi_proc typedef instead of void * for function pointers.
Misc clean-ups in glapi.c

20 years agofix typo, update version/date
Brian Paul [Sat, 27 Nov 2004 03:47:14 +0000 (03:47 +0000)]
fix typo, update version/date

20 years agoremove the GLAPI/GLAPIENTRY defines - they're already in gl.h
Brian Paul [Sat, 27 Nov 2004 03:29:39 +0000 (03:29 +0000)]
remove the GLAPI/GLAPIENTRY defines - they're already in gl.h

20 years agoremoved a bunch of #define cruft, in case anyone still uses this code
Brian Paul [Sat, 27 Nov 2004 03:21:43 +0000 (03:21 +0000)]
removed a bunch of #define cruft, in case anyone still uses this code

20 years agoRemoved GLCALLBACK stuff - apparently never used anywhere.
Brian Paul [Sat, 27 Nov 2004 03:14:57 +0000 (03:14 +0000)]
Removed GLCALLBACK stuff - apparently never used anywhere.
Removed GLWINAPI stuff - only used (unnecessarily?) in enums.c

20 years agoadded X11 and OSMESA source to ALL_SOURCES, updated etags command
Brian Paul [Fri, 26 Nov 2004 16:23:22 +0000 (16:23 +0000)]
added X11 and OSMESA source to ALL_SOURCES, updated etags command

20 years ago(GLint*) casts in glGetIntegerv calls
Brian Paul [Fri, 26 Nov 2004 13:43:17 +0000 (13:43 +0000)]
(GLint*) casts in glGetIntegerv calls

20 years agoupdate some type names
Brian Paul [Fri, 26 Nov 2004 13:34:45 +0000 (13:34 +0000)]
update some type names

20 years agoUse a generic function typedef instead of void * to avoid gcc 3.4 warnings.
Brian Paul [Thu, 25 Nov 2004 23:26:16 +0000 (23:26 +0000)]
Use a generic function typedef instead of void * to avoid gcc 3.4 warnings.

20 years agoUse __GLXextFuncPtr type instead of void * for generic functions to
Brian Paul [Thu, 25 Nov 2004 23:25:33 +0000 (23:25 +0000)]
Use __GLXextFuncPtr type instead of void * for generic functions to
avoid gcc 3.4 compiler warnings.
Remove the unused/obsolete GLX_render_texture stuff.

20 years agoSome new comments, clean-up formatting, etc.
Brian Paul [Thu, 25 Nov 2004 23:23:40 +0000 (23:23 +0000)]
Some new comments, clean-up formatting, etc.

20 years agoStarted some assorted clean-ups in #defines, typedefs, etc.
Brian Paul [Thu, 25 Nov 2004 23:22:56 +0000 (23:22 +0000)]
Started some assorted clean-ups in #defines, typedefs, etc.
Next: move all the Windows/WGL stuff into the drivers/windows/ directory.

20 years agominor APIENTRY clean-ups
Brian Paul [Thu, 25 Nov 2004 23:20:07 +0000 (23:20 +0000)]
minor APIENTRY clean-ups

20 years agoUpdate expected DRM version to 2.0.0
Keith Whitwell [Thu, 25 Nov 2004 14:05:05 +0000 (14:05 +0000)]
Update expected DRM version to 2.0.0

20 years agoAdded support for several additional enum-only extensions:
Ian Romanick [Wed, 24 Nov 2004 18:55:45 +0000 (18:55 +0000)]
Added support for several additional enum-only extensions:
ARB_texture_rectangle, EXT_texture_env_dot3, EXT_texture_mirror_clamp,
ATI_texture_mirror_once, IBM_texture_mirrored_repeat,
NV_packed_depth_stencil, and NV_texture_rectangle.

20 years agoAdded information about numerous enums to aid the development of automatic
Ian Romanick [Wed, 24 Nov 2004 18:13:43 +0000 (18:13 +0000)]
Added information about numerous enums to aid the development of automatic
code generation for GLX protocol.  This includes adding support for several
additional enum-only extensions: EXT_filter_anisotropic, NV_expand_normal
NV_fog_distance, NV_texture_env_combine4, SGIS_generate_mipmap,
SGIX_clipmap, SGIX_depth_texture, SGIX_fog_offset, SGIX_shadow,
SGIX_shadow_ambient, SGIX_texture_coordinate_clamp, SGIX_texture_lod_bias,
and SGIX_texture_scale_bias.

20 years agoupdate _mesa_store_teximageXd() comments and minor code clean-up
Brian Paul [Tue, 23 Nov 2004 23:29:42 +0000 (23:29 +0000)]
update _mesa_store_teximageXd() comments and minor code clean-up

20 years agorevert enabling of hw quads for swtcl. It lead to problems with quad_strips, since...
Roland Scheidegger [Tue, 23 Nov 2004 18:49:18 +0000 (18:49 +0000)]
revert enabling of hw quads for swtcl. It lead to problems with quad_strips, since they'll get reduced to quads sometimes if hw quads are enabled. But this needs more thought, since it looks like clipped primitives will always be emitted as polys, so the reduced primitives for triangles, quads, quads_strips, polys all need to be the same, otherwise get lockups with for instance the olympic test. Render templates would probably need to be changed for this to work.

20 years agoSet the "ignore" flag for any functions that the open-source libGL doesn't
Ian Romanick [Tue, 23 Nov 2004 00:19:51 +0000 (00:19 +0000)]
Set the "ignore" flag for any functions that the open-source libGL doesn't
already support GLX protocol for.

20 years agoDon't allow queries/etc of buffer object 0 - it's invisible to users.
Brian Paul [Mon, 22 Nov 2004 20:01:25 +0000 (20:01 +0000)]
Don't allow queries/etc of buffer object 0 - it's invisible to users.
Misc clean-ups.

20 years agoadded GL_RED/GREEN/BLUE to is_color_format()
Brian Paul [Mon, 22 Nov 2004 19:58:59 +0000 (19:58 +0000)]
added GL_RED/GREEN/BLUE to is_color_format()

20 years agosilence warning, minor clean-up
Brian Paul [Mon, 22 Nov 2004 19:39:16 +0000 (19:39 +0000)]
silence warning, minor clean-up

20 years agoapplied SPARC patch (freedesktop bug 1898)
Brian Paul [Mon, 22 Nov 2004 19:27:40 +0000 (19:27 +0000)]
applied SPARC patch (freedesktop bug 1898)

20 years agoinclude <X11/Xthreads.h> instead of "Xthreads.h"
Brian Paul [Mon, 22 Nov 2004 19:11:01 +0000 (19:11 +0000)]
include <X11/Xthreads.h> instead of "Xthreads.h"

20 years agomisc updates
Brian Paul [Mon, 22 Nov 2004 17:49:15 +0000 (17:49 +0000)]
misc updates

20 years agohandle ENABLE_BIT for EXT_stencil_two_side
Daniel Borca [Mon, 22 Nov 2004 08:46:53 +0000 (08:46 +0000)]
handle ENABLE_BIT for EXT_stencil_two_side

20 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)

20 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.

20 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/

20 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)

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

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

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

20 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/

20 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

20 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

20 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)

20 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.

20 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

20 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

20 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

20 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

20 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

20 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

20 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.

20 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.

20 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

20 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.

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

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

20 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

20 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

20 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

20 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.

20 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()

20 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

20 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)

20 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)

20 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.

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

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

20 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).

20 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.

20 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

20 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

20 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

20 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

20 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

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

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

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

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

20 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

20 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

20 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

20 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

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

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

20 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.

20 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

20 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.

20 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.

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

20 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.

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

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