summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2009-01-30swrast: replace macro with inline functionBrian Paul
2009-01-28mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_textureBrian Paul
Everyone should be using the newer/better ARB versions of these extensions.
2009-01-28mesa: implement texture swizzling in swrastBrian Paul
And enable GL_EXT_texture_swizzle for software drivers.
2009-01-28mesa: if texObj is NULL in fetch_texel_*(), return black.Brian Paul
2009-01-23swrast: updates for GL_NV_texture_env_combine4Brian Paul
2009-01-23Track two sets of back-face stencil stateIan Romanick
Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
2009-01-21swrast: fix redundant texture application in affine_textured_triangle().Brian Paul
This function does simple texture mapping so disable normal texture mapping before we call _swrast_write_rgba_span() so that we don't do it twice.
2009-01-20mesa: silence uninitialized var warningsBrian Paul
2009-01-07mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt
There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
2008-12-05mesa: assorted clean-ups, updated comments, etc.Brian
2008-12-05mesa: replace large macros with inline functionsBrian
2008-11-28mesa: add missing break statementsBrian Paul
2008-10-10mesa: include needed headerBrian Paul
2008-10-07mesa: pass 'mask', not NULL to renderbuffer->Put functionsBrian Paul
Fixes bug 17800.
2008-10-06mesa: adjust texcoords for swrast sprite points.Brian Paul
Fixes glean pointSprite test w/ software rendering
2008-10-01Unify ARB_depth_texture and SGIX_depth_textureIan Romanick
The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
2008-09-18mesa: remove unneeded s_drawpix.h headerBrian
2008-09-18mesa: fix asst path/include mistakes in prev commitsChris Rankin
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-09-13mesa: return after _mesa_problem() callsGuillaume Melquiond
2008-08-20mesa: fix float blend bugMark Anderson
2008-08-13mesa: fix a swrast state validation bugBrian Paul
Fixes progs/glsl/points.c
2008-08-11mesa: added comment about gl_PointCoordBrian Paul
2008-07-08added null texObj ptr check (bug 15567)Brian Paul
2008-07-02mesa: fix issues around multisample enableRoland Scheidegger
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
2008-06-19mesa: tweak mipmap level selection for cube mapsBrian Paul
This is just a hack. After we convert the 3D texcoord into a face plus 2D texcoord we need to recompute the partial derivatives and mipmap LOD. But we don't have the info to do that. Adjusting the original mipmap level by -1 seems to give somewhat better results than before though.
2008-06-16mesa: allocate pixel zoom arrays on heap, not stackBrian Paul
Fixes stack overflow on Windows.
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-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-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 driver routine.
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-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