summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt2009-01-071-1/+1
| | | | | | | | 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 <[email protected]>
* mesa: assorted clean-ups, updated comments, etc.Brian2008-12-051-155/+137
|
* mesa: replace large macros with inline functionsBrian2008-12-051-386/+338
|
* mesa: add missing break statementsBrian Paul2008-11-281-0/+2
|
* mesa: include needed headerBrian Paul2008-10-101-0/+1
|
* mesa: pass 'mask', not NULL to renderbuffer->Put functionsBrian Paul2008-10-071-10/+10
| | | | Fixes bug 17800.
* mesa: adjust texcoords for swrast sprite points.Brian Paul2008-10-061-2/+2
| | | | Fixes glean pointSprite test w/ software rendering
* Unify ARB_depth_texture and SGIX_depth_textureIan Romanick2008-10-011-3/+3
| | | | | | | 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.
* mesa: remove unneeded s_drawpix.h headerBrian2008-09-182-36/+0
|
* mesa: fix asst path/include mistakes in prev commitsChris Rankin2008-09-181-1/+1
|
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-1847-168/+152
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: return after _mesa_problem() callsGuillaume Melquiond2008-09-131-0/+2
|
* mesa: fix float blend bugMark Anderson2008-08-201-3/+4
|
* mesa: fix a swrast state validation bugBrian Paul2008-08-131-1/+9
| | | | Fixes progs/glsl/points.c
* mesa: added comment about gl_PointCoordBrian Paul2008-08-111-0/+1
|
* added null texObj ptr check (bug 15567)Brian Paul2008-07-081-12/+16
|
* mesa: fix issues around multisample enableRoland Scheidegger2008-07-021-1/+1
| | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
* mesa: tweak mipmap level selection for cube mapsBrian Paul2008-06-191-1/+15
| | | | | | | 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.
* mesa: allocate pixel zoom arrays on heap, not stackBrian Paul2008-06-163-10/+20
| | | | Fixes stack overflow on Windows.
* Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul2008-05-142-6/+9
| | | | | | | | | | 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
* swrast/dri: switch over users of generate_mipmap to new interfaceDave Airlie2008-05-091-5/+5
|
* mesa: Call RENDER_FINISH on the zero pixel case.Xiang, Haihao2008-05-081-1/+3
|
* 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