summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_masking.c
Commit message (Collapse)AuthorAgeFilesLines
* swrast: define, use SWRAST_MAX_WIDTH/HEIGHTBrian Paul2012-02-241-1/+1
| | | | We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
* swrast: remove gl_renderbuffer::DataType assertionsBrian Paul2012-01-241-1/+0
| | | | This field will go away, so remove some uses of it.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* swrast: Remove _swrast_mask_ci_spanIan Romanick2010-03-031-31/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_mask_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* mesa: implement per-buffer color maskingBrian Paul2009-12-291-10/+10
| | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-2/+2
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-2/+2
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* New SWspanarrays attribs[] array.Brian2007-02-011-1/+1
| | | | | | | Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-2/+2
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-30/+49
|
* Change logicop, blend, masking functions to use the colors/indexes in theBrian Paul2006-09-241-9/+8
| | | | sw_span object, rather than an explicit parameter.
* Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().Brian Paul2006-09-221-65/+9
|
* Fix potential segfault when trying to read pixels outside renderbuffer bounds.Brian Paul2005-09-161-3/+5
| | | | Use _swrast_get_values() which does clipping.
* pass in the renderbufferAlan Hourihane2005-07-181-1/+1
|
* Remove last of the old span code.Brian Paul2005-06-021-8/+1
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-47/+33
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* 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
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-7/+8
| | | | | | | 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.
* Converted line drawing over to new span code, pb no longer used.Brian Paul2002-02-021-80/+1
| | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions.
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-7/+95
| | | | | 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-4/+6
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-7/+6
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-4/+4
|
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-3/+4
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+180