Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor PBO validate/map code. | Brian | 2008-03-21 | 3 | -10/+5 |
| | | | | | | We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master. | ||||
* | add a number of PBO validate/map/unmap functions | Brian Paul | 2008-03-21 | 3 | -74/+18 |
| | | | | | Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master | ||||
* | Remove files of unsupported build systems. | José Fonseca | 2008-02-25 | 1 | -80/+0 |
| | |||||
* | Rename 'mms-config.' to 'mms.config'. | Michal Krol | 2007-10-29 | 1 | -1/+1 |
| | | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'. | ||||
* | Re-implement GLSL texture sampler variables. | Brian | 2007-10-26 | 1 | -0/+2 |
| | | | | | | | | | | 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. | ||||
* | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 4 | -52/+69 |
| | | | | Contains the normalized fragment position within a point sprite. | ||||
* | check for null swrast (pipe work-around) | Brian | 2007-08-16 | 1 | -0/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | overhaul point rasterization, no longer use s_pointtemp.h | Brian | 2007-06-29 | 1 | -192/+465 |
| | |||||
* | fix bug rendering points with fragment program (see #11330) | Brian | 2007-06-22 | 2 | -9/+18 |
| | |||||
* | Fix feedback color bug #11332. In feedback mode, produce float colors. | Brian | 2007-06-22 | 1 | -6/+1 |
| | |||||
* | fix rgba pointer bug hit on zoomed+fogged glDrawPixels | Brian | 2007-06-21 | 2 | -12/+12 |
| | |||||
* | Another round of fixing attribute interpolation for glDraw/CopyPixels. | Brian | 2007-06-21 | 3 | -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. | ||||
* | rename _swrast_update_fragment_attribs() | Brian | 2007-06-21 | 1 | -3/+4 |
| | |||||
* | fix glDrawPixels + fragment program problem | Brian | 2007-06-20 | 1 | -2/+9 |
| | |||||
* | copy wpos attrib info into zoomed span (fixes fog perspective correction ↵ | Brian | 2007-06-20 | 1 | -2/+4 |
| | | | | problem) | ||||
* | Rework _mesa_update_texture_compare_function() to only be called during | Brian | 2007-06-11 | 1 | -20/+0 |
| | | | | | | | state validation/update. Note that we're still temporarily skipping the test for an active fragment program. Need to fix shadow2D() ... | ||||
* | Replace texobj->Complete with texobj->_Complete since it's a derived field. | Brian | 2007-06-11 | 1 | -1/+1 |
| | |||||
* | Temporarily disable the calls to _mesa_update_texture_compare_function(). | Brian | 2007-06-11 | 1 | -0/+4 |
| | | | | This fixes the depth-peel regression reported by Brad King. | ||||
* | Add support for GL_ARB_fragment_program_shadow. | Ian Romanick | 2007-06-07 | 1 | -1/+2 |
| | |||||
* | Fix ARB_fp spec conformance bug WRT shadow sampling. | Ian Romanick | 2007-06-07 | 2 | -19/+17 |
| | | | | | The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode. | ||||
* | check for flat/smooth interp for generic/specular attrib | Brian | 2007-05-29 | 1 | -5/+13 |
| | |||||
* | fix logic for calling _swrast_update_deferred_texture() | Brian | 2007-05-24 | 1 | -7/+5 |
| | |||||
* | don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression) | Brian | 2007-05-22 | 1 | -0/+1 |
| | |||||
* | Overhaul/simplify SWvertex and SWspan attribute handling. | Brian | 2007-05-20 | 25 | -1976/+1102 |
| | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions. | ||||
* | Initial implementation of MESA_texture_array | Ian Romanick | 2007-05-16 | 1 | -63/+748 |
| | | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. | ||||
* | remove some unneeded code in init_machine() | Brian | 2007-05-11 | 1 | -5/+0 |
| | |||||
* | Remove unused FB_* tokens, re-indent code. | Brian | 2007-05-11 | 1 | -50/+46 |
| | |||||
* | When feeding back texcoords, don't divide by W. See bug 10913. | Brian | 2007-05-11 | 1 | -15/+3 |
| | |||||
* | changes to get DDX/DDY working again | Brian | 2007-05-02 | 2 | -0/+8 |
| | |||||
* | fix some StepX/StepY mix-ups in alpha interpolation | Brian | 2007-05-02 | 1 | -6/+6 |
| | |||||
* | only load front/back face attrib if using a shader (bug 10788) | Brian | 2007-04-28 | 1 | -2/+4 |
| | |||||
* | additional checks that attr is a texcoord | Keith Packard | 2007-04-28 | 3 | -6/+6 |
| | |||||
* | fix attribsMask (re-fixes depth peeling algorithm) | Brian | 2007-04-25 | 1 | -0/+7 |
| | |||||
* | s/DO_TEXVAR/DO_ATTRIBS/ | Brian | 2007-04-24 | 4 | -18/+18 |
| | |||||
* | get rid of an extra textured triangle function | Brian | 2007-04-24 | 1 | -6/+6 |
| | |||||
* | s/TEXTURE/ATTRIBS/ | Brian | 2007-04-24 | 2 | -11/+11 |
| | |||||
* | trim down the number of line drawing functions, special cases | Brian | 2007-04-24 | 2 | -67/+8 |
| | |||||
* | only need one CI-mode triangle function | Brian | 2007-04-24 | 1 | -29/+9 |
| |