summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa/osmesa.c
AgeCommit message (Collapse)Author
2003-03-04fix GLchan=GLfloat problemsBrian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-02-25casts to silence g++ warningsBrian Paul
2002-11-14Overhaul of line drawing template code. Make better use of sw_span mechanism.Brian Paul
2002-11-13Lots of clean-ups.Brian Paul
Use new s_spantemp.h to generate all the span functions. Updated triangle functions (#define NAME, etc)
2002-10-30s/BZERO/_mesa_bzero/Brian Paul
2002-10-29update versioning/extensions for OpenGL 1.4 / Mesa 5.0Brian Paul
2002-10-25wrapped a few more C library functionsBrian Paul
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-10-17patches from Gerk Huisma for float-channel renderingBrian Paul
2002-10-14context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul
_mesa_swapbuffers)
2002-10-11Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
2002-10-05GLfloat/GLchan updatesBrian Paul
2002-09-27new texture compression infrastructureBrian Paul
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul
data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions.
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-30CHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma)Brian Paul
2002-06-25removed extra right-parenBrian Paul
2002-06-25FRONT_AND_BACK cullingKeith Whitwell
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
2002-04-19Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
2002-04-04added OSMesaGetProcAddress()Brian Paul
2002-04-04call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer ↵Brian Paul
size changes
2002-03-29use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()Brian Paul
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-09-25use correct vertex for flatshadingKeith Whitwell
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-18compiler warningsKarl Schultz
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