summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/swrast.h
Commit message (Collapse)AuthorAgeFilesLines
* swrast: remove prototypes for obsolete functionsBrian Paul2009-09-191-21/+0
|
* swrast: remove prototypes for obsolete functionsBrian Paul2009-09-191-33/+0
|
* mesa: remove GL_MESA_program_debug extensionBrian Paul2009-03-071-6/+0
| | | | This was never fully fleshed out and hasn't been used.
* mesa: move GLfixed type and related macros to swrast moduleBrian Paul2009-02-281-0/+6
| | | | Fixed point is only used in swrast and sw-based drivers.
* fix broken two-sided stencilBrian2007-11-301-0/+7
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-1/+1
| | | | of -I flags.
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-10/+13
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* remove SWvertex->fog field, use attrib fieldBrian2007-04-231-1/+0
|
* Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-2/+1
| | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* s/attribute/varying/Brian2006-12-211-1/+1
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-2/+1
|
* Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul2006-10-181-3/+1
| | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
* Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul2006-10-101-0/+7
| | | | debug) it's only used there.
* More GLSL code:Michal Krol2006-04-111-1/+2
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* merge from texman branchmesa_20060325Brian Paul2006-03-261-0/+4
|
* implementation of _swrast_BlitFramebuffer()Brian Paul2006-03-021-4/+4
|
* _swrast_blit_framebuffer() functionBrian Paul2006-03-011-0/+6
|
* more GLuint->GLbitfield changesBrian Paul2005-09-161-1/+1
|
* updated commentsBrian Paul2005-09-151-11/+9
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-29/+1
|
* improve comments about win[0..3] values (bug 2554)Brian Paul2005-07-261-2/+5
|
* 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.
* remove old span functions from swrast_device_driver structBrian Paul2005-06-041-176/+1
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-42/+45
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Removed _swrast_validate_pbo_access().Brian Paul2004-10-311-5/+0
| | | | In x11 driver, map/unmap PBO as needed in DrawPixels functions.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-1/+5
|
* patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)Brian Paul2004-09-241-0/+7
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-8/+8
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-1/+5
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* Fix color index mode rendering.Brian Paul2004-03-091-3/+3
| | | | Changed SWvertex's index field to GLfloat and fix a few other bits.
* changed a commentBrian Paul2003-09-171-2/+1
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Move span stuff from swrast.h to s_context.h (it's private).Brian Paul2003-02-231-151/+3
| | | | | Implemented remaining fragment program instructions. Initial changes to implement fragment program texture sampling.
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-8/+8
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* added comments about NULL mask parameter to span-write functionsBrian Paul2002-11-131-2/+8
|
* updated email addressesBrian Paul2002-10-291-2/+2
|
* doxygen comments (Klaus Niederkrueger)Brian Paul2002-10-211-13/+26
|
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-10/+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.
* multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul2002-10-041-2/+5
|
* finished up GL_EXT_stencil_two_sideBrian Paul2002-10-021-1/+5
|
* pull-in changes from DRI/Mesa-4.0.4Brian Paul2002-09-171-1/+6
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-27/+37
| | | | | | | 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-5/+18
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-21/+34
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* updated a few commentsBrian Paul2002-04-121-4/+5
|
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-6/+11
| | | | type, width, interp mask and array mask.
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-4/+5
| | | | | | | 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-1/+5
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* Still more texture/span simplification and clean-up.Brian Paul2002-01-281-34/+34
| | | | Updated comments, fixed indentation, etc.
* More span improvements. Removed _mesa_write_monocolor_span().Brian Paul2002-01-281-14/+1
| | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.