summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_buffers.c
Commit message (Collapse)AuthorAgeFilesLines
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-11/+21
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+2
| | | | 1015696)
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-38/+71
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* fix typoBrian Paul2004-02-041-4/+3
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-11/+11
|
* optimized color buffer clear fallback (use mono-color span functionsBrian Paul2002-11-131-28/+11
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 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.
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-23/+10
| | | | | | | 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.
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-17/+15
| | | | | | Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-14/+74
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-9/+9
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-10/+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().
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-5/+5
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-14/+18
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-10/+8
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-2/+2
| | | | of potential problems
* fixed an assertionBrian Paul2001-02-131-2/+3
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-10/+10
| | | | | | | | | 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-5/+5
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-9/+9
| | | | | | | | | | | | into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+257