summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa
Commit message (Collapse)AuthorAgeFilesLines
* check return values of _swrast_CreateContext, etcBrian Paul2004-04-211-4/+9
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-1/+1
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* fix stride bug in RGB and BGR span renderingBrian Paul2004-03-141-4/+4
|
* Committing in .Jouk Jansen2004-01-231-41/+41
| | | | | | | | | | | Trying to remove the <CR> at the end of each line. Modified Files: Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2004-01-221-40/+41
| | | | | | | | | | | | Updated OpenVMS compile support Modified Files: Mesa/Makefile.X11 Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Added Files: Mesa/src/mesa/drivers/common/descrip.mms ----------------------------------------------------------------------
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-50/+13
| | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
* Move initialization of default ctx->Driver.buffer-object-functions intoBrian Paul2003-10-191-11/+0
| | | | bufferobj.c so all the drivers don't have to worry about them.
* initialize GetBufferSubData pointerBrian Paul2003-10-151-0/+1
|
* s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/Brian Paul2003-10-111-1/+1
|
* don't request accum buffer in color index modeBrian Paul2003-10-111-1/+2
|
* More SciTech SNAP specific changes to glheader.h. Also modified the macrosKendall Bennett2003-10-081-14/+14
| | | | in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
* Make binary - even though this is a text file, common practice is to store ↵Karl Schultz2003-09-191-119/+119
| | | | MS studio files as binary
* Copy the DLL files to the lib directory instead of libexec.Karl Schultz2003-09-181-2/+2
|
* GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul2003-09-171-0/+11
| | | | vertex arrays.
* added call to _mesa_enable_1_5_extensions()Brian Paul2003-09-171-0/+1
|
* Generate browse info for Debug version.Karl Schultz2003-08-301-2/+2
|
* VC 6 Project FileKarl Schultz2003-07-261-0/+119
|
* Committing in .Jouk Jansen2003-07-021-0/+2
| | | | | | | | | | | | | | | | | | | | Enable installation on OpenVMS ODS5 disks. Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2003-06-171-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
* Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, heightBrian Paul2003-04-041-2/+1
| | | | | and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
* s/gl_ctx/mesa/ and misc clean-upsBrian Paul2003-04-011-27/+33
|
* New device driver hooks for texture object and texture image creation toBrian Paul2003-04-011-2/+6
| | | | | allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
* fix GLchan=GLfloat problemsBrian Paul2003-03-041-7/+13
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-3/+2
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* casts to silence g++ warningsBrian Paul2003-02-251-2/+2
|
* Overhaul of line drawing template code. Make better use of sw_span mechanism.Brian Paul2002-11-141-204/+13
|
* Lots of clean-ups.Brian Paul2002-11-131-1512/+843
| | | | | Use new s_spantemp.h to generate all the span functions. Updated triangle functions (#define NAME, etc)
* s/BZERO/_mesa_bzero/Brian Paul2002-10-301-2/+2
|
* update versioning/extensions for OpenGL 1.4 / Mesa 5.0Brian Paul2002-10-291-3/+3
|
* wrapped a few more C library functionsBrian Paul2002-10-251-2/+2
|
* Header file clean-up:Brian Paul2002-10-241-5/+3
| | | | | | | | 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.
* patches from Gerk Huisma for float-channel renderingBrian Paul2002-10-171-7/+7
|
* context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul2002-10-141-1/+2
| | | | _mesa_swapbuffers)
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-3/+3
| | | | | | | 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.
* GLfloat/GLchan updatesBrian Paul2002-10-051-18/+22
|
* new texture compression infrastructureBrian Paul2002-09-271-5/+8
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-16/+16
| | | | | | | 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.
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-14/+6
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* CHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma)Brian Paul2002-06-301-1/+15
|
* removed extra right-parenBrian Paul2002-06-251-2/+2
|
* FRONT_AND_BACK cullingKeith Whitwell2002-06-251-1/+4
|
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-3/+3
| | | | | | | | | 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.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-8/+3
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* New _mesa_debug() function to replace fprintf() calls.Brian Paul2002-06-131-2/+5
| | | | | | | | 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)
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-16/+16
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* added OSMesaGetProcAddress()Brian Paul2002-04-041-1/+34
|
* call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer ↵Brian Paul2002-04-041-2/+7
| | | | size changes
* use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()Brian Paul2002-03-291-2/+3
|
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-6/+10
| | | | | | | 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().
* updated comments for CHAN_BITS=16 or 32Brian Paul2002-03-011-9/+7
|