Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: tweak mipmap level selection for cube maps | Brian Paul | 2008-06-19 | 1 | -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 stack | Brian Paul | 2008-06-16 | 3 | -10/+20 |
| | | | | Fixes stack overflow on Windows. | ||||
* | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | 2008-05-14 | 2 | -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 interface | Dave Airlie | 2008-05-09 | 1 | -5/+5 |
| | |||||
* | mesa: Call RENDER_FINISH on the zero pixel case. | Xiang, Haihao | 2008-05-08 | 1 | -1/+3 |
| | |||||
* | glcore: drop outdated sources files intented for xorg | George Sapountzis | 2008-04-23 | 1 | -65/+0 |
| | |||||
* | fix multi-draw buffer regression | Brian | 2008-04-14 | 1 | -2/+1 |
| | |||||
* | Refactor PBO validate/map code. | Brian | 2008-03-21 | 3 | -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 functions | Brian | 2008-03-21 | 3 | -79/+19 |
| | | | | Helper functions for (some) drivers, including swrast. | ||||
* | mesa: The span array is only populated in single-pixel | Xiang, Haihao | 2008-03-20 | 1 | -2/+4 |
| | | | | point drawing function. | ||||
* | fix botched test for clearing color buffers (should fix depth peeling ↵ | Brian | 2008-03-09 | 1 | -3/+4 |
| | | | | regression) | ||||
* | Fix some issues with glDrawBuffer(GL_NONE), bug 14198 | Brian | 2008-01-22 | 3 | -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. | Brian | 2008-01-06 | 10 | -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() | Brian | 2008-01-05 | 1 | -5/+7 |
| | |||||
* | Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths. | Eric Anholt | 2007-12-18 | 2 | -9/+10 |
| | |||||
* | fix polygon cull regression | Brian | 2007-12-14 | 1 | -7/+3 |
| | |||||
* | fix span->facing computation and gl_FrontFacing initialization | Brian | 2007-12-04 | 2 | -6/+5 |
| | |||||
* | fix broken two-sided stencil | Brian | 2007-11-30 | 10 | -12/+48 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | joukj | 2007-11-30 | 5 | -77/+71 |
|\ | |||||
| * | improve 24-bit Z to 32-bit Z conversion | Brian | 2007-11-27 | 1 | -2/+3 |
| | | |||||
| * | Consolidate texture fetch code and use partial derivatives when possible. | Brian | 2007-11-23 | 1 | -11/+12 |
| | | |||||
| * | need to check border width in sample_linear_2d() - fixes failed assertion in ↵ | Brian | 2007-11-23 | 1 | -1/+2 |
| | | | | | | | | texwrap.c test | ||||
| * | Consolidate point size computation, clamping in get_size(). | Brian | 2007-11-22 | 1 | -36/+35 |
| | | | | | | | | | | Also, apply user-defined clamp limits to point size even when not using attentuation or program-computed size. | ||||
| * | clamp lambda to Min/MaxLod | Brian | 2007-11-20 | 1 | -3/+6 |
| | | |||||
| * | fix some texture format assertions, etc | Brian | 2007-11-19 | 1 | -23/+11 |
| | | |||||
| * | fix out-of-bounds array index (ix=-1) | Brian | 2007-11-19 | 1 | -2/+3 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-31 | 5 | -65/+75 |
|\| | |||||
| * | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 4 | -52/+69 |
| | | | | | | | | Contains the normalized fragment position within a point sprite. | ||||
| * | Replace repeat_remainder() with a simpler macro that just casts args to ↵ | Brian | 2007-10-17 | 1 | -13/+6 |
| | | | | | | | | unsigned. | ||||
* | | Update of OpenVMS makefiles for the use of "new" include file convention | Jouk | 2007-10-03 | 1 | -1/+4 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-02 | 5 | -13/+32 |
|\| | |||||
| * | tweak point rast to fix conform failure | Brian | 2007-09-27 | 1 | -4/+6 |
| | | |||||
| * | mesa: make sure the gotten value isn't greater than the | Xiang, Haihao | 2007-09-27 | 1 | -2/+5 |
| | | | | | | | | max depth buffer value on 64bit system. fix bug #12095 | ||||
| * | mesa: Always use the original mask to update stencil buffer | Xiang, Haihao | 2007-09-18 | 1 | -2/+5 |
| | | | | | | | | in stencil_and_ztest_pixels. fix #12263 | ||||
| * | fix copypixels overlap test bug (#12417) | Brian | 2007-09-14 | 1 | -2/+9 |
| | | |||||
| * | remove reference to ctx->Color.DrawBuffer | Brian | 2007-08-16 | 1 | -1/+1 |
| | | |||||
| * | fix even-sized point positioning (bug 11874) | Brian | 2007-08-07 | 1 | -4/+4 |
| | | |||||
| * | fix color interpolation for CHAN_BITS==32 | Brian | 2007-07-26 | 1 | -1/+1 |
| | | |||||
| * | don't use rgba_line() if CHAN_BITS==32 | Brian | 2007-07-26 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-07-25 | 23 | -745/+627 |
|\| | |||||
| * | Remove ctx->Point._Size and ctx->Line._Width. | Brian | 2007-07-21 | 3 | -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 code | Brian | 2007-07-11 | 1 | -50/+35 |
| | | |||||
| * | Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax. | Brian | 2007-07-08 | 1 | -3/+3 |
| | | |||||
| * | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 5 | -13/+12 |
| | | | | | | | | of -I flags. | ||||
| * | fix StepX/StepY typo | Brian | 2007-07-03 | 1 | -1/+1 |
| | | |||||
| * | use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457 | Brian | 2007-07-03 | 1 | -6/+5 |
| | | |||||
| * | simplify INIT_SPAN code | Brian | 2007-06-29 | 12 | -31/+55 |
| | | |||||
| * | s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking() | Brian | 2007-06-29 | 1 | -1/+1 |
| | | |||||
| * | Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors ↵ | Brian | 2007-06-29 | 4 | -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(). | ||||
| * | Obsolete | Brian | 2007-06-29 | 1 | -406/+0 |
| | |