summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa
AgeCommit message (Collapse)Author
2002-03-16Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
2002-03-01updated comments for CHAN_BITS=16 or 32Brian Paul
2002-01-30return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32Brian Paul
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul
2001-11-29main trunk is now 4.1Karl Schultz
2001-11-29update to version 4.0Karl Schultz
2001-09-25use correct vertex for flatshadingKeith Whitwell
2001-09-25Fix up Windows makefiles so that the debug build leaves debugger infoKarl Schultz
in the libraries. Make with NODEBUG=1 builds optimized without debug info (doc'ed in top level Makefile.win).
2001-09-23[rgba]shift values weren't always correct, only effected blended linesBrian Paul
2001-09-21Make osmesa a DLL instead of a static lib (Windows). This is moreKarl Schultz
consistent with the other modules and platforms. It also makes the API and linkage on Windows more consistent.
2001-09-18clean up makefiles some more for WindowsKarl Schultz
2001-09-18compiler warningsKarl Schultz
2001-09-18remove carriage return charsKarl Schultz
2001-09-14Win32 updates (Karl Schultz)Brian Paul
2001-09-12hook compressed texture functions into driverBrian Paul
2001-09-10fixed s/w alpha bug 458411Brian Paul
2001-08-28added OSMESA_MAX_WIDTH/HEIGHT queriesBrian Paul
2001-08-28OpenGL 1.3 supportBrian Paul
2001-07-14more work on float colors (still not finished)Brian Paul
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-07-12Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell
clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
2001-07-05fixed logic error in OSMesaMakeCurrent() for 565 pixel support (Lars Andersson)Brian Paul
2001-06-27support for RGB_565 pixels (Lars Andersson), untestedBrian Paul
2001-06-15replace 255 with CHAN_MAXBrian Paul
2001-06-14fixed a commentBrian Paul
2001-05-31fixed s/w alpha channel bugBrian Paul
2001-05-14New triangle rasterization code. Store per-span initial/step values in theBrian Paul
new triangle_span struct. Much cleaner code and possibilities for future optimizations.
2001-05-10Driver interface changesKeith Whitwell
2001-04-04More texture image changes.Brian Paul
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.
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.