summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa
AgeCommit message (Collapse)Author
2001-03-29silence a compiler warningBrian Paul
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-08do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul
2001-03-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-19Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functionsBrian Paul
so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
2001-02-12added ctx->Driver.ResetLineStipple, misc clean-upBrian Paul
2001-02-08fixed bytesPerValue bug in OSMesaGetDepthBuffer()Brian Paul
2001-02-06Overhaul of texture image handling.Brian Paul
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
2001-01-29Update implementations of Driver.Clear().Keith Whitwell
2001-01-29Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell
functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
2001-01-24Lots of GLchan datatype changes.Brian Paul
Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2001-01-16updated ctx->Driver functions for s/w setupBrian Paul
2001-01-12initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoopBrian Paul
2001-01-05Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell
is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
2001-01-02Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul
Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
2000-12-26Major rework of tnl moduleKeith Whitwell
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
2000-11-22 Modified Files:Jouk Jansen
Mesa/src/Allegro/amesa.c Mesa/src/DOS/dosmesa.c Mesa/src/FX/fxdd.c Mesa/src/FX/fxdrv.h Mesa/src/FX/fxfastpath.c Mesa/src/GGI/include/ggi/mesa/ggimesa.h Mesa/src/OSmesa/osmesa.c Mesa/src/SVGA/svgamesa.c Mesa/src/Trace/tr_control.c Mesa/src/Windows/wgl.c Mesa/src/X/xmesaP.h Mesa/src/X86/3dnow.c Mesa/src/X86/katmai.c Mesa/src/X86/x86.c Removed Files: Mesa/src/mms_depend Oops,... all files containing Caps in directory name or file name were missing in my types->mtypes commit. ----------------------------------------------------------------------
2000-11-19Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul
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.
2000-11-17Minor header file changes to silence warnings.Brian Paul
Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
2000-11-16Move the transform and lighting code to two new directoriesKeith Whitwell
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.
2000-11-14removed unused set_color() and set_index() functionsBrian Paul
2000-11-14Removed Driver.Color() and Driver.Index() functions.Brian Paul
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.
2000-11-06test ctx->RenderMode in chooser functionsBrian Paul
2000-11-05removed obsolete VB varsBrian Paul
2000-11-05Reworked to use the new software rasterizer. Optimized line/tri functionsKeith Whitwell
are hooked into the software rasterizer.
2000-10-31Moved the software rasterizer to a new directory.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-29more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)Brian 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-08added OSMesaCreateContextExt()Brian Paul
2000-06-27added GL_EXT_texture_env_combine (Holger Waechtler)Brian Paul
2000-05-26include glheader.h instead of system headersBrian Paul
2000-05-26more work on GL_ARB_texture_cube_mapBrian Paul
2000-04-22call _mesa_initialize_context()Brian Paul
2000-04-04more GL_HP_occlusion_test workBrian Paul
2000-04-04use BCOPY macro on FreeBSDBrian Paul
2000-03-31updates for separate R/G/B/A accum buffer sizesBrian Paul
2000-03-28Implemented support for the HP occlusion test extension (osmesa and X)Randy Frank
2000-03-17removed old Depth buffer pointer varBrian Paul
2000-03-03runtime selectable depth buffer depthBrian Paul
2000-01-15Added occlusion test code. Follows the HP proposed occlusion test extension.Randy Frank
2000-01-14GLcontext is now nested in OSMesaContextBrian Paul
2000-01-06updated Clear function for new mask bitsBrian Paul
1999-12-17removed old thread codeBrian Paul
1999-12-10pass new args to gl_create_framebuffer()Brian Paul
1999-11-25replaced Driver.SetBuffer() with SetDrawBuffer() and SetReadBuffer()Brian Paul
1999-11-11initial changes for Mesa 3.3Brian Paul