Brian Paul [Fri, 30 Mar 2001 21:12:15 +0000 (21:12 +0000)]
add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accomodate negative offsets correctly
Brian Paul [Fri, 30 Mar 2001 15:31:44 +0000 (15:31 +0000)]
texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()
Brian Paul [Fri, 30 Mar 2001 15:16:12 +0000 (15:16 +0000)]
fixed compilation problems related to ctx->_Enabled removal
Gareth Hughes [Fri, 30 Mar 2001 14:44:43 +0000 (14:44 +0000)]
Remove all traces of CULL_MASK_ACTIVE.
Keith Whitwell [Fri, 30 Mar 2001 00:39:02 +0000 (00:39 +0000)]
Fix calculation of fog coordinate in translate_vertex().
Keith Whitwell [Thu, 29 Mar 2001 21:16:25 +0000 (21:16 +0000)]
Remove ENABLE_* flags, ctx->_Enabled.
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
Brian Paul [Thu, 29 Mar 2001 17:15:21 +0000 (17:15 +0000)]
silence a compiler warning
Keith Whitwell [Thu, 29 Mar 2001 17:08:26 +0000 (17:08 +0000)]
Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.
Added some switchable debug to s_context.c
Brian Paul [Thu, 29 Mar 2001 16:50:31 +0000 (16:50 +0000)]
Removed DD_Z_NEVER.
Replaced SEPERATE with SEPARATE.
Renumbered _NEW_ flags.
Removed _NEW_COLORTABLE.
Gareth Hughes [Thu, 29 Mar 2001 06:46:15 +0000 (06:46 +0000)]
Consolidation of asm code in 3.5
Gareth Hughes [Thu, 29 Mar 2001 03:41:39 +0000 (03:41 +0000)]
Make generation of matypes.h more transparent.
Gareth Hughes [Thu, 29 Mar 2001 03:14:48 +0000 (03:14 +0000)]
Add missing GEN_SOURCES definitions.
Brian Paul [Wed, 28 Mar 2001 21:39:49 +0000 (21:39 +0000)]
compilation updates
Brian Paul [Wed, 28 Mar 2001 21:37:24 +0000 (21:37 +0000)]
adjustment to coverage sample positions
Gareth Hughes [Wed, 28 Mar 2001 21:36:31 +0000 (21:36 +0000)]
- Restore texImage->IntFormat.
- Fix FX driver texture image conversions.
Brian Paul [Wed, 28 Mar 2001 21:36:31 +0000 (21:36 +0000)]
check for startX off the right edge of the window
Brian Paul [Wed, 28 Mar 2001 21:31:54 +0000 (21:31 +0000)]
use Image[i]->TexFormat to check for mipmap consistency
Brian Paul [Wed, 28 Mar 2001 21:31:24 +0000 (21:31 +0000)]
simplify test for specific texture formats
Gareth Hughes [Wed, 28 Mar 2001 20:44:43 +0000 (20:44 +0000)]
New type system for assembly code. Asm files should now include
matypes.h, which includes assyntax.h and is generated from the core Mesa
header files.
Gareth Hughes [Wed, 28 Mar 2001 20:40:51 +0000 (20:40 +0000)]
More texture format updates. Drivers now need only plug an appropriate
format into texImage->TexFormat, the rest is handled by core Mesa.
Gareth Hughes [Wed, 28 Mar 2001 20:25:14 +0000 (20:25 +0000)]
More informative display of texture parameters.
Gareth Hughes [Wed, 28 Mar 2001 20:17:55 +0000 (20:17 +0000)]
Delete libGLU.so* from ../lib before installing it.
Brian Paul [Wed, 28 Mar 2001 17:39:12 +0000 (17:39 +0000)]
removed a debug message
Brian Paul [Wed, 28 Mar 2001 17:22:11 +0000 (17:22 +0000)]
remove TEST_L and JZ instructions; always jump through the _glapi_Dispatch pointer
Brian Paul [Wed, 28 Mar 2001 17:19:58 +0000 (17:19 +0000)]
New mechanism for thread-safe GL API dispatch. C-based dispatch is faster.
Folded glapinoop.c code into glapi.c.
Added code to glapitemp.h to fill in dispatch tables.
Updated Makefiles.
Brian Paul [Tue, 27 Mar 2001 20:32:24 +0000 (20:32 +0000)]
pass dst and src to CONVERT_TEXEL() macros to fix non-ANSI problems
Brian Paul [Tue, 27 Mar 2001 20:26:37 +0000 (20:26 +0000)]
fixed RGBA/RGB typo
Brian Paul [Tue, 27 Mar 2001 20:26:10 +0000 (20:26 +0000)]
texFormat was a random value in _mesa_store_teximage3d(), fix by undoing last changes
Gareth Hughes [Tue, 27 Mar 2001 19:18:02 +0000 (19:18 +0000)]
Updates required for DRI drivers on mesa-3-5-branch.
Brian Paul [Tue, 27 Mar 2001 17:44:35 +0000 (17:44 +0000)]
added rules for readtex.c and readtex.h
Brian Paul [Tue, 27 Mar 2001 17:38:28 +0000 (17:38 +0000)]
double buffer by default. if drawSmooth, use 50% alpha at top of polygon
Brian Paul [Tue, 27 Mar 2001 17:35:26 +0000 (17:35 +0000)]
set initial window pos
Brian Paul [Tue, 27 Mar 2001 17:30:51 +0000 (17:30 +0000)]
clean-up of tunnel demos
Brian Paul [Tue, 27 Mar 2001 17:08:20 +0000 (17:08 +0000)]
moved shadow code into teapot.c
Brian Paul [Tue, 27 Mar 2001 16:42:37 +0000 (16:42 +0000)]
silence compiler warnings
Brian Paul [Mon, 26 Mar 2001 23:36:51 +0000 (23:36 +0000)]
removed DO_GEOMETRY
Brian Paul [Mon, 26 Mar 2001 20:02:38 +0000 (20:02 +0000)]
change glTexImage3D() internalFormat to GLenum to match other OpenGLs
Brian Paul [Mon, 26 Mar 2001 19:45:57 +0000 (19:45 +0000)]
test texture wrap modes
Brian Paul [Mon, 26 Mar 2001 19:42:40 +0000 (19:42 +0000)]
added GL_ARB_texture_border_clamp
Gareth Hughes [Sat, 24 Mar 2001 06:01:27 +0000 (06:01 +0000)]
- Minor cleanups of ctx->Driver.Current*Primitive usage.
- Remove unused gl_reduce_prim array.
Gareth Hughes [Sat, 24 Mar 2001 05:23:46 +0000 (05:23 +0000)]
Fix ASSERT_OUTSIDE_SAVE_BEGIN_END() macro as well.
Brian Paul [Fri, 23 Mar 2001 22:48:35 +0000 (22:48 +0000)]
added glxgears
Brian Paul [Fri, 23 Mar 2001 22:46:26 +0000 (22:46 +0000)]
gears using GLX instead of GLUT
Brian Paul [Fri, 23 Mar 2001 21:41:44 +0000 (21:41 +0000)]
added silly mesa_hack() function and -b option
Brian Paul [Fri, 23 Mar 2001 21:37:05 +0000 (21:37 +0000)]
minor tweak to visual setup for accum buffers
Brian Paul [Fri, 23 Mar 2001 18:53:26 +0000 (18:53 +0000)]
fixed Min/Max lod clamp bug
Gareth Hughes [Fri, 23 Mar 2001 06:07:31 +0000 (06:07 +0000)]
Some more minor cleanups of macros.
Gareth Hughes [Fri, 23 Mar 2001 06:01:03 +0000 (06:01 +0000)]
Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro.
Gareth Hughes [Thu, 22 Mar 2001 15:24:15 +0000 (15:24 +0000)]
Initial demo of GL_EXT_texture_filter_anisotropic extension.
Brian Paul [Thu, 22 Mar 2001 14:42:24 +0000 (14:42 +0000)]
enable GL_ARB_texture_env_combine and GL_ARB_texture_env_dot3 in _mesa_enable_sw_extensions()
Jouk Jansen [Thu, 22 Mar 2001 11:41:40 +0000 (11:41 +0000)]
Modified Files:
Mesa/si-glu/libnurbs/nurbtess/monoTriangulation.cc
Mesa/si-glu/libnurbs/nurbtess/sampleCompRight.cc
gluos.h included in order to bypass compiler warnings on unreachable code on
VMS systems.
----------------------------------------------------------------------
Jouk Jansen [Thu, 22 Mar 2001 11:38:36 +0000 (11:38 +0000)]
Modified Files:
Mesa/descrip.mms Mesa/mms-config Mesa/demos/descrip.mms
Mesa/si-glu/include/gluos.h
Mesa/si-glu/libnurbs/internals/bufpool.h
Mesa/si-glu/libnurbs/internals/mysetjmp.h
Mesa/src-glut/descrip.mms
Added Files:
Mesa/si-glu/descrip.mms Mesa/si-glu/mesaglu.opt
changes needed to compile SI-GLU on VMS.
----------------------------------------------------------------------
Gareth Hughes [Thu, 22 Mar 2001 06:26:18 +0000 (06:26 +0000)]
Remove formats that no longer exist.
Gareth Hughes [Thu, 22 Mar 2001 06:25:23 +0000 (06:25 +0000)]
Minor updates.
Gareth Hughes [Thu, 22 Mar 2001 06:23:56 +0000 (06:23 +0000)]
Fix texture format enum values (Brian Paul).
Brian Paul [Thu, 22 Mar 2001 04:57:09 +0000 (04:57 +0000)]
added GL_ARB_texture_env_dot3 enums
Brian Paul [Thu, 22 Mar 2001 04:56:50 +0000 (04:56 +0000)]
minor comment update
Brian Paul [Thu, 22 Mar 2001 04:54:58 +0000 (04:54 +0000)]
added GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3
Brian Paul [Thu, 22 Mar 2001 04:54:08 +0000 (04:54 +0000)]
clean-up in _swrast_choose_triangle()
Gareth Hughes [Thu, 22 Mar 2001 00:36:27 +0000 (00:36 +0000)]
Add PolygonOffset driver callback.
Brian Paul [Wed, 21 Mar 2001 18:23:39 +0000 (18:23 +0000)]
added teximage rescaling code. untested at this point
pesco [Wed, 21 Mar 2001 17:11:32 +0000 (17:11 +0000)]
* src/swrast_setup/ss_tritmp.h (quad): Changed name of this function to
quadfunc.
* common_rules.make: Use tabs for command indentation.
Brian Paul [Wed, 21 Mar 2001 16:47:33 +0000 (16:47 +0000)]
minor updates for 3.5
Brian Paul [Wed, 21 Mar 2001 16:47:19 +0000 (16:47 +0000)]
use new texture conversion code, still have to do image rescaling
Brian Paul [Wed, 21 Mar 2001 16:44:08 +0000 (16:44 +0000)]
renamed some vars, added a bunch of comments
Brian Paul [Wed, 21 Mar 2001 16:04:49 +0000 (16:04 +0000)]
minor re-org in sample_depth_texture()
Brian Paul [Wed, 21 Mar 2001 16:00:17 +0000 (16:00 +0000)]
sync'd with the latest changes in XFree86 (cygwin stuff)
Gareth Hughes [Wed, 21 Mar 2001 02:47:32 +0000 (02:47 +0000)]
Fix compilation with GLU 1.1
Gareth Hughes [Wed, 21 Mar 2001 02:44:36 +0000 (02:44 +0000)]
Make ESC quit.
Gareth Hughes [Wed, 21 Mar 2001 02:43:14 +0000 (02:43 +0000)]
Revert back to new tessellator, check version string to be sure we're
running with a valid GLU library.
Brian Paul [Wed, 21 Mar 2001 01:08:37 +0000 (01:08 +0000)]
depth images were broken by latest teximage changes, this fixes the problem
Gareth Hughes [Tue, 20 Mar 2001 18:35:23 +0000 (18:35 +0000)]
Make COPY_FLOAT available to a wider audience.
Gareth Hughes [Tue, 20 Mar 2001 18:33:41 +0000 (18:33 +0000)]
More updates. Radeon tnl module still disabled by default.
Brian Paul [Tue, 20 Mar 2001 17:56:10 +0000 (17:56 +0000)]
fixes to make old GLU code compile with new GLU 1.3 header
Jouk Jansen [Tue, 20 Mar 2001 10:18:13 +0000 (10:18 +0000)]
Committing in .
Modified Files:
Mesa/src/descrip.mms Mesa/src/texutil_tmp.h
-Updated VMS makefile
-__FUNCTION__ is not a defined on VMS (and maybe other systems) For VMS
__FUNCTION__ is defined to in texutil_tmp.h
----------------------------------------------------------------------
pesco [Tue, 20 Mar 2001 00:33:18 +0000 (00:33 +0000)]
* common_rules.make: Created to hold the conditional build rule
override. All Makefile.am's updated.
Brian Paul [Mon, 19 Mar 2001 22:45:52 +0000 (22:45 +0000)]
fix for gl_ztrick bug (Ove Kaaven)
pesco [Mon, 19 Mar 2001 17:52:02 +0000 (17:52 +0000)]
* si-glu/libnurbs/: Undid move of glimports.h, mystdio.h, mystdlib.h.
Alan Hourihane [Mon, 19 Mar 2001 13:58:45 +0000 (13:58 +0000)]
fix glxinfo to query current display.
Alan Hourihane [Mon, 19 Mar 2001 13:27:15 +0000 (13:27 +0000)]
fix cast
Keith Whitwell [Mon, 19 Mar 2001 02:28:59 +0000 (02:28 +0000)]
New files
Keith Whitwell [Mon, 19 Mar 2001 02:25:35 +0000 (02:25 +0000)]
Split driver struct into swrast/tnl/core components.
pesco [Sun, 18 Mar 2001 15:40:45 +0000 (15:40 +0000)]
* gen_srclists.sh: Use getopt to parse the command line. Added command
line option -n (dry run) and -h. Directory list can be specified on the
command line.
Added command line options -p and -l. Some other tweaks.
* si-glu/libnurbs/glimports.h, si-glu/libnurbs/mystdio.h,
si-glu/libnurbs/mystdlib.h: Pulled these out of
si-glu/libnurbs/interface and si-glu/libnurbs/internals. All include
paths updated.
Gareth Hughes [Sun, 18 Mar 2001 14:06:25 +0000 (14:06 +0000)]
Add missing header file include.
Gareth Hughes [Sun, 18 Mar 2001 14:05:32 +0000 (14:05 +0000)]
Remove #endif.
Gareth Hughes [Sun, 18 Mar 2001 13:40:58 +0000 (13:40 +0000)]
Make assertions take new GLchan formats into account.
Gareth Hughes [Sun, 18 Mar 2001 13:37:18 +0000 (13:37 +0000)]
Fix error message.
Gareth Hughes [Sun, 18 Mar 2001 13:34:24 +0000 (13:34 +0000)]
Fix header info.
Gareth Hughes [Sun, 18 Mar 2001 13:31:52 +0000 (13:31 +0000)]
Remove old code, fix a few comments.
pesco [Sun, 18 Mar 2001 13:06:19 +0000 (13:06 +0000)]
Forgot to add newly created files.
Gareth Hughes [Sun, 18 Mar 2001 08:53:49 +0000 (08:53 +0000)]
- Port 3.4 texture utils, texture format work to 3.5 (including new
FetchTexel routines).
- Initial hooks for GL_EXT_texture_filter_anisotropic.
Keith Whitwell [Sun, 18 Mar 2001 00:46:04 +0000 (00:46 +0000)]
Fix lineloops.
Keith Whitwell [Sat, 17 Mar 2001 18:04:54 +0000 (18:04 +0000)]
Fix cut&paste bug exposed by clipbug.c demo.
Keith Whitwell [Sat, 17 Mar 2001 17:43:04 +0000 (17:43 +0000)]
Remove dead #define.
Add case for triangles culled front and back -- not handled by the
culling code inside swrast triangle routines.
Keith Whitwell [Sat, 17 Mar 2001 17:31:42 +0000 (17:31 +0000)]
Revert earlier changes protecting against null VB->TexCoordPtr[x]. Do
this a better way via check_tex_sizes().
Brian Paul [Sat, 17 Mar 2001 00:47:19 +0000 (00:47 +0000)]
added SI GLU info
Brian Paul [Sat, 17 Mar 2001 00:45:01 +0000 (00:45 +0000)]
updated for SGI SI GLU
Brian Paul [Sat, 17 Mar 2001 00:29:47 +0000 (00:29 +0000)]
SGI SI GLU 1.3 header
Brian Paul [Sat, 17 Mar 2001 00:27:04 +0000 (00:27 +0000)]
added CCFLAGS and CPLUSPLUS definitions
Brian Paul [Sat, 17 Mar 2001 00:25:40 +0000 (00:25 +0000)]
SGI SI GLU library