Roland Scheidegger [Tue, 1 Jun 2004 23:04:10 +0000 (23:04 +0000)]
add support for GL_ARB_texture_env_crossbar
Ian Romanick [Tue, 1 Jun 2004 20:24:59 +0000 (20:24 +0000)]
Convert 'Display *' to '__DRInativeDisplay *'. Only portions of the
interface that are not *strictly* part of the old interface were
changed. Replace GetDrawableInfo type (dri_util.h) with
PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen
(in drivers that use the new interface) with '#ifndef
DRI_NEW_INTERFACE_ONLY'.
Ian Romanick [Tue, 1 Jun 2004 19:20:12 +0000 (19:20 +0000)]
Fix a couple issues related to GetDrawableInfo. In the new DRI
interface, it must be available from libGL, and the the typedef in
dri_util.h was wrong.
Ian Romanick [Tue, 1 Jun 2004 17:06:09 +0000 (17:06 +0000)]
Replace occurances of GLXDrawable and Drawable with __DRIid.
Ian Romanick [Tue, 1 Jun 2004 16:38:56 +0000 (16:38 +0000)]
Replace all occurances of XF86DRIClipRect (and related typedefs) with
drm_clip_rect_t.
Ian Romanick [Tue, 1 Jun 2004 15:42:14 +0000 (15:42 +0000)]
Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.
Eric Anholt [Tue, 1 Jun 2004 02:00:25 +0000 (02:00 +0000)]
Remove unnecessary #include "mach64_common.h" which breaks the build for me.
Eric Anholt [Tue, 1 Jun 2004 00:39:34 +0000 (00:39 +0000)]
Missed in last commit:
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS
more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more
compatible "> /dev/null 2>&1".
Eric Anholt [Tue, 1 Jun 2004 00:06:14 +0000 (00:06 +0000)]
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS
more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more
compatible "> /dev/null 2>&1".
Eric Anholt [Mon, 31 May 2004 22:34:49 +0000 (22:34 +0000)]
Use MKDEP make variables instead of hard-coding.
Daniel Borca [Mon, 31 May 2004 06:24:36 +0000 (06:24 +0000)]
reworked FXT1
minor fixes to fxMesa
Dave Airlie [Mon, 31 May 2004 00:58:34 +0000 (00:58 +0000)]
fixup mach64 for newer build/types
Brian Paul [Sat, 29 May 2004 14:41:52 +0000 (14:41 +0000)]
check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376)
Adam Jackson [Fri, 28 May 2004 19:27:33 +0000 (19:27 +0000)]
use new interface for tdfx (phase 2)
Adam Jackson [Fri, 28 May 2004 16:50:42 +0000 (16:50 +0000)]
Fix type conflict.
Roland Scheidegger [Fri, 28 May 2004 14:55:07 +0000 (14:55 +0000)]
update so it compiles again (untested driver path!). Basically ported changes from r200_maos_arrays.c cvs rev. 1.3-1.5.
Roland Scheidegger [Fri, 28 May 2004 14:50:36 +0000 (14:50 +0000)]
remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and unused R200_OLD_PACKET macro
Ian Romanick [Thu, 27 May 2004 22:49:12 +0000 (22:49 +0000)]
Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without including
glxext.h.
Ian Romanick [Thu, 27 May 2004 22:31:06 +0000 (22:31 +0000)]
Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.
Roland Scheidegger [Thu, 27 May 2004 16:56:47 +0000 (16:56 +0000)]
change some explicit references to texture units 0/1 to unit < MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
Ian Romanick [Thu, 27 May 2004 15:21:44 +0000 (15:21 +0000)]
Build the fogcoord demo.
Ian Romanick [Thu, 27 May 2004 00:05:13 +0000 (00:05 +0000)]
Modify glprocs.h to have two tables instead of one. The first table
is just a huge string will all the function names in it. The second
table contains offsets into the first table instead of pointers to
strings.
Ian Romanick [Thu, 27 May 2004 00:03:53 +0000 (00:03 +0000)]
Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
Ian Romanick [Wed, 26 May 2004 17:12:56 +0000 (17:12 +0000)]
Minor code simplification.
Ian Romanick [Wed, 26 May 2004 16:38:38 +0000 (16:38 +0000)]
Test the overhead of just calling a GL function. The Python script is
a helper to do multiple runs and compare the results.
Brian Paul [Tue, 25 May 2004 22:29:52 +0000 (22:29 +0000)]
only use simple_z_textured_triangle if depthBits <= 16
Ian Romanick [Tue, 25 May 2004 21:14:47 +0000 (21:14 +0000)]
Added a couple fog coordinate related register defines.
Ian Romanick [Tue, 25 May 2004 16:51:56 +0000 (16:51 +0000)]
Modify the generate assembly code to not use global registers %g2,
%g3, %g6, or %g7. This should eliminate the warnings about global
registers used without a ".register" directive.
Daniel Borca [Tue, 25 May 2004 14:19:30 +0000 (14:19 +0000)]
oops
Daniel Borca [Tue, 25 May 2004 07:22:41 +0000 (07:22 +0000)]
FXT1 texture compression (initial draft)
Ian Romanick [Mon, 24 May 2004 23:05:09 +0000 (23:05 +0000)]
Fixed a bug that caused every dispatch function to call glNewList.
Felix Kuehling [Mon, 24 May 2004 22:26:49 +0000 (22:26 +0000)]
WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.
Eric Anholt [Mon, 24 May 2004 20:48:27 +0000 (20:48 +0000)]
Clean up some warnings by making sis_fatal_error a macro, and let it take an
argument of a message to print. Make some assert(0)s use sis_fatal_error.
Eric Anholt [Mon, 24 May 2004 20:09:59 +0000 (20:09 +0000)]
Add missing sisInitDriverFuncs call. Fixes segfault.
Ian Romanick [Mon, 24 May 2004 17:48:21 +0000 (17:48 +0000)]
Generates assembly dispatch stubs for SPARC. Generates different output
than glsparcasm.py, but the assembled code should be the same. The seems to
only work with GCC version >= 3.0. The older preprocessor doesn't like the
embedded # in the GLOBL_FN macro. On the SPARC system I used, /ccs/bin/as
didn't like the @function, it would only accept #function.
Dave Airlie [Mon, 24 May 2004 10:43:43 +0000 (10:43 +0000)]
stop crash when debugging
Roland Scheidegger [Fri, 21 May 2004 17:03:38 +0000 (17:03 +0000)]
use OGL 1.1 color logic ops in addition to GL_EXT_blend_logic_op
Brian Paul [Fri, 21 May 2004 15:57:11 +0000 (15:57 +0000)]
fix bug #957792 (swap buffers), plus misc clean-ups
Brian Paul [Fri, 21 May 2004 15:51:13 +0000 (15:51 +0000)]
remove duplicate GLX_DRAWABLE_TYPE token, sorted tokens by enum value
Roland Scheidegger [Fri, 21 May 2004 14:51:33 +0000 (14:51 +0000)]
(Dieter Nuetzel) fix typo in help screen
Brian Paul [Fri, 21 May 2004 14:48:58 +0000 (14:48 +0000)]
s/core/main/
Roland Scheidegger [Fri, 21 May 2004 14:20:26 +0000 (14:20 +0000)]
fix constant texture environment color setup for texture units > 0
Ian Romanick [Fri, 21 May 2004 03:51:55 +0000 (03:51 +0000)]
s/sop/rop/ in a couple places to fix some bugs. Added some parameter
information to several functions.
Brian Paul [Thu, 20 May 2004 22:27:59 +0000 (22:27 +0000)]
lots of updates
Brian Paul [Thu, 20 May 2004 22:27:30 +0000 (22:27 +0000)]
updated URL
Ian Romanick [Thu, 20 May 2004 21:24:27 +0000 (21:24 +0000)]
Added all of the missing ARB extensions. Added all the enums and
types for all core versions and ARB extensions. Converted all tabs to
spaces.
Daniel Borca [Thu, 20 May 2004 06:11:16 +0000 (06:11 +0000)]
doc update; minor changes
Roland Scheidegger [Thu, 20 May 2004 00:31:26 +0000 (00:31 +0000)]
Add support for GL_EXT_blend_[func|equation]_separate. Fix GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added).
Roland Scheidegger [Thu, 20 May 2004 00:23:30 +0000 (00:23 +0000)]
add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLOR
Roland Scheidegger [Thu, 20 May 2004 00:19:48 +0000 (00:19 +0000)]
add missing R200_RB3D_BLENDCOLOR register
Ian Romanick [Wed, 19 May 2004 23:33:08 +0000 (23:33 +0000)]
Added some in-code documentation. Modifed glParameter to be a
subclass of glItem.
Ian Romanick [Wed, 19 May 2004 19:12:05 +0000 (19:12 +0000)]
Re-ordered categories. Added extension number information.
Daniel Borca [Wed, 19 May 2004 08:16:44 +0000 (08:16 +0000)]
added GL_NV_blend_square
fixed alpha blending modes for Napalm
minor fix in compressed texture aspectratio adjust
Ian Romanick [Tue, 18 May 2004 18:33:40 +0000 (18:33 +0000)]
New scripts for processing the XML version of APIspec. Mail is being
sent to mesa3d-dev with a more detailed description.
Daniel Borca [Tue, 18 May 2004 07:13:54 +0000 (07:13 +0000)]
added some core-level extensions
Brian Paul [Mon, 17 May 2004 14:19:57 +0000 (14:19 +0000)]
fixed some bogus array enable tests (Soju Matsumoto)
Brian Paul [Sun, 16 May 2004 22:07:02 +0000 (22:07 +0000)]
Replaced 'core' with 'main'.
Other minor updates.
Brian Paul [Fri, 14 May 2004 23:11:53 +0000 (23:11 +0000)]
minor doxygen updates
Brian Paul [Fri, 14 May 2004 14:39:59 +0000 (14:39 +0000)]
Minor fixes/optimizations to type conversions in draw_depth_pixels().
Fix off by one errors in a few assertions.
Roland Scheidegger [Fri, 14 May 2004 13:01:08 +0000 (13:01 +0000)]
Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix errors when blending is disabled (set blend equation and function to default values).
Brian Paul [Thu, 13 May 2004 18:24:20 +0000 (18:24 +0000)]
cast driHwLock assignment
Brian Paul [Thu, 13 May 2004 18:09:53 +0000 (18:09 +0000)]
silence warning in assignment to gp.value
Brian Paul [Thu, 13 May 2004 18:07:30 +0000 (18:07 +0000)]
fix parameters to StoreImage()
Brian Paul [Thu, 13 May 2004 15:26:51 +0000 (15:26 +0000)]
Another pass at implementing byte-swapped texture formats.
More code re-use this time.
Most formats now tested/debugged with new packedpixels.c test.
Brian Paul [Wed, 12 May 2004 23:05:21 +0000 (23:05 +0000)]
Test program to check that packed pixel formats work as expected with
glTexImage2D. All samples should appear identical. Press f/F to change
the internal texture format.
Brian Paul [Wed, 12 May 2004 22:54:47 +0000 (22:54 +0000)]
GL_BGR can't be used with the packed types, according to the GL spec. Enforce such.
Brian Paul [Wed, 12 May 2004 21:53:34 +0000 (21:53 +0000)]
some component ordering bugs in extract_float_rgba()
Erdi Chen [Wed, 12 May 2004 18:37:11 +0000 (18:37 +0000)]
Fixed code that has computed incorrect number of modes.
Ian Romanick [Wed, 12 May 2004 16:36:30 +0000 (16:36 +0000)]
Added support for GL_EXT_blend_equation_separate and
GL_NV_blend_square. Fix a bug in the way the GL_MIN and GL_MAX
blending modes were handled.
Ian Romanick [Wed, 12 May 2004 16:29:55 +0000 (16:29 +0000)]
Fixed a bug that showed up in several multitexturing games (Quake3 and
ThinkTanks were tested) that was related to the recent 4 TMU changes.
Removed the un-needed TexBlendColorPipeNum field from the hardware
context.
Brian Paul [Wed, 12 May 2004 15:29:36 +0000 (15:29 +0000)]
fix compiler warnings (Jerome Glisse)
Brian Paul [Wed, 12 May 2004 15:05:53 +0000 (15:05 +0000)]
fix parameters to StoreImage calls
Brian Paul [Wed, 12 May 2004 15:02:49 +0000 (15:02 +0000)]
remove last remnants of NEWTEXSTORE stuff
Brian Paul [Wed, 12 May 2004 14:51:51 +0000 (14:51 +0000)]
remove the last line of the previous patch
Brian Paul [Wed, 12 May 2004 14:48:39 +0000 (14:48 +0000)]
fix red/green/blueBits typos
Brian Paul [Wed, 12 May 2004 14:04:29 +0000 (14:04 +0000)]
obsolete in favor of regular Makefiles
Brian Paul [Wed, 12 May 2004 14:00:36 +0000 (14:00 +0000)]
yank bgr233 texformat. minor comment updates.
Daniel Borca [Wed, 12 May 2004 05:36:24 +0000 (05:36 +0000)]
minor fixes
Brian Paul [Wed, 12 May 2004 01:50:30 +0000 (01:50 +0000)]
Added big-endian texture formats.
Moved CI->RGBA palette lookup into texel fetch function.
Ian Romanick [Tue, 11 May 2004 19:59:13 +0000 (19:59 +0000)]
Added a 4th square to the output. Expanded the message written to the
console.
Ian Romanick [Tue, 11 May 2004 19:57:58 +0000 (19:57 +0000)]
Added simple EXT_blend_minmax test.
Ian Romanick [Tue, 11 May 2004 17:48:33 +0000 (17:48 +0000)]
Added simple NV_blend_square test.
Ian Romanick [Tue, 11 May 2004 16:17:49 +0000 (16:17 +0000)]
Fix a possible segfault caused by the SGI_make_current_read changes.
Brian Paul [Mon, 10 May 2004 22:37:20 +0000 (22:37 +0000)]
Don't call calculate_derived_texenv() from in _mesa_TexEnv().
Minor code rearranging.
Brian Paul [Mon, 10 May 2004 22:07:57 +0000 (22:07 +0000)]
s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/
Keith Whitwell [Mon, 10 May 2004 18:16:03 +0000 (18:16 +0000)]
Add EXT_vertex_cull support to mesa
Daniel Borca [Mon, 10 May 2004 07:42:26 +0000 (07:42 +0000)]
fixed bugs in fxddtex.c
cleaned up win32 definition files
Jon Smirl [Sun, 9 May 2004 04:38:42 +0000 (04:38 +0000)]
Fix solo build, add missing #ifdef NEW_INTERFACE
Felix Kuehling [Sat, 8 May 2004 10:08:21 +0000 (10:08 +0000)]
Added german translation to option texture_units.
Eric Anholt [Sat, 8 May 2004 07:48:13 +0000 (07:48 +0000)]
Don't mix variable definitions and other statements (fixed build on old
compiler).
Ian Romanick [Fri, 7 May 2004 22:46:37 +0000 (22:46 +0000)]
Add support for GLX_SGI_make_current_read.
Ian Romanick [Fri, 7 May 2004 22:43:52 +0000 (22:43 +0000)]
Warning clean-ups.
Ian Romanick [Fri, 7 May 2004 18:20:43 +0000 (18:20 +0000)]
Uses either the GLX_SGI_make_current_read or GLX 1.3 interface,
depending on which is available.
Ian Romanick [Fri, 7 May 2004 18:04:23 +0000 (18:04 +0000)]
Enable use of new DRI interface in i830 driver.
Ian Romanick [Fri, 7 May 2004 17:30:31 +0000 (17:30 +0000)]
Add support for the 3rd and 4th texture units. The actual number of
available units is configurable via the texture_units option.
Ian Romanick [Fri, 7 May 2004 17:29:48 +0000 (17:29 +0000)]
Added a config option to set the number of available texture units. A
German translation is still needed.
Daniel Borca [Fri, 7 May 2004 06:00:53 +0000 (06:00 +0000)]
documentation update
Ian Romanick [Fri, 7 May 2004 00:33:12 +0000 (00:33 +0000)]
Refactor "classic" texture environments to be implemented in terms of
ARB_texture_env_combine state. Add support for
ARB_texture_env_crossbar. Combiner state is only emitted for operands
that need to be emitted for the combine operation.
Brian Paul [Thu, 6 May 2004 20:28:26 +0000 (20:28 +0000)]
fix rectangle texture clamping and border-related code
Brian Paul [Thu, 6 May 2004 20:27:32 +0000 (20:27 +0000)]
Added menu options to test border modes and linear/nearest filtering.
Adjust texcoords so we always have to sample the border.
Other misc changes.