Brian Paul [Fri, 10 Nov 2000 17:36:42 +0000 (17:36 +0000)]
removed old TexImage() and TexSubImage() functions
Brian Paul [Fri, 10 Nov 2000 17:23:02 +0000 (17:23 +0000)]
patched to silence compiler warnings (Martin Lindhe)
Brian Paul [Fri, 10 Nov 2000 15:32:07 +0000 (15:32 +0000)]
restored call to _mesa_select_tex_image() in _mesa_GetTexImage()
Brian Paul [Thu, 9 Nov 2000 23:25:06 +0000 (23:25 +0000)]
GL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)
Brian Paul [Thu, 9 Nov 2000 22:41:25 +0000 (22:41 +0000)]
updated with bug fix from 3.4 branch
Brian Paul [Thu, 9 Nov 2000 16:53:26 +0000 (16:53 +0000)]
fixed mipmap setup bug
Keith Whitwell [Tue, 7 Nov 2000 19:17:23 +0000 (19:17 +0000)]
fixed very obvious fog bug
Brian Paul [Tue, 7 Nov 2000 16:40:37 +0000 (16:40 +0000)]
adjust x/y/zoffset parameters to fill_texture_image() by texture border width
Brian Paul [Mon, 6 Nov 2000 17:28:51 +0000 (17:28 +0000)]
test ctx->RenderMode in chooser functions
Brian Paul [Mon, 6 Nov 2000 17:28:20 +0000 (17:28 +0000)]
test ctx->RenderMode in chooser functions, removed dead code
Brian Paul [Mon, 6 Nov 2000 17:08:02 +0000 (17:08 +0000)]
added a setup function for selection/feedback
Brian Paul [Mon, 6 Nov 2000 15:52:48 +0000 (15:52 +0000)]
added buffer test to xmesa_choose_point(), fixes X protocol error
Jouk Jansen [Mon, 6 Nov 2000 13:04:05 +0000 (13:04 +0000)]
Committing in .
Modified Files:
Mesa/src/descrip.mms Mesa/src/mms_depend
Updating VMS compile support
----------------------------------------------------------------------
Brian Paul [Sun, 5 Nov 2000 23:21:12 +0000 (23:21 +0000)]
removed obsolete VB vars
Brian Paul [Sun, 5 Nov 2000 23:19:23 +0000 (23:19 +0000)]
added swrast/s_aaline.c
Brian Paul [Sun, 5 Nov 2000 23:18:36 +0000 (23:18 +0000)]
hooked in new AA line code, minor clean-up
Brian Paul [Sun, 5 Nov 2000 23:15:16 +0000 (23:15 +0000)]
New implementation of antialiased lines. Mesa should now pass the remaining
GL conformance tests for AA lines (but not tried yet).
TODO: improve code sharing with the AA triangle code.
Keith Whitwell [Sun, 5 Nov 2000 18:40:57 +0000 (18:40 +0000)]
- Changes for new software rasterizer modules
- Remove support for choosing software fallbacks from core code
- Remove partial fallback code from vbrender.c -- drivers are now
expected to be able to find a triangle/quad function for every state,
even if they have to use _swsetup_Triangle or _swsetup_Quad.
- Marked derived variables in the GLcontext struct with a leading
underscore '_'.
Keith Whitwell [Sun, 5 Nov 2000 18:28:01 +0000 (18:28 +0000)]
Reworked to use the new software rasterizer. Optimized line/tri functions
are hooked into the software rasterizer.
Keith Whitwell [Sun, 5 Nov 2000 18:26:12 +0000 (18:26 +0000)]
Use the new software rasterizer. Reworked optimized line,tri,point
functions to fit into the framework provided for extending the
software rasterizer.
Keith Whitwell [Sun, 5 Nov 2000 18:24:40 +0000 (18:24 +0000)]
Reorganized software rasterizer as a module which manages its own state,
with tighter interfaces with the rest of the world.
Proper documentation to come.
Keith Whitwell [Sun, 5 Nov 2000 18:20:18 +0000 (18:20 +0000)]
A new module to provide RasterSetup and advanced triangle/line/point
functionality layered on top of the software rasterizer.
An example entrypoint:
void _swsetup_Triangle( GLcontext, GLuint, GLuint, GLuint, GLuint )
will coerce the software rasterizer to draw flat, twoside-lit,
unfilled and offset triangles (including decomposition to points or lines).
Keith Whitwell [Sun, 5 Nov 2000 18:16:51 +0000 (18:16 +0000)]
Lots of changes:
- use the new interface to the software rasterizer.
- manage all fallbacks internally, hooking in swrast or
swrast_setup if necessary.
- removed lots of marginal code no longer appropriate in a
maturing driver.
- reworked the vertex-setup and triangle routines, including
drawing unfilled triangles from within the driver.
Brian Paul [Fri, 3 Nov 2000 15:14:18 +0000 (15:14 +0000)]
update to GL_MESA_trace extension enums
Brian Paul [Fri, 3 Nov 2000 15:10:04 +0000 (15:10 +0000)]
MESA_trace extension (Loki)
Brian Paul [Fri, 3 Nov 2000 15:01:38 +0000 (15:01 +0000)]
added GL_MESA_packed_depth_stencil extension
Brian Paul [Fri, 3 Nov 2000 14:58:45 +0000 (14:58 +0000)]
GL_MESA_packed_depth_stencil extension spec
Brian Paul [Fri, 3 Nov 2000 01:37:10 +0000 (01:37 +0000)]
added some missing backslashes
Gareth Hughes [Fri, 3 Nov 2000 00:09:31 +0000 (00:09 +0000)]
Change transformation from ortho to perspective so we get the MGA elt
path by default.
Brian Paul [Wed, 1 Nov 2000 16:02:52 +0000 (16:02 +0000)]
update for separate libOSMesa.so lib
Brian Paul [Wed, 1 Nov 2000 16:02:01 +0000 (16:02 +0000)]
print number of texture units
Jouk Jansen [Wed, 1 Nov 2000 15:53:02 +0000 (15:53 +0000)]
Committing in .
Modified Files:
Mesa/src/descrip.mms
Updated Makefiles for VMS
----------------------------------------------------------------------
Gareth Hughes [Wed, 1 Nov 2000 03:14:12 +0000 (03:14 +0000)]
Added trivial CVA test for testing HW driver fastpaths, good for testing
indexed vertex buffer implementations for instance.
Cleaned up Makefile to make building and adding more tests easier.
Brian Paul [Tue, 31 Oct 2000 23:11:06 +0000 (23:11 +0000)]
Always call Driver.SetReadBuffer() in copy pixels functions, just to be safe
Brian Paul [Tue, 31 Oct 2000 20:41:06 +0000 (20:41 +0000)]
added comment explaining why the demo is flawed
Keith Whitwell [Tue, 31 Oct 2000 18:09:44 +0000 (18:09 +0000)]
Moved the software rasterizer to a new directory.
Keith Whitwell [Tue, 31 Oct 2000 18:00:04 +0000 (18:00 +0000)]
Moved software rasterizer functionality to new directory.
Keith Whitwell [Tue, 31 Oct 2000 12:40:57 +0000 (12:40 +0000)]
Remove dead code in FX driver.
Brian Paul [Tue, 31 Oct 2000 01:20:06 +0000 (01:20 +0000)]
removed debug printf
Brian Paul [Mon, 30 Oct 2000 22:38:55 +0000 (22:38 +0000)]
big overhaul of the demo, works better now
Keith Whitwell [Mon, 30 Oct 2000 18:50:42 +0000 (18:50 +0000)]
Rearrange VERT_* flags to support 4 texture units.
Brian Paul [Mon, 30 Oct 2000 16:32:42 +0000 (16:32 +0000)]
Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.
More minor GLchan changes.
Silence some compiler warnings in cva.[ch]
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
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
Keith Whitwell [Mon, 30 Oct 2000 16:00:42 +0000 (16:00 +0000)]
test cvs commit logging
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.
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
----------------------------------------------------------------------
Brian Paul [Sun, 29 Oct 2000 19:02:23 +0000 (19:02 +0000)]
renamed Current.ByteColor Current.Color
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)
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
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
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
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.
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.
Brian Paul [Fri, 27 Oct 2000 18:38:35 +0000 (18:38 +0000)]
restored test for __alpha in _mesa_win_fog_coords_from_z()
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
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
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.
Gareth Hughes [Fri, 27 Oct 2000 02:49:17 +0000 (02:49 +0000)]
Change animated apps to double-buffered visuals by default.
Brian Paul [Thu, 26 Oct 2000 21:48:18 +0000 (21:48 +0000)]
added GL_BGR case to bytes_per_pixel()
Brian Paul [Thu, 26 Oct 2000 19:36:14 +0000 (19:36 +0000)]
removed X86/*.m4 files from tar archive
Brian Paul [Thu, 26 Oct 2000 19:26:18 +0000 (19:26 +0000)]
clarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS value
Brian Paul [Thu, 26 Oct 2000 15:32:54 +0000 (15:32 +0000)]
fixed value for GLU_NURBS_MODE
Brian Paul [Thu, 26 Oct 2000 15:26:14 +0000 (15:26 +0000)]
added a glFinish() call
Brian Paul [Tue, 24 Oct 2000 02:53:18 +0000 (02:53 +0000)]
added incomplete() debug function/macro
Brian Paul [Tue, 24 Oct 2000 01:13:58 +0000 (01:13 +0000)]
signal NEW_TEXTURING if there's a Driver.BindTexture() function
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.
Brian Paul [Mon, 23 Oct 2000 20:06:36 +0000 (20:06 +0000)]
added idle() func, enable fog by default
Brian Paul [Mon, 23 Oct 2000 19:46:11 +0000 (19:46 +0000)]
added libOSMesa.so info
Brian Paul [Mon, 23 Oct 2000 19:43:36 +0000 (19:43 +0000)]
generate separate libOSMesa library ala XFree86/DRI
Brian Paul [Mon, 23 Oct 2000 19:33:55 +0000 (19:33 +0000)]
fixed 386/x86 mismatches, reordered a few configs
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.
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.
Brian Paul [Sat, 21 Oct 2000 04:29:02 +0000 (04:29 +0000)]
added a proper idle() function
Brian Paul [Sat, 21 Oct 2000 01:29:12 +0000 (01:29 +0000)]
fixed a texture enable bug
Brian Paul [Sat, 21 Oct 2000 00:02:47 +0000 (00:02 +0000)]
polygon offset changes; added Visual->MRD field
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.
Brian Paul [Fri, 20 Oct 2000 17:26:57 +0000 (17:26 +0000)]
use 1.1 glPolygonOffset instead of glPolygonOffsetEXT
Brian Paul [Thu, 19 Oct 2000 20:13:12 +0000 (20:13 +0000)]
Rewrote get_static_proc_address(). It made mistakes in some situations
Brian Paul [Thu, 19 Oct 2000 20:09:47 +0000 (20:09 +0000)]
glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly
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
Brian Paul [Thu, 19 Oct 2000 18:08:05 +0000 (18:08 +0000)]
improved blending accuracy to fix Glean test failures
Brian Paul [Wed, 18 Oct 2000 15:14:48 +0000 (15:14 +0000)]
GL_MAX_TEXTURE_UNITS_ARB is now 3
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.
Brian Paul [Tue, 17 Oct 2000 00:42:02 +0000 (00:42 +0000)]
ported render begin/end calls from Mesa 3.4
Brian Paul [Mon, 16 Oct 2000 23:43:12 +0000 (23:43 +0000)]
added _mesa_get_teximages_from_driver()
Brian Paul [Mon, 16 Oct 2000 21:24:39 +0000 (21:24 +0000)]
use gray background, memset TempImage to white to help with debugging
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
Brian Paul [Thu, 5 Oct 2000 23:10:42 +0000 (23:10 +0000)]
update TriangleCaps in GL_POINT/POLYGON_SMOOTH cases
Brian Paul [Thu, 5 Oct 2000 21:57:00 +0000 (21:57 +0000)]
brighter colors
Brian Paul [Thu, 5 Oct 2000 17:38:21 +0000 (17:38 +0000)]
better handling of GLX_DEPTH_SIZE in glXChooseVisual()
Brian Paul [Thu, 5 Oct 2000 16:22:22 +0000 (16:22 +0000)]
drawing color-index image to RGB window was broken
Jouk Jansen [Thu, 5 Oct 2000 07:17:43 +0000 (07:17 +0000)]
Committing in .
Modified Files:
Mesa/demos/paltex.c
Silenced compiler warnings
----------------------------------------------------------------------
Brian Paul [Wed, 4 Oct 2000 18:15:39 +0000 (18:15 +0000)]
improved to test alpha blending with texture palette
Brian Paul [Mon, 2 Oct 2000 15:45:12 +0000 (15:45 +0000)]
more work to support N texture units
Brian Paul [Sat, 30 Sep 2000 18:48:33 +0000 (18:48 +0000)]
textured line test
Brian Paul [Sat, 30 Sep 2000 18:42:29 +0000 (18:42 +0000)]
support for N texture units
Brian Paul [Fri, 29 Sep 2000 23:09:39 +0000 (23:09 +0000)]
added fps output
Brian Paul [Fri, 29 Sep 2000 16:58:44 +0000 (16:58 +0000)]
generalized support for N texure units
Brian Paul [Thu, 28 Sep 2000 22:44:30 +0000 (22:44 +0000)]
removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled instead