summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
AgeCommit message (Collapse)Author
2000-11-15Replaced ctx->Point.Size with ctx->Point._SizeBrian Paul
Replaced ctx->Point.UserSize with ctx->Point.Size
2000-11-13Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell
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.
2000-11-05- Changes for new software rasterizer modulesKeith Whitwell
- 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 '_'.
2000-10-31Moved the software rasterizer to a new directory.Keith Whitwell
2000-10-30Rearrange VERT_* flags to support 4 texture units.Keith Whitwell
2000-10-30Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.Brian Paul
More minor GLchan changes. Silence some compiler warnings in cva.[ch]
2000-10-30Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell
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.
2000-10-29renamed Current.ByteColor Current.ColorBrian Paul
2000-10-28Basic work to support deep color channels:Brian Paul
Replace GLubyte with GLchan Replace 255 with CHAN_MAX
2000-10-27Implement EXT_fog_coord and EXT_secondary_color.Keith Whitwell
EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
2000-10-23Major audit of all Mesa's x86 assembly code. This round is basicallyGareth Hughes
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.
2000-10-21polygon offset changes; added Visual->MRD fieldBrian Paul
2000-10-20Changes for multitexture > 3, code clean-ups.Brian Paul
Added GLboolean ctx->Texture.MultiTextureEnabled to determine when multitexture is enabled. Eventually ctx->Texture.ReallyEnabled may become a boolean.
2000-10-09if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problemsBrian Paul
2000-09-28removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled insteadBrian Paul
2000-09-26First batch of OpenGL SI related changes:Brian Paul
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.
2000-09-26Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE.Brian Paul
Changed src/Makefile.X11 to compile Trace sources like other drivers.
2000-09-17new comments, misc clean-upBrian Paul
2000-09-15added GL_MESA_trace supportBrian Paul
2000-09-14explicitly init some texture varsBrian Paul
2000-09-12init mutexBrian Paul
2000-09-08changed gl_frame_buffer Xmax and Ymax to be exclusive boundary valuesBrian Paul
2000-09-07Removed ctx->Driver.LogicOp().Brian Paul
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.
2000-09-05added tracing facility from LokiBrian Paul
2000-08-29don't free ctx inside _mesa_initialize_context() if error, caller does that.Brian Paul
2000-08-21implemented new ImageTransferState bitmaskBrian Paul
2000-07-19initialize GenBit[STRQ] in init_texture_unit()Brian Paul
2000-07-14test for MESA_DEBUG = silent in gl_error(), misc clean-upBrian Paul
2000-06-30initialize some color table scale/bias factorsBrian Paul
2000-06-29added GL_TABLE_TOO_LARGE to gl_error()Brian Paul
2000-06-28added code to initialize shininess tablesBrian Paul
2000-06-27initialize TextureStack matricesBrian Paul
2000-06-27added aligned memory allocations (Gareth Hughes)Brian Paul
2000-06-27added GL_EXT_texture_env_combine (Holger Waechtler)Brian Paul
2000-06-27init Point.UserSizeBrian Paul
2000-05-26more work on GL_ARB_texture_cube_mapBrian Paul
2000-05-24changed allocation/initialization of API dispatch tablesBrian Paul
2000-05-23register recent GL extensions for libGL compatibilityBrian Paul
2000-05-23initial work for GL_ARB_texture_compressionBrian Paul
2000-05-22initial code for GL_ARB_texture_cube_mapBrian Paul
2000-05-18added Kevin's 32bpp Z buffer fixBrian Paul
2000-05-07Err, initial code for GL_EXT_convolution, not histogramBrian Paul
2000-05-07initial code for GL_EXT_histogram extensionBrian Paul
2000-05-04removed software alpha flag from GLvisual structBrian Paul
2000-04-22added _mesa_initialize_buffer/visual()Brian Paul
2000-04-17dynamically allocate color table data, uses less memoryBrian Paul
2000-04-12more GL_SGI_color_table extension workBrian Paul
2000-04-11initial work on GL_SGI_color_table extensionBrian Paul
2000-04-10fixed GL_PGI_misc_hints identifiersBrian Paul
2000-04-08added GL_SGI_color_matrix extensionBrian Paul