summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2008-06-09mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul
pixel.c is just the API-related code now.
2008-05-14Consolidate texture fetch code and use partial derivatives when possible.Brian Paul
picked from master
2008-05-14Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
2008-05-14mesa: sync up swrast/s_fragprog.c with masterBrian Paul
2008-05-09swrast/dri: switch over users of generate_mipmap to new interfaceDave Airlie
2008-05-08mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao
2008-04-25gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-04-14fix multi-draw buffer regressionBrian
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
2008-03-21add a number of PBO validate/map/unmap functionsBrian Paul
Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master
2008-03-21add a number of PBO validate/map/unmap functionsBrian
Helper functions for (some) drivers, including swrast.
2008-03-20mesa: The span array is only populated in single-pixelXiang, Haihao
point drawing function.
2008-03-09fix botched test for clearing color buffers (should fix depth peeling ↵Brian
regression)
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-01-22Fix some issues with glDrawBuffer(GL_NONE), bug 14198Brian
Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
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...
2008-01-05check if span length > 0 before calling _swrast_write_rgba_span()Brian
2007-12-18Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths.Eric Anholt
2007-12-14fix polygon cull regressionBrian
2007-12-04fix span->facing computation and gl_FrontFacing initializationBrian
2007-11-30fix broken two-sided stencilBrian
2007-11-30Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesajoukj
2007-11-27improve 24-bit Z to 32-bit Z conversionBrian
2007-11-23Consolidate texture fetch code and use partial derivatives when possible.Brian
2007-11-23need to check border width in sample_linear_2d() - fixes failed assertion in ↵Brian
texwrap.c test
2007-11-22Consolidate point size computation, clamping in get_size().Brian
Also, apply user-defined clamp limits to point size even when not using attentuation or program-computed size.
2007-11-20clamp lambda to Min/MaxLodBrian
2007-11-19fix some texture format assertions, etcBrian
2007-11-19fix out-of-bounds array index (ix=-1)Brian
2007-10-31Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-10-17Replace repeat_remainder() with a simpler macro that just casts args to ↵Brian
unsigned.
2007-10-03 Update of OpenVMS makefiles for the use of "new" include file conventionJouk
2007-10-02Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-09-27tweak point rast to fix conform failureBrian
2007-09-27mesa: make sure the gotten value isn't greater than theXiang, Haihao
max depth buffer value on 64bit system. fix bug #12095
2007-09-18mesa: Always use the original mask to update stencil bufferXiang, Haihao
in stencil_and_ztest_pixels. fix #12263
2007-09-14fix copypixels overlap test bug (#12417)Brian
2007-08-16check for null swrast (pipe work-around)Brian
2007-08-16remove reference to ctx->Color.DrawBufferBrian
2007-08-07fix even-sized point positioning (bug 11874)Brian
2007-07-26fix color interpolation for CHAN_BITS==32Brian
2007-07-26don't use rgba_line() if CHAN_BITS==32Brian
2007-07-25Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
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.