summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa
Commit message (Collapse)AuthorAgeFilesLines
* More texture image changes.Brian Paul2001-04-041-1/+3
| | | | | | | | | | | | 1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's internalFormat, format, type params and returns a gl_texture_format. 2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(), allocates storage and transfers the image into the desired format. 3. _mesa_transfer_teximage() now takes a gl_texture_format to describe the destination format. Any combination of input format/type and output gl_texture_format is accepted. Uses optimized _mesa_convert_- texsubimage[123]d() functions when possible. 3. DRI driver's TexImage[123]D functions should be a lot simpler now.
* silence a compiler warningBrian Paul2001-03-291-2/+2
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-51/+66
|
* do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul2001-03-081-3/+1
|
* More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul2001-03-081-24/+24
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-4/+4
|
* Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functionsBrian Paul2001-02-191-1/+6
| | | | | so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
* added ctx->Driver.ResetLineStipple, misc clean-upBrian Paul2001-02-121-17/+17
|
* fixed bytesPerValue bug in OSMesaGetDepthBuffer()Brian Paul2001-02-081-2/+5
|
* Overhaul of texture image handling.Brian Paul2001-02-061-9/+13
| | | | | | | | | | 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.
* Update implementations of Driver.Clear().Keith Whitwell2001-01-291-144/+143
|
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-1/+11
| | | | | | | | | | | | 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.
* Lots of GLchan datatype changes.Brian Paul2001-01-241-563/+645
| | | | | | | | | 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
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-9/+9
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* updated ctx->Driver functions for s/w setupBrian Paul2001-01-161-2/+4
|
* initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoopBrian Paul2001-01-121-2/+2
|
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-1/+4
| | | | | | | | | | | | | | 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.
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-021-1/+2
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Major rework of tnl moduleKeith Whitwell2000-12-261-11/+9
| | | | | | | 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.
* Modified Files:Jouk Jansen2000-11-221-19/+19
| | | | | | | | | | | | | | | | | | 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. ----------------------------------------------------------------------
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-8/+12
| | | | | | | 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.
* Minor header file changes to silence warnings.Brian Paul2000-11-171-4/+4
| | | | | Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-5/+8
| | | | | | | | | | | | | | | 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.
* removed unused set_color() and set_index() functionsBrian Paul2000-11-141-28/+6
|
* Removed Driver.Color() and Driver.Index() functions.Brian Paul2000-11-141-68/+80
| | | | | | 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.
* test ctx->RenderMode in chooser functionsBrian Paul2000-11-061-9/+20
|
* removed obsolete VB varsBrian Paul2000-11-051-5/+1
|
* Reworked to use the new software rasterizer. Optimized line/tri functionsKeith Whitwell2000-11-051-46/+116
| | | | are hooked into the software rasterizer.
* Moved the software rasterizer to a new directory.Keith Whitwell2000-10-311-15/+20
|
* Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.Brian Paul2000-10-301-16/+16
| | | | | More minor GLchan changes. Silence some compiler warnings in cva.[ch]
* more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)Brian Paul2000-10-291-1/+2
|
* removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled insteadBrian Paul2000-09-281-3/+3
|
* First batch of OpenGL SI related changes:Brian Paul2000-09-261-18/+18
| | | | | | | 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.
* added OSMesaCreateContextExt()Brian Paul2000-09-081-11/+49
|
* added GL_EXT_texture_env_combine (Holger Waechtler)Brian Paul2000-06-271-1/+2
|
* include glheader.h instead of system headersBrian Paul2000-05-261-3/+2
|
* more work on GL_ARB_texture_cube_mapBrian Paul2000-05-261-1/+2
|
* call _mesa_initialize_context()Brian Paul2000-04-221-7/+7
|
* more GL_HP_occlusion_test workBrian Paul2000-04-041-244/+27
|
* use BCOPY macro on FreeBSDBrian Paul2000-04-041-3/+9
|
* updates for separate R/G/B/A accum buffer sizesBrian Paul2000-03-311-2/+2
|
* Implemented support for the HP occlusion test extension (osmesa and X)Randy Frank2000-03-281-61/+47
|
* removed old Depth buffer pointer varBrian Paul2000-03-171-3/+5
|
* runtime selectable depth buffer depthBrian Paul2000-03-031-62/+105
|
* Added occlusion test code. Follows the HP proposed occlusion test extension.Randy Frank2000-01-151-2/+219
|
* GLcontext is now nested in OSMesaContextBrian Paul2000-01-141-57/+69
|
* updated Clear function for new mask bitsBrian Paul2000-01-061-3/+13
|
* removed old thread codeBrian Paul1999-12-171-45/+16
|
* pass new args to gl_create_framebuffer()Brian Paul1999-12-101-3/+8
|
* replaced Driver.SetBuffer() with SetDrawBuffer() and SetReadBuffer()Brian Paul1999-11-251-3/+12
|