summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* glcore: drop outdated sources files intented for xorgGeorge Sapountzis2008-04-231-65/+0
|
* fix multi-draw buffer regressionBrian2008-04-141-2/+1
|
* Refactor PBO validate/map code.Brian2008-03-213-12/+7
| | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine.
* add a number of PBO validate/map/unmap functionsBrian2008-03-213-79/+19
| | | | Helper functions for (some) drivers, including swrast.
* mesa: The span array is only populated in single-pixelXiang, Haihao2008-03-201-2/+4
| | | | point drawing function.
* fix botched test for clearing color buffers (should fix depth peeling ↵Brian2008-03-091-3/+4
| | | | regression)
* Fix some issues with glDrawBuffer(GL_NONE), bug 14198Brian2008-01-223-7/+13
| | | | | Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
* Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian2008-01-0610-148/+104
| | | | | | | | | | | These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
* check if span length > 0 before calling _swrast_write_rgba_span()Brian2008-01-051-5/+7
|
* Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths.Eric Anholt2007-12-182-9/+10
|
* fix polygon cull regressionBrian2007-12-141-7/+3
|
* fix span->facing computation and gl_FrontFacing initializationBrian2007-12-042-6/+5
|
* fix broken two-sided stencilBrian2007-11-3010-12/+48
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-305-77/+71
|\
| * improve 24-bit Z to 32-bit Z conversionBrian2007-11-271-2/+3
| |
| * Consolidate texture fetch code and use partial derivatives when possible.Brian2007-11-231-11/+12
| |
| * need to check border width in sample_linear_2d() - fixes failed assertion in ↵Brian2007-11-231-1/+2
| | | | | | | | texwrap.c test
| * Consolidate point size computation, clamping in get_size().Brian2007-11-221-36/+35
| | | | | | | | | | Also, apply user-defined clamp limits to point size even when not using attentuation or program-computed size.
| * clamp lambda to Min/MaxLodBrian2007-11-201-3/+6
| |
| * fix some texture format assertions, etcBrian2007-11-191-23/+11
| |
| * fix out-of-bounds array index (ix=-1)Brian2007-11-191-2/+3
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-315-65/+75
|\|
| * Implement gl_PointCoord attribute for GLSL fragment shaders.Brian2007-10-244-52/+69
| | | | | | | | Contains the normalized fragment position within a point sprite.
| * Replace repeat_remainder() with a simpler macro that just casts args to ↵Brian2007-10-171-13/+6
| | | | | | | | unsigned.
* | Update of OpenVMS makefiles for the use of "new" include file conventionJouk2007-10-031-1/+4
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-025-13/+32
|\|
| * tweak point rast to fix conform failureBrian2007-09-271-4/+6
| |
| * mesa: make sure the gotten value isn't greater than theXiang, Haihao2007-09-271-2/+5
| | | | | | | | max depth buffer value on 64bit system. fix bug #12095
| * mesa: Always use the original mask to update stencil bufferXiang, Haihao2007-09-181-2/+5
| | | | | | | | in stencil_and_ztest_pixels. fix #12263
| * fix copypixels overlap test bug (#12417)Brian2007-09-141-2/+9
| |
| * remove reference to ctx->Color.DrawBufferBrian2007-08-161-1/+1
| |
| * fix even-sized point positioning (bug 11874)Brian2007-08-071-4/+4
| |
| * fix color interpolation for CHAN_BITS==32Brian2007-07-261-1/+1
| |
| * don't use rgba_line() if CHAN_BITS==32Brian2007-07-261-1/+5
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-07-2523-745/+627
|\|
| * Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-213-12/+16
| | | | | | | | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
| * clean-up of stencil codeBrian2007-07-111-50/+35
| |
| * Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.Brian2007-07-081-3/+3
| |
| * Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-045-13/+12
| | | | | | | | of -I flags.
| * fix StepX/StepY typoBrian2007-07-031-1/+1
| |
| * use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457Brian2007-07-031-6/+5
| |
| * simplify INIT_SPAN codeBrian2007-06-2912-31/+55
| |
| * s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()Brian2007-06-291-1/+1
| |
| * Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors ↵Brian2007-06-294-26/+15
| | | | | | | | | | | | | | were overwritten by interpolating attributes. Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure we don't overwrite the values in interpolate_active_attribs().
| * ObsoleteBrian2007-06-291-406/+0
| |
| * overhaul point rasterization, no longer use s_pointtemp.hBrian2007-06-291-192/+465
| |
| * fix bug rendering points with fragment program (see #11330)Brian2007-06-222-9/+18
| |
| * Fix feedback color bug #11332. In feedback mode, produce float colors.Brian2007-06-221-6/+1
| |
| * fix rgba pointer bug hit on zoomed+fogged glDrawPixelsBrian2007-06-212-12/+12
| |
| * Another round of fixing attribute interpolation for glDraw/CopyPixels.Brian2007-06-213-15/+32
| | | | | | | | | | | | | | | | | | | | Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing glRead/CopyPixels to prevent the user's colors from getting overwritten when a fragment program is active. This was happening in the DRI drivers when MaintainTexEnv program was used (the texenv fragment program was enabled when _swrast_DrawPixels was called). This still isn't an ideal solution, but fixes things for now.