mesa.git
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()

23 years agoadded device driver changes
Brian Paul [Thu, 7 Sep 2000 15:46:05 +0000 (15:46 +0000)]
added device driver changes

23 years agoRemoved ctx->Driver.LogicOp().
Brian Paul [Thu, 7 Sep 2000 15:45:26 +0000 (15:45 +0000)]
Removed ctx->Driver.LogicOp().
ctx->Driver.Index/ColorMask() now return void.
Removed SWmasking and SWLogicOpEnabled variables.
LogicOps and color/index masking are no longer special-case device
driver functions.  The Xlib driver was the only driver that used
them.  Things are more uniform now.

23 years agoadded xmesa_update_span_funcs()
Brian Paul [Thu, 7 Sep 2000 15:42:38 +0000 (15:42 +0000)]
added xmesa_update_span_funcs()

23 years agorenamed Xlib driver files
Brian Paul [Thu, 7 Sep 2000 15:42:13 +0000 (15:42 +0000)]
renamed Xlib driver files

23 years agonewly organized Xlib driver files
Brian Paul [Thu, 7 Sep 2000 15:40:30 +0000 (15:40 +0000)]
newly organized Xlib driver files

23 years agoadded device driver function for texture proxy testing
Brian Paul [Thu, 7 Sep 2000 15:38:49 +0000 (15:38 +0000)]
added device driver function for texture proxy testing

23 years agosilence compiler warning (zoomY0)
Brian Paul [Wed, 6 Sep 2000 17:44:52 +0000 (17:44 +0000)]
silence compiler warning (zoomY0)

23 years agotest for __bsdi__ for XFree86
Brian Paul [Wed, 6 Sep 2000 17:34:41 +0000 (17:34 +0000)]
test for __bsdi__ for XFree86

23 years agoreplaced ## with CONCAT macro
Brian Paul [Wed, 6 Sep 2000 17:33:40 +0000 (17:33 +0000)]
replaced ## with CONCAT macro

23 years agooops- forgot convolution for glGetTexImage. Done now.
Brian Paul [Wed, 6 Sep 2000 15:15:43 +0000 (15:15 +0000)]
oops- forgot convolution for glGetTexImage.  Done now.

23 years agopassing proxy targets to glGetTexImage() should generate GL_INVALID_ENUM
Brian Paul [Tue, 5 Sep 2000 22:11:38 +0000 (22:11 +0000)]
passing proxy targets to glGetTexImage() should generate GL_INVALID_ENUM

23 years agouse clear_proxy_teximage() instead of MEMSET()
Brian Paul [Tue, 5 Sep 2000 22:04:30 +0000 (22:04 +0000)]
use clear_proxy_teximage() instead of MEMSET()

23 years agoGetConvolution/SeparableFilter() now finished
Brian Paul [Tue, 5 Sep 2000 20:28:56 +0000 (20:28 +0000)]
GetConvolution/SeparableFilter() now finished

23 years agoadded tracing facility from Loki
Brian Paul [Tue, 5 Sep 2000 20:28:06 +0000 (20:28 +0000)]
added tracing facility from Loki

23 years agoadded tracing facility from Loki
Brian Paul [Tue, 5 Sep 2000 20:17:37 +0000 (20:17 +0000)]
added tracing facility from Loki

23 years agoadded const to _mesa_select_tex_object()
Brian Paul [Tue, 5 Sep 2000 15:41:25 +0000 (15:41 +0000)]
added const to _mesa_select_tex_object()

23 years agoFixed bug in fill_texture_image(). Clean-up in _mesaGetTexImage()
Brian Paul [Tue, 5 Sep 2000 15:40:34 +0000 (15:40 +0000)]
Fixed bug in fill_texture_image().  Clean-up in _mesaGetTexImage()

23 years agoadded convolution, ARB_imaging items
Brian Paul [Sat, 2 Sep 2000 17:54:28 +0000 (17:54 +0000)]
added convolution, ARB_imaging items

23 years agoenabled GL_EXT_convolution and GL_ARB_imaging
Brian Paul [Sat, 2 Sep 2000 17:52:53 +0000 (17:52 +0000)]
enabled GL_EXT_convolution and GL_ARB_imaging

23 years agofinished convolution
Brian Paul [Sat, 2 Sep 2000 17:52:21 +0000 (17:52 +0000)]
finished convolution

23 years agodestBytesPerRow was uninitialized in make_texture_image()
Brian Paul [Fri, 1 Sep 2000 22:01:12 +0000 (22:01 +0000)]
destBytesPerRow was uninitialized in make_texture_image()

23 years agoinitial check-in
Brian Paul [Fri, 1 Sep 2000 21:01:18 +0000 (21:01 +0000)]
initial check-in