summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2007-10-27Define destroy method called by softpipe's destructor.michal
2007-10-27Silence compiler warnings.michal
2007-10-27Silence compiler warnings.michal
2007-10-27Call quad stage destructors.michal
2007-10-27Remove remnants of softpipe_surface.Brian
This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
2007-10-26Re-implement GLSL texture sampler variables.Brian
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.
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25clean-up, simplify some tile code, more to comeBrian
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-24a bit more work for optimizing clears in tile cache (not enabled yet)Brian
2007-10-24get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian
(for depth texture sampling)
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Implement the conversion and do the initial execution pass.Zack Rusin
2007-10-24Initial stab at LLVM integration.Zack Rusin
2007-10-22remove unused varBrian
2007-10-22Finish unifying the surface and texture tile caches.Brian
2007-10-21Start implementing cache routines for textures.Brian
First step to consolidating surface/texture caching...
2007-10-21rename some varsBrian
2007-10-21silence warningBrian
2007-10-20Remove obsolete read/write_quad() functionsBrian
2007-10-20init sp->sbuf_cache to avoid possible segfaultBrian
2007-10-20Call softpipe_unmap_surfaces() in softpipe_flush().Brian
This fixes a DRM BO failure upon swapbuffers caused by the color buffer still being mapped. This is a bit heavy handed since we don't always need to unmap buffers when flushing. Need to pass a flag to flush() or design a new function.
2007-10-20In region_unmap(), check if region is mapped before decrementing refcount.Brian
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.