mesa.git
24 years agocall RENDER_START/FINISH in read_color_image()
Brian Paul [Tue, 21 Nov 2000 23:25:40 +0000 (23:25 +0000)]
call RENDER_START/FINISH in read_color_image()

24 years agominor clean-ups (Klaus Niederkrueger)
Brian Paul [Tue, 21 Nov 2000 23:17:36 +0000 (23:17 +0000)]
minor clean-ups (Klaus Niederkrueger)

24 years agominor clean-ups
Brian Paul [Tue, 21 Nov 2000 23:09:18 +0000 (23:09 +0000)]
minor clean-ups

24 years agoadded some RENDER_START/RENDER_FINISH macros. Minor GLchan changes
Brian Paul [Tue, 21 Nov 2000 23:01:22 +0000 (23:01 +0000)]
added some RENDER_START/RENDER_FINISH macros.  Minor GLchan changes

24 years agoMore auto* build fixes
Jon Taylor [Tue, 21 Nov 2000 05:17:13 +0000 (05:17 +0000)]
More auto* build fixes
Removed spurious trace/Makefile from repository

24 years agominor multi-tex changes, changed MAX_TEXTURE_UNITS to 4
Brian Paul [Mon, 20 Nov 2000 18:06:11 +0000 (18:06 +0000)]
minor multi-tex changes, changed MAX_TEXTURE_UNITS to 4

24 years agoremoved #include <tgmath.h>
Brian Paul [Mon, 20 Nov 2000 15:16:33 +0000 (15:16 +0000)]
removed #include <tgmath.h>

24 years agofix lvalue cast on ctx->swtnl_im
Keith Whitwell [Mon, 20 Nov 2000 13:39:36 +0000 (13:39 +0000)]
fix lvalue cast on ctx->swtnl_im

24 years ago* More work on the auto* build system
Jon Taylor [Sun, 19 Nov 2000 23:42:32 +0000 (23:42 +0000)]
* More work on the auto* build system
* Added missing #includes all over the place
* Added GGI-style debugging harness to GGIMesa

24 years agoReplaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Brian Paul [Sun, 19 Nov 2000 23:10:25 +0000 (23:10 +0000)]
Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Completely removed the dirty texture object list.  Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.

24 years agoAdded GGI-style debugging harness to GGIGLUT.
Jon Taylor [Sun, 19 Nov 2000 07:41:26 +0000 (07:41 +0000)]
Added GGI-style debugging harness to GGIGLUT.

24 years ago- Fix tnl/t_context.h inclusion.
Gareth Hughes [Sun, 19 Nov 2000 02:18:33 +0000 (02:18 +0000)]
- Fix tnl/t_context.h inclusion.
- Some SSE asm updates, more to come.

24 years agoadded more programs
Brian Paul [Sat, 18 Nov 2000 17:13:04 +0000 (17:13 +0000)]
added more programs

24 years agotest texture palettes with multitexture
Brian Paul [Sat, 18 Nov 2000 17:12:33 +0000 (17:12 +0000)]
test texture palettes with multitexture

24 years agoMark Kilgard's reflection/shadow dino demo
Brian Paul [Sat, 18 Nov 2000 17:10:07 +0000 (17:10 +0000)]
Mark Kilgard's reflection/shadow dino demo

24 years agohacked demo to test multi-texture projective textures
Brian Paul [Sat, 18 Nov 2000 17:07:39 +0000 (17:07 +0000)]
hacked demo to test multi-texture projective textures

