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

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

23 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

23 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

23 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

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

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

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

23 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

23 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

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

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

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

23 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

23 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

23 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

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

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

23 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

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

23 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

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

23 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

23 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

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

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

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

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

23 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

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

23 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

23 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

23 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

23 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

23 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

23 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

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

23 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

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

23 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

23 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

23 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

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

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

23 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

23 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

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

23 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

23 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

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

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

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

23 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

23 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

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

23 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
----------------------------------------------------------------------

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

23 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

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

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

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

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

23 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

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

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

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

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

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

23 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

23 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

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

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

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

23 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

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

23 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

23 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

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

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

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

23 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

23 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

23 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

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

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

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

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

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

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

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

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

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

23 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
----------------------------------------------------------------------

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

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

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

23 years agoremoved ctx->Driver.Dither function
Brian Paul [Fri, 8 Sep 2000 21:44:55 +0000 (21:44 +0000)]
removed ctx->Driver.Dither function

23 years agochanged gl_frame_buffer Xmax and Ymax to be exclusive boundary values
Brian Paul [Fri, 8 Sep 2000 21:28:04 +0000 (21:28 +0000)]
changed gl_frame_buffer Xmax and Ymax to be exclusive boundary values

23 years agoadded OSMesaCreateContextExt item
Brian Paul [Fri, 8 Sep 2000 16:42:44 +0000 (16:42 +0000)]
added OSMesaCreateContextExt item

23 years agoUse OSMesaCreateContextExt() if using Mesa 3.5 or later
Brian Paul [Fri, 8 Sep 2000 16:42:06 +0000 (16:42 +0000)]
Use OSMesaCreateContextExt() if using Mesa 3.5 or later

23 years agoadded OSMesaCreateContextExt()
Brian Paul [Fri, 8 Sep 2000 16:41:38 +0000 (16:41 +0000)]
added OSMesaCreateContextExt()