aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_buffers.c
Commit message (Collapse)AuthorAgeFilesLines
* simplify INIT_SPAN codeBrian2007-06-291-2/+6
|
* s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()Brian2007-06-291-1/+1
|
* silence C++ warningsBrian2007-01-231-1/+4
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-12/+9
|
* rewrite clear_rgba_buffer_with_masking()Brian Paul2006-10-061-8/+27
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-2/+2
|
* Change logicop, blend, masking functions to use the colors/indexes in theBrian Paul2006-09-241-2/+2
| | | | sw_span object, rather than an explicit parameter.
* use span.arrays for color/indexes instead of a local var when doing masked ↵Brian Paul2006-09-241-20/+26
| | | | clears
* Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().Brian Paul2006-09-221-7/+19
|
* update some tests for visual bit depths to use renderbuffersBrian Paul2006-04-251-3/+4
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-161-9/+4
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992)Brian Paul2005-11-091-8/+9
|
* pass mask=NULL to write all pixels in clear_ci_buffer_with_masking()Brian Paul2005-09-161-9/+8
|
* remove unused varBrian Paul2005-09-051-1/+0
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-100/+0
|
* Just additional comments.Brian Paul2005-08-311-1/+7
|
* Remove NEW_RENDERBUFFER stuff.Brian Paul2005-07-011-1/+1
| | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
* check for NULL swrast->Driver.SetBuffer before calling itBrian Paul2005-06-211-3/+5
|
* remove old span codeBrian Paul2005-06-041-52/+26
|
* dri fb works using renderbuffers now in RGBA modeJon Smirl2005-05-081-2/+4
|
* restore call to SetBuffer() in clear_color_buffers(), only temporaryBrian Paul2005-05-061-7/+6
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-135/+235
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* 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