24 years ago* Auto* build fixes
Jon Taylor [Sat, 18 Nov 2000 08:10:21 +0000 (08:10 +0000)]
* Auto* build fixes
* Added missing includes to math/*

24 years agoMinor header file changes to silence warnings.
Brian Paul [Fri, 17 Nov 2000 21:01:25 +0000 (21:01 +0000)]
Minor header file changes to silence warnings.
Added _mesa_enable_sw_extensions(), called by software-only drivers
to enable all s/w-supported GL extensions.

24 years ago Committing in .
Jouk Jansen [Fri, 17 Nov 2000 11:00:55 +0000 (11:00 +0000)]
 Committing in .

 Patches to compile Mesa on VMS.
   -Updated for new directory tree
   -Now compile with PTHREADS on

 The patch in glthread.h is temporarily. The include file src/types.h
 conflicts with the system defined types.h. In future the mesa supplied one
 should be renamed.

 Modified Files:
  Mesa/include/GL/vms_x_fix.h Mesa/src/descrip.mms
  Mesa/src/glthread.h Mesa/src/mms_depend
 ----------------------------------------------------------------------

24 years agoMove the transform and lighting code to two new directories
Keith Whitwell [Thu, 16 Nov 2000 21:05:34 +0000 (21:05 +0000)]
Move the transform and lighting code to two new directories
math:  Provides basic matrix and vector functionality that
               might be useful to multiple software t&l
       implementations, and is used by core mesa to
       manage the Model, Project, etc matrices.

tnl:   The real transform & lighting code from core mesa,
       including everything from glVertex3f through vertex
       buffer handling, transformation, clipping, lighting
       and handoff to a driver for rasterization.

The interfaces of these can be further tightened up, but the basic
splitting up of state and code move is done.

24 years agoSmall compile fix
Jon Taylor [Thu, 16 Nov 2000 10:38:39 +0000 (10:38 +0000)]
Small compile fix

24 years agoadded includes to silence warnings
Brian Paul [Wed, 15 Nov 2000 16:38:59 +0000 (16:38 +0000)]
added includes to silence warnings

24 years agoReplaced ctx->Point.Size with ctx->Point._Size
Brian Paul [Wed, 15 Nov 2000 16:38:40 +0000 (16:38 +0000)]
Replaced ctx->Point.Size with ctx->Point._Size
Replaced ctx->Point.UserSize with ctx->Point.Size

24 years agorewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic...
Brian Paul [Wed, 15 Nov 2000 00:26:01 +0000 (00:26 +0000)]
rewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic projection are handled correctly

24 years agomore Driver.Color, Driver.Index updates
Brian Paul [Tue, 14 Nov 2000 17:51:15 +0000 (17:51 +0000)]
more Driver.Color, Driver.Index updates

24 years agoremoved unused set_color() and set_index() functions
Brian Paul [Tue, 14 Nov 2000 17:50:07 +0000 (17:50 +0000)]
removed unused set_color() and set_index() functions

24 years agoRemoved Driver.Color() and Driver.Index() functions.
Brian Paul [Tue, 14 Nov 2000 17:40:13 +0000 (17:40 +0000)]
Removed Driver.Color() and Driver.Index() functions.
Pass color or color index directly to WriteMono*() span functions.
Updated current s/w drivers accordingly.
Clean-up of X gc handling in XMesa driver.

24 years agoCleanup of derived state calculation prior to seperating software T&L
Keith Whitwell [Mon, 13 Nov 2000 20:02:56 +0000 (20:02 +0000)]
Cleanup of derived state calculation prior to seperating software T&L
into a new directory.  Specifically the handling of changes to lighting
lighting space (light in model vs. light in eye) have been revamped.

Moved several derived values used only by swrast into that directory.

Removed direct calls to swrast_flush() from vbrender.c -- pushed into
ctx->Driver.RenderFinish.

Optimized flat-shading case in swrast_setup.

24 years agoremoved unused var
Brian Paul [Mon, 13 Nov 2000 15:33:56 +0000 (15:33 +0000)]
removed unused var

24 years agobumped version to 3.5
Brian Paul [Mon, 13 Nov 2000 15:33:17 +0000 (15:33 +0000)]
bumped version to 3.5

24 years agofixed another texImage mistake in _mesa_GetTexImage()
Brian Paul [Mon, 13 Nov 2000 15:25:26 +0000 (15:25 +0000)]
fixed another texImage mistake in _mesa_GetTexImage()

24 years ago* Updated the autoconf/automake/libtool build system
Jon Taylor [Mon, 13 Nov 2000 04:15:44 +0000 (04:15 +0000)]
* Updated the autoconf/automake/libtool build system
* GGIMesa's stubs targets now uses swrast

24 years agoinit WrapR to GL_REPEAT mode
Brian Paul [Sat, 11 Nov 2000 20:23:47 +0000 (20:23 +0000)]
init WrapR to GL_REPEAT mode

24 years agoremoved tr_attrib.c
Brian Paul [Sat, 11 Nov 2000 19:09:29 +0000 (19:09 +0000)]
removed tr_attrib.c

24 years agolatest sources from Loki
Brian Paul [Sat, 11 Nov 2000 01:43:03 +0000 (01:43 +0000)]
latest sources from Loki

24 years agoreplaced _NEW_IMAGING with _NEW_PIXEL
Brian Paul [Fri, 10 Nov 2000 18:31:04 +0000 (18:31 +0000)]
replaced _NEW_IMAGING with _NEW_PIXEL

24 years agoreplaced s_imaging.h with s_histogram.h
Brian Paul [Fri, 10 Nov 2000 18:29:18 +0000 (18:29 +0000)]
replaced s_imaging.h with s_histogram.h

24 years agorenamed imaging files to histogram since that's what's inside
Brian Paul [Fri, 10 Nov 2000 18:06:14 +0000 (18:06 +0000)]
renamed imaging files to histogram since that's what's inside

24 years agorenamed to histogram
Brian Paul [Fri, 10 Nov 2000 18:05:13 +0000 (18:05 +0000)]
renamed to histogram

24 years agominor changes to silence compiler warnings
Brian Paul [Fri, 10 Nov 2000 17:45:15 +0000 (17:45 +0000)]
minor changes to silence compiler warnings

24 years agoremoved old TexImage() and TexSubImage() functions
Brian Paul [Fri, 10 Nov 2000 17:36:42 +0000 (17:36 +0000)]
removed old TexImage() and TexSubImage() functions

24 years agopatched to silence compiler warnings (Martin Lindhe)
Brian Paul [Fri, 10 Nov 2000 17:23:02 +0000 (17:23 +0000)]
patched to silence compiler warnings (Martin Lindhe)

24 years agorestored call to _mesa_select_tex_image() in _mesa_GetTexImage()
Brian Paul [Fri, 10 Nov 2000 15:32:07 +0000 (15:32 +0000)]
restored call to _mesa_select_tex_image() in _mesa_GetTexImage()

24 years agoGL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)
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)

24 years agoupdated with bug fix from 3.4 branch
Brian Paul [Thu, 9 Nov 2000 22:41:25 +0000 (22:41 +0000)]
updated with bug fix from 3.4 branch

24 years agofixed mipmap setup bug
Brian Paul [Thu, 9 Nov 2000 16:53:26 +0000 (16:53 +0000)]
fixed mipmap setup bug

24 years agofixed very obvious fog bug
Keith Whitwell [Tue, 7 Nov 2000 19:17:23 +0000 (19:17 +0000)]
fixed very obvious fog bug

24 years agoadjust x/y/zoffset parameters to fill_texture_image() by texture border width
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

24 years agotest ctx->RenderMode in chooser functions
Brian Paul [Mon, 6 Nov 2000 17:28:51 +0000 (17:28 +0000)]
test ctx->RenderMode in chooser functions

24 years agotest ctx->RenderMode in chooser functions, removed dead code
Brian Paul [Mon, 6 Nov 2000 17:28:20 +0000 (17:28 +0000)]
test ctx->RenderMode in chooser functions, removed dead code

24 years agoadded a setup function for selection/feedback
Brian Paul [Mon, 6 Nov 2000 17:08:02 +0000 (17:08 +0000)]
added a setup function for selection/feedback

24 years agoadded buffer test to xmesa_choose_point(), fixes X protocol error
Brian Paul [Mon, 6 Nov 2000 15:52:48 +0000 (15:52 +0000)]
added buffer test to xmesa_choose_point(), fixes X protocol error

24 years ago Committing in .
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

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

24 years agoremoved obsolete VB vars
Brian Paul [Sun, 5 Nov 2000 23:21:12 +0000 (23:21 +0000)]
removed obsolete VB vars

24 years agoadded swrast/s_aaline.c
Brian Paul [Sun, 5 Nov 2000 23:19:23 +0000 (23:19 +0000)]
added swrast/s_aaline.c

24 years agohooked in new AA line code, minor clean-up
Brian Paul [Sun, 5 Nov 2000 23:18:36 +0000 (23:18 +0000)]
hooked in new AA line code, minor clean-up

24 years agoNew implementation of antialiased lines. Mesa should now pass the remaining
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.

24 years ago- Changes for new software rasterizer modules
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 '_'.

24 years agoReworked to use the new software rasterizer. Optimized line/tri functions
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.

24 years agoUse the new software rasterizer. Reworked optimized line,tri,point
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.

24 years agoReorganized software rasterizer as a module which manages its own state,
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.

24 years agoA new module to provide RasterSetup and advanced triangle/line/point
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).

24 years agoLots of changes:
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.

24 years agoupdate to GL_MESA_trace extension enums
Brian Paul [Fri, 3 Nov 2000 15:14:18 +0000 (15:14 +0000)]
update to GL_MESA_trace extension enums

24 years agoMESA_trace extension (Loki)
Brian Paul [Fri, 3 Nov 2000 15:10:04 +0000 (15:10 +0000)]
MESA_trace extension (Loki)

24 years agoadded GL_MESA_packed_depth_stencil extension
Brian Paul [Fri, 3 Nov 2000 15:01:38 +0000 (15:01 +0000)]
added GL_MESA_packed_depth_stencil extension

24 years agoGL_MESA_packed_depth_stencil extension spec
Brian Paul [Fri, 3 Nov 2000 14:58:45 +0000 (14:58 +0000)]
GL_MESA_packed_depth_stencil extension spec

24 years agoadded some missing backslashes
Brian Paul [Fri, 3 Nov 2000 01:37:10 +0000 (01:37 +0000)]
added some missing backslashes

24 years agoChange transformation from ortho to perspective so we get the MGA elt
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.

24 years agoupdate for separate libOSMesa.so lib
Brian Paul [Wed, 1 Nov 2000 16:02:52 +0000 (16:02 +0000)]
update for separate libOSMesa.so lib

24 years agoprint number of texture units
Brian Paul [Wed, 1 Nov 2000 16:02:01 +0000 (16:02 +0000)]
print number of texture units

24 years ago Committing in .
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
----------------------------------------------------------------------

24 years agoAdded trivial CVA test for testing HW driver fastpaths, good for testing
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.

24 years agoAlways call Driver.SetReadBuffer() in copy pixels functions, just to be safe
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

24 years agoadded comment explaining why the demo is flawed
Brian Paul [Tue, 31 Oct 2000 20:41:06 +0000 (20:41 +0000)]
added comment explaining why the demo is flawed

24 years agoMoved the software rasterizer to a new directory.
Keith Whitwell [Tue, 31 Oct 2000 18:09:44 +0000 (18:09 +0000)]
Moved the software rasterizer to a new directory.

24 years agoMoved software rasterizer functionality to new directory.
Keith Whitwell [Tue, 31 Oct 2000 18:00:04 +0000 (18:00 +0000)]
Moved software rasterizer functionality to new directory.

24 years agoRemove dead code in FX driver.
Keith Whitwell [Tue, 31 Oct 2000 12:40:57 +0000 (12:40 +0000)]
Remove dead code in FX driver.

24 years agoremoved debug printf
Brian Paul [Tue, 31 Oct 2000 01:20:06 +0000 (01:20 +0000)]
removed debug printf

24 years agobig overhaul of the demo, works better now
Brian Paul [Mon, 30 Oct 2000 22:38:55 +0000 (22:38 +0000)]
big overhaul of the demo, works better now

24 years agoRearrange VERT_* flags to support 4 texture units.
Keith Whitwell [Mon, 30 Oct 2000 18:50:42 +0000 (18:50 +0000)]
Rearrange VERT_* flags to support 4 texture units.

24 years agoRemoved UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.
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]

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