mesa.git
24 years agoRemoved references to gcc's __FUNCTION__ macro.
Keith Whitwell [Mon, 30 Oct 2000 16:30:56 +0000 (16:30 +0000)]
Removed references to gcc's __FUNCTION__ macro.
Removed dead file fog_tmp.h

24 years agoset *t->flag = enabled in gl_extensions_add(), otherwise, extension booleans weren...
Brian Paul [Mon, 30 Oct 2000 16:27:21 +0000 (16:27 +0000)]
set *t->flag = enabled in gl_extensions_add(), otherwise, extension booleans weren't set

24 years agotest cvs commit logging
Keith Whitwell [Mon, 30 Oct 2000 16:00:42 +0000 (16:00 +0000)]
test cvs commit logging

24 years agoReplace the flags Mesa was using for ctx->NewState with a new set
Keith Whitwell [Mon, 30 Oct 2000 13:31:59 +0000 (13:31 +0000)]
Replace the flags Mesa was using for ctx->NewState with a new set
based on the GL attribute groups.

Introduced constants describing the circumstances under which some
key derived values can change:
_SWRAST_NEW_RASTERMASK -- ctx->RasterMask
_SWRAST_NEW_TRIANGLE   -- The software rasterizer's triangle
                          function
_DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps

These are helpful in deciding whether you need to recalculate state if your
recalculation involves reference to a derived value.

24 years ago Committing in .
Jouk Jansen [Mon, 30 Oct 2000 08:39:38 +0000 (08:39 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/X/xm_api.c

 included macros.h

----------------------------------------------------------------------

24 years agorenamed Current.ByteColor Current.Color
Brian Paul [Sun, 29 Oct 2000 19:02:23 +0000 (19:02 +0000)]
renamed Current.ByteColor Current.Color

24 years agomore minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
Brian Paul [Sun, 29 Oct 2000 18:23:16 +0000 (18:23 +0000)]
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)

24 years agoMore GLchan color channel changes.
Brian Paul [Sun, 29 Oct 2000 18:12:14 +0000 (18:12 +0000)]
More GLchan color channel changes.
Some header file re-org:
   Move matrix, vertex buffer structs to types.h to fix #include mess.
   Remove typedef, extern declarations from config.h

24 years agoNew colormac.h file for color-related macros.
Brian Paul [Sat, 28 Oct 2000 20:41:13 +0000 (20:41 +0000)]
New colormac.h file for color-related macros.
Lot's of clean-up in macros.h and mmath.h

24 years agoBasic work to support deep color channels:
Brian Paul [Sat, 28 Oct 2000 18:34:48 +0000 (18:34 +0000)]
Basic work to support deep color channels:
  Replace GLubyte with GLchan
  Replace 255 with CHAN_MAX

24 years agoDo per-pixel fog when GL_FOG_HINT is GL_NICEST.
Keith Whitwell [Sat, 28 Oct 2000 11:42:12 +0000 (11:42 +0000)]
Do per-pixel fog when GL_FOG_HINT is GL_NICEST.
Fix scaling bug in per-pixel fog calculations.

24 years agoLots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.
Jon Taylor [Sat, 28 Oct 2000 10:02:44 +0000 (10:02 +0000)]
Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.

24 years agorestored test for __alpha in _mesa_win_fog_coords_from_z()
Brian Paul [Fri, 27 Oct 2000 18:38:35 +0000 (18:38 +0000)]
restored test for __alpha in _mesa_win_fog_coords_from_z()

24 years agoadded info about GL_EXT_secondary_color and GL_EXT_fog_coord
Brian Paul [Fri, 27 Oct 2000 18:32:55 +0000 (18:32 +0000)]
added info about GL_EXT_secondary_color and GL_EXT_fog_coord

24 years agoEnabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.c
Brian Paul [Fri, 27 Oct 2000 18:31:21 +0000 (18:31 +0000)]
Enabled GL_EXT_secondary_color.  Fixed a bunch of typos in the dlist.c
and state.c file for plugging those functions into the dispatch table.
Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets.
Commented-out references to ctx->FogMode and VB->Specular in FX driver.
Minor clean-up in extensions.c
Removed unused prototype in fog.h

24 years agoImplement EXT_fog_coord and EXT_secondary_color.
Keith Whitwell [Fri, 27 Oct 2000 16:44:40 +0000 (16:44 +0000)]
Implement EXT_fog_coord and EXT_secondary_color.

EXT_secondary_color is disabled until we get some dispatch offsets from SGI.

24 years agoChange animated apps to double-buffered visuals by default.
Gareth Hughes [Fri, 27 Oct 2000 02:49:17 +0000 (02:49 +0000)]
Change animated apps to double-buffered visuals by default.

24 years agoadded GL_BGR case to bytes_per_pixel()
Brian Paul [Thu, 26 Oct 2000 21:48:18 +0000 (21:48 +0000)]
added GL_BGR case to bytes_per_pixel()

24 years agoremoved X86/*.m4 files from tar archive
Brian Paul [Thu, 26 Oct 2000 19:36:14 +0000 (19:36 +0000)]
removed X86/*.m4 files from tar archive

24 years agoclarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS value
Brian Paul [Thu, 26 Oct 2000 19:26:18 +0000 (19:26 +0000)]
clarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS value

24 years agofixed value for GLU_NURBS_MODE
Brian Paul [Thu, 26 Oct 2000 15:32:54 +0000 (15:32 +0000)]
fixed value for GLU_NURBS_MODE

24 years agoadded a glFinish() call
Brian Paul [Thu, 26 Oct 2000 15:26:14 +0000 (15:26 +0000)]
added a glFinish() call

24 years agoadded incomplete() debug function/macro
Brian Paul [Tue, 24 Oct 2000 02:53:18 +0000 (02:53 +0000)]
added incomplete() debug function/macro

24 years agosignal NEW_TEXTURING if there's a Driver.BindTexture() function
Brian Paul [Tue, 24 Oct 2000 01:13:58 +0000 (01:13 +0000)]
signal NEW_TEXTURING if there's a Driver.BindTexture() function

24 years agoPut a white texel in each corner of each texture.
Brian Paul [Mon, 23 Oct 2000 23:32:22 +0000 (23:32 +0000)]
Put a white texel in each corner of each texture.
Draw polygons using the texture's aspect ratio.
The tdfx-3-0-0 texcoord bug is obvious with the -randomsize option.

24 years agoadded idle() func, enable fog by default
Brian Paul [Mon, 23 Oct 2000 20:06:36 +0000 (20:06 +0000)]
added idle() func, enable fog by default

24 years agoadded libOSMesa.so info
Brian Paul [Mon, 23 Oct 2000 19:46:11 +0000 (19:46 +0000)]
added libOSMesa.so info

24 years agogenerate separate libOSMesa library ala XFree86/DRI
Brian Paul [Mon, 23 Oct 2000 19:43:36 +0000 (19:43 +0000)]
generate separate libOSMesa library ala XFree86/DRI

24 years agofixed 386/x86 mismatches, reordered a few configs
Brian Paul [Mon, 23 Oct 2000 19:33:55 +0000 (19:33 +0000)]
fixed 386/x86 mismatches, reordered a few configs

24 years agoMajor audit of all Mesa's x86 assembly code. This round is basically
Gareth Hughes [Mon, 23 Oct 2000 00:20:50 +0000 (00:20 +0000)]
Major audit of all Mesa's x86 assembly code.  This round is basically
general cleanups - more to come.

Added P6 architecture timing to debug_xform routines.  Still need to add
test_all_vertex_functions test for the v16 asm.  Dynamic reconfiguration
of counter overhead for more accurate benchmarking.

Removed redundant x86 assembly build options, replace with linux-x86 and
so on.  This will build all x86, MMX, 3DNow!, SSE etc assembly into
libGL - preferred over many different options to include some but not
all assembly code.  Note that linux-3dnow and linux-katmai options have
thus been removed.

24 years agoMajor audit of all Mesa's x86 assembly code. This round is basically
Gareth Hughes [Mon, 23 Oct 2000 00:16:28 +0000 (00:16 +0000)]
Major audit of all Mesa's x86 assembly code.  This round is basically
general cleanups - more to come.

Added P6 architecture timing to debug_xform routines.  Still need to add
test_all_vertex_functions test for the v16 asm.  Dynamic reconfiguration
of counter overhead for more accurate benchmarking.

24 years agoadded a proper idle() function
Brian Paul [Sat, 21 Oct 2000 04:29:02 +0000 (04:29 +0000)]
added a proper idle() function

24 years agofixed a texture enable bug
Brian Paul [Sat, 21 Oct 2000 01:29:12 +0000 (01:29 +0000)]
fixed a texture enable bug

24 years agopolygon offset changes; added Visual->MRD field
Brian Paul [Sat, 21 Oct 2000 00:02:47 +0000 (00:02 +0000)]
polygon offset changes; added Visual->MRD field

24 years agoChanges for multitexture > 3, code clean-ups.
Brian Paul [Fri, 20 Oct 2000 19:54:49 +0000 (19:54 +0000)]
Changes for multitexture > 3, code clean-ups.
Added GLboolean ctx->Texture.MultiTextureEnabled to determine when
multitexture is enabled.  Eventually ctx->Texture.ReallyEnabled may
become a boolean.

24 years agouse 1.1 glPolygonOffset instead of glPolygonOffsetEXT
Brian Paul [Fri, 20 Oct 2000 17:26:57 +0000 (17:26 +0000)]
use 1.1 glPolygonOffset instead of glPolygonOffsetEXT

24 years agoRewrote get_static_proc_address(). It made mistakes in some situations
Brian Paul [Thu, 19 Oct 2000 20:13:12 +0000 (20:13 +0000)]
Rewrote get_static_proc_address().  It made mistakes in some situations

24 years agoglPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly
Brian Paul [Thu, 19 Oct 2000 20:09:47 +0000 (20:09 +0000)]
glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly

24 years agocall Driver.SetReadBuffer() in clear_color_buffers() to fix colormasked clear bug
Brian Paul [Thu, 19 Oct 2000 18:17:19 +0000 (18:17 +0000)]
call Driver.SetReadBuffer() in clear_color_buffers() to fix colormasked clear bug

24 years agoimproved blending accuracy to fix Glean test failures
Brian Paul [Thu, 19 Oct 2000 18:08:05 +0000 (18:08 +0000)]
improved blending accuracy to fix Glean test failures

24 years agoGL_MAX_TEXTURE_UNITS_ARB is now 3
Brian Paul [Wed, 18 Oct 2000 15:14:48 +0000 (15:14 +0000)]
GL_MAX_TEXTURE_UNITS_ARB is now 3

24 years agoMore fixes for MAX_TEXTURE_UNITS > 2. Seems to work now.
Brian Paul [Wed, 18 Oct 2000 15:02:59 +0000 (15:02 +0000)]
More fixes for MAX_TEXTURE_UNITS > 2.  Seems to work now.
Misc code clean-ups, minor bug fixes.
MAX_TEXTURE_UNITS now defaults to 3.

24 years agoported render begin/end calls from Mesa 3.4
Brian Paul [Tue, 17 Oct 2000 00:42:02 +0000 (00:42 +0000)]
ported render begin/end calls from Mesa 3.4

24 years agoadded _mesa_get_teximages_from_driver()
Brian Paul [Mon, 16 Oct 2000 23:43:12 +0000 (23:43 +0000)]
added _mesa_get_teximages_from_driver()

24 years agouse gray background, memset TempImage to white to help with debugging
Brian Paul [Mon, 16 Oct 2000 21:24:39 +0000 (21:24 +0000)]
use gray background, memset TempImage to white to help with debugging

24 years agoif depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problems
Brian Paul [Mon, 9 Oct 2000 22:42:40 +0000 (22:42 +0000)]
if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problems

24 years agoupdate TriangleCaps in GL_POINT/POLYGON_SMOOTH cases
Brian Paul [Thu, 5 Oct 2000 23:10:42 +0000 (23:10 +0000)]
update TriangleCaps in GL_POINT/POLYGON_SMOOTH cases

24 years agobrighter colors
Brian Paul [Thu, 5 Oct 2000 21:57:00 +0000 (21:57 +0000)]
brighter colors

24 years agobetter handling of GLX_DEPTH_SIZE in glXChooseVisual()
Brian Paul [Thu, 5 Oct 2000 17:38:21 +0000 (17:38 +0000)]
better handling of GLX_DEPTH_SIZE in glXChooseVisual()

24 years agodrawing color-index image to RGB window was broken
Brian Paul [Thu, 5 Oct 2000 16:22:22 +0000 (16:22 +0000)]
drawing color-index image to RGB window was broken

24 years ago Committing in .
Jouk Jansen [Thu, 5 Oct 2000 07:17:43 +0000 (07:17 +0000)]
 Committing in .

 Modified Files:
  Mesa/demos/paltex.c

 Silenced compiler warnings

----------------------------------------------------------------------

24 years agoimproved to test alpha blending with texture palette
Brian Paul [Wed, 4 Oct 2000 18:15:39 +0000 (18:15 +0000)]
improved to test alpha blending with texture palette

24 years agomore work to support N texture units
Brian Paul [Mon, 2 Oct 2000 15:45:12 +0000 (15:45 +0000)]
more work to support N texture units

24 years agotextured line test
Brian Paul [Sat, 30 Sep 2000 18:48:33 +0000 (18:48 +0000)]
textured line test

24 years agosupport for N texture units
Brian Paul [Sat, 30 Sep 2000 18:42:29 +0000 (18:42 +0000)]
support for N texture units

24 years agoadded fps output
Brian Paul [Fri, 29 Sep 2000 23:09:39 +0000 (23:09 +0000)]
added fps output

24 years agogeneralized support for N texure units
Brian Paul [Fri, 29 Sep 2000 16:58:44 +0000 (16:58 +0000)]
generalized support for N texure units

24 years agoremoved ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled instead
Brian Paul [Thu, 28 Sep 2000 22:44:30 +0000 (22:44 +0000)]
removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled instead

24 years agonew params for SpecificCompressedTexFormat() (Bill White)
Brian Paul [Thu, 28 Sep 2000 18:30:39 +0000 (18:30 +0000)]
new params for SpecificCompressedTexFormat() (Bill White)

24 years ago Committing in .
Jouk Jansen [Wed, 27 Sep 2000 10:59:15 +0000 (10:59 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms

 inserted imports.c
----------------------------------------------------------------------

24 years agoinclude types.h
Brian Paul [Wed, 27 Sep 2000 03:30:49 +0000 (03:30 +0000)]
include types.h

24 years agorenamed gl_copy_context to _mesa_copy_context
Brian Paul [Tue, 26 Sep 2000 21:28:39 +0000 (21:28 +0000)]
renamed gl_copy_context to _mesa_copy_context

24 years agoadded imports.c
Brian Paul [Tue, 26 Sep 2000 21:22:20 +0000 (21:22 +0000)]
added imports.c

24 years agoFirst batch of OpenGL SI related changes:
Brian Paul [Tue, 26 Sep 2000 20:53:53 +0000 (20:53 +0000)]
First batch of OpenGL SI related changes:
Renamed struct gl_context to struct __GLcontextRec.
Include glcore.h, setup GL imports/exports.
Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions.
GLcontext's Visual field is no longer a pointer.

24 years agoReplaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE.
Brian Paul [Tue, 26 Sep 2000 15:27:20 +0000 (15:27 +0000)]
Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE.
Changed src/Makefile.X11 to compile Trace sources like other drivers.

24 years agouse GL_NEAREST texture filter
Brian Paul [Tue, 26 Sep 2000 15:25:01 +0000 (15:25 +0000)]
use GL_NEAREST texture filter

24 years agoadded GL_ARB_texture_env_add
Brian Paul [Mon, 25 Sep 2000 16:03:59 +0000 (16:03 +0000)]
added GL_ARB_texture_env_add

24 years agoremoved unused display_list struct
Brian Paul [Sun, 24 Sep 2000 16:11:55 +0000 (16:11 +0000)]
removed unused display_list struct

24 years agoAdded SSE streaming store instructions, external symbol directives.
Gareth Hughes [Mon, 18 Sep 2000 22:49:04 +0000 (22:49 +0000)]
Added SSE streaming store instructions, external symbol directives.

24 years agoAdded SSE prefetching instructions. General cleanups.
Gareth Hughes [Mon, 18 Sep 2000 16:57:16 +0000 (16:57 +0000)]
Added SSE prefetching instructions.  General cleanups.

24 years agonew comments, misc clean-up
Brian Paul [Sun, 17 Sep 2000 21:56:07 +0000 (21:56 +0000)]
new comments, misc clean-up

24 years agoGeneral cleanups. Disable gl_katmai_project_vertices and
Gareth Hughes [Sun, 17 Sep 2000 21:12:40 +0000 (21:12 +0000)]
General cleanups.  Disable gl_katmai_project_vertices and
gl_katmai_project_clipped_vertices for now as they are broken.

24 years agoset default window pos, changed 4 to GL_RGBA
Brian Paul [Fri, 15 Sep 2000 23:59:46 +0000 (23:59 +0000)]
set default window pos, changed 4 to GL_RGBA

24 years agoadded some missing const keywords in GetString
Brian Paul [Fri, 15 Sep 2000 19:57:51 +0000 (19:57 +0000)]
added some missing const keywords in GetString

24 years agoadded GL_MESA_trace support
Brian Paul [Fri, 15 Sep 2000 19:45:40 +0000 (19:45 +0000)]
added GL_MESA_trace support

24 years agoAdded GL_MESA_trace extension (Loki)
Brian Paul [Fri, 15 Sep 2000 19:45:00 +0000 (19:45 +0000)]
Added GL_MESA_trace extension (Loki)

24 years agoadded trace support (Loki)
Brian Paul [Fri, 15 Sep 2000 19:44:39 +0000 (19:44 +0000)]
added trace support (Loki)

24 years agoremoved unused struct display_list_compilation
Brian Paul [Fri, 15 Sep 2000 17:04:35 +0000 (17:04 +0000)]
removed unused struct display_list_compilation

24 years agoadded FPS calculation
Brian Paul [Fri, 15 Sep 2000 16:43:57 +0000 (16:43 +0000)]
added FPS calculation

24 years agoadded more warning options to linux-elf-debug config
Brian Paul [Fri, 15 Sep 2000 15:55:24 +0000 (15:55 +0000)]
added more warning options to linux-elf-debug config

24 years agomoved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence...
Brian Paul [Fri, 15 Sep 2000 15:54:25 +0000 (15:54 +0000)]
moved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence compiler warnings

24 years agouse cpml.h on Alpha (AlanH)
Brian Paul [Fri, 15 Sep 2000 15:42:45 +0000 (15:42 +0000)]
use cpml.h on Alpha (AlanH)

24 years agoupdated comments
Brian Paul [Thu, 14 Sep 2000 23:13:51 +0000 (23:13 +0000)]
updated comments

24 years agoexplicitly init some texture vars
Brian Paul [Thu, 14 Sep 2000 23:13:23 +0000 (23:13 +0000)]
explicitly init some texture vars

24 years agoadded cursor key info to instructions
Brian Paul [Wed, 13 Sep 2000 23:01:52 +0000 (23:01 +0000)]
added cursor key info to instructions

24 years agoreplaced GL_RGBA with GL_BGRA for GL_UNSIGNED_SHORT_1_5_5_5_REV datatype
Brian Paul [Wed, 13 Sep 2000 22:07:20 +0000 (22:07 +0000)]
replaced GL_RGBA with GL_BGRA for GL_UNSIGNED_SHORT_1_5_5_5_REV datatype

24 years agopacking of GLushort packed types was broken
Brian Paul [Tue, 12 Sep 2000 21:10:25 +0000 (21:10 +0000)]
packing of GLushort packed types was broken

24 years agoadded format/type error check to draw_rgba_pixels()
Brian Paul [Tue, 12 Sep 2000 21:09:24 +0000 (21:09 +0000)]
added format/type error check to draw_rgba_pixels()

24 years agoinit mutex
Brian Paul [Tue, 12 Sep 2000 21:07:40 +0000 (21:07 +0000)]
init mutex

24 years agobetter FPS calculation
Brian Paul [Tue, 12 Sep 2000 18:44:45 +0000 (18:44 +0000)]
better FPS calculation

24 years agoterrain demo data
Brian Paul [Tue, 12 Sep 2000 17:58:27 +0000 (17:58 +0000)]
terrain demo data

24 years agobetter fps computation
Brian Paul [Tue, 12 Sep 2000 17:38:22 +0000 (17:38 +0000)]
better fps computation

24 years agoadded some casts (Takaaki Nomura)
Brian Paul [Tue, 12 Sep 2000 17:03:59 +0000 (17:03 +0000)]
added some casts (Takaaki Nomura)

24 years agoWin32 updates (Chris Morley)
Brian Paul [Tue, 12 Sep 2000 15:46:43 +0000 (15:46 +0000)]
Win32 updates (Chris Morley)

24 years agoWin32 update (Chris Morley)
Brian Paul [Tue, 12 Sep 2000 15:41:46 +0000 (15:41 +0000)]
Win32 update (Chris Morley)

24 years agoRemoved immediate struct's maybe_transform_vb pointer.
Brian Paul [Mon, 11 Sep 2000 18:49:06 +0000 (18:49 +0000)]
Removed immediate struct's maybe_transform_vb pointer.
Call _mesa_maybe_transform_vb() directly.

24 years ago Committing in .
Jouk Jansen [Sat, 9 Sep 2000 07:05:32 +0000 (07:05 +0000)]
 Committing in .

 Modified Files:
  Mesa/src/descrip.mms

 Corrected a typo
----------------------------------------------------------------------

24 years agoadded Dither, NEW_DRVSTATE info
Brian Paul [Fri, 8 Sep 2000 22:39:09 +0000 (22:39 +0000)]
added Dither, NEW_DRVSTATE info

24 years agoremoved unused NEW_DRVSTATE flags
Brian Paul [Fri, 8 Sep 2000 22:07:29 +0000 (22:07 +0000)]
removed unused NEW_DRVSTATE flags

24 years agoadded dither key option
Brian Paul [Fri, 8 Sep 2000 21:45:21 +0000 (21:45 +0000)]
added dither key option