summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2007-10-20Convert Z/stencil ops to use cached tiles like colors.Brian
Also, quite a bit of re-org of the tile caches and surface mapping/unmapping. Leave surfaces mapped between primitives now.
2007-10-19get/put_tile_raw() funcs for 16/32bpp surfacesBrian
2007-10-19disable debug printfBrian
2007-10-19Initial implementation of surface tile caching.Brian
Instead of using read/write_quad() functions, do framebuffer accesses via get/put_tile(). A cache of tiles is used to avoid frequent get/put() calls. Only implemented for color buffers right now.
2007-10-19Tile cache functions.Brian
2007-10-18remove old commentBrian
2007-10-18fix bug in copy_rect(), use temp vars in sp_region_copy() to aid debuggingBrian
2007-10-18fix logic error in stipple_quad() (point/line fragments were getting dropped)Brian
2007-10-18Corrected the file permissions in src/mesa/pipe.Oliver McFadden
2007-10-18sp_context.c:255: error: 'false' undeclared (first use in this function)Oliver McFadden
2007-10-17fix interpolation bug in nearest-image/linear-mipmap filteringBrian
2007-10-17Replace repeat_remainder() with simpler macro that just casts args to unsigned.Brian
2007-10-17reorder params to get_texel()Brian
2007-10-17implement 3D texture samplingBrian
2007-10-17don't crash if texture border is used (unsupported for now)Brian
2007-10-17fix square point rasterizationBrian
2007-10-16lower clamp bound for UNCLAMPED_FLOAT_TO_SHORT() is -1Brian
2007-10-16Update mask calculations for point drawing.Brian
2007-10-16Fix broken polygon stippling (see comments for details).Brian
2007-10-16Redefine QUAD_TOP_LEFT, TOP_RIGHT, etc. to reflect Y=0=TOP raster layout.Brian
2007-10-16fix perspective-interpolated attribs for points, liensBrian
2007-10-15finish remaining blend modesBrian
2007-10-15implement logicopBrian
2007-10-15add 'normalized_coords' field to pipe_sampler_stateBrian
This controls whether texcoords are interpreted as-is or scaled up from [0,1]. Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two. Also, cleans up the CSO sampler state for i915 a bit.
2007-10-1416-bit RGBA surface format for accum buffersBrian
2007-10-13inequality tests were backwardBrian
2007-10-13Check texture format in get_texel() to handle depth textures.Brian
2007-10-13added z16/z32_git_tile(), change s8z24_get_tile() to return Z as float, ↵Brian
ignore stencil
2007-10-10minor optimization for color/z resultsBrian
2007-10-10disable some assertions which pop up during window resize, but can be ↵Brian
ignored for now
2007-10-10fix softpipe_clear() to handle ps->offset!=0 (such as when rendering to ↵Brian
texture and level!=0)
2007-10-10free/unreference pipe_surface in get_texel()Brian
2007-10-10use pipe_region_reference() in softpipe_get_tex_surface() to fix refcount errorBrian
2007-10-09Pack fragment program outputs to be consistant with vertex programs.Brian
Previously, output[0] was always Z and output[1] was color. Now output[0] will be color if Z is not written. In shade_quad() use the semantic info to determine which quantity is in which output slot.
2007-10-03Add outputs_written bitfield to pipe_shader_state, use it to determine if ↵Brian
fragment shader writes Z.
2007-10-03Move XSTDCALL definition to p_compiler.hBrian
2007-10-03handle frag progs that write ZBrian
2007-10-03added s8z24_get_tile()Brian
2007-10-03Track fragment and vertex shader code generation via pipe shader state objects.Michel Dänzer
Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask.
2007-10-03In vertex shaders also expect the template to be stack allocatedZack Rusin
structure so allocate a private copy of it.
2007-10-03Make softpipe behave more like a real driver by always allocating somethingZack Rusin
in the state functions.
2007-10-02Implement/use fragment kill resultsBrian
2007-10-02Move tgsi machine state init/allocations so they're done less frequently.Brian
This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so.
2007-10-01fix a few vert/frag program items to get i915 driver going againBrian
2007-09-28Use texture->first_level, not 0, when not mipmapping.Brian
Fixes crash when GL_BASE_LEVEL!=0. Also, remove old assertion.
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-28Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-27reduced debugkeithw
2007-09-27Enable codegen based whenever __i386__ is defined.Keith Whitwell