Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initial implementation of surface tile caching. | Brian | 2007-10-19 | 9 | -72/+129 |
| | | | | | | 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. | ||||
* | Tile cache functions. | Brian | 2007-10-19 | 2 | -0/+289 |
| | |||||
* | clamp/clip in put_tile(), move softpipe_init_surface_funcs() call | Brian | 2007-10-19 | 1 | -4/+21 |
| | |||||
* | remove old comment | Brian | 2007-10-18 | 1 | -5/+0 |
| | |||||
* | Alternate CopyPixels path based on get/put_tile(). | Brian | 2007-10-18 | 4 | -8/+43 |
| | | | | | | | For some drivers (like Xlib) it's not possible to treat the front/back color buffers as pipe_regions. So pipe->region_copy() won't work. Added a new state tracker field indicating if we can use regions for colorbuffer accesses. This should probably be re-considered someday... | ||||
* | fix bug in copy_rect(), use temp vars in sp_region_copy() to aid debugging | Brian | 2007-10-18 | 1 | -6/+9 |
| | |||||
* | fix off-by-one error in CopyPixels src position | Brian | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | fix upside down CopyPixels image | Brian | 2007-10-18 | 1 | -17/+25 |
| | |||||
* | fix function name | Brian | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | checkpoint: code refactoring for glCopyPixels | Brian | 2007-10-18 | 1 | -50/+123 |
| | |||||
* | start implementing glCopyPixels (stencil works) | Brian | 2007-10-18 | 1 | -0/+79 |
| | |||||
* | make read_stencil_pixels() non-static | Brian | 2007-10-18 | 2 | -5/+11 |
| | |||||
* | Change type of shader->executable field from void * to generic function pointer. | Brian | 2007-10-18 | 2 | -5/+7 |
| | | | | Fix warnings in draw_create_vertex_shader() | ||||
* | added const qualifiers | Brian | 2007-10-18 | 2 | -4/+4 |
| | |||||
* | better debug code, silence some warnings | Brian | 2007-10-18 | 1 | -6/+13 |
| | |||||
* | print vertex input mapping | Brian | 2007-10-18 | 1 | -0/+6 |
| | |||||
* | handle fogcoord/raster distance | Brian | 2007-10-18 | 1 | -4/+15 |
| | |||||
* | added st_debug.c | Brian | 2007-10-18 | 1 | -0/+1 |
| | |||||
* | debug functions | Brian | 2007-10-18 | 2 | -0/+96 |
| | |||||
* | fix logic error in stipple_quad() (point/line fragments were getting dropped) | Brian | 2007-10-18 | 1 | -3/+4 |
| | |||||
* | Corrected the file permissions in src/mesa/pipe. | Oliver McFadden | 2007-10-18 | 12 | -0/+0 |
| | |||||
* | pipe/draw/draw_context.c:47: error: 'false' undeclared (first use in this ↵ | Oliver McFadden | 2007-10-18 | 1 | -1/+1 |
| | | | | function) | ||||
* | sp_context.c:255: error: 'false' undeclared (first use in this function) | Oliver McFadden | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | fix interpolation bug in nearest-image/linear-mipmap filtering | Brian | 2007-10-17 | 1 | -1/+1 |
| | |||||
* | remove #include vf.h | Brian | 2007-10-17 | 4 | -5/+0 |
| | |||||
* | disable the NeedFlush assertion for now | Brian | 2007-10-17 | 1 | -1/+1 |
| | |||||
* | Add some FLUSH_CURRENT() calls. | Brian | 2007-10-17 | 2 | -0/+4 |
| | | | | | | | Without these we can find ourselves in _mesa_load_state_parameters() computing derived lighting/material values whhen the current material properties haven't been updated from the VBO. This may be a somewhat wide-spread problem that needs more attention... | ||||
* | Assert that there's no outstanding current state that needs to be flushed ↵ | Brian | 2007-10-17 | 1 | -0/+2 |
| | | | | | | | from the vbo in _mesa_load_state_parameters(). Several of the state parameters use current state (such as materials). Need to make sure those values are not stale. | ||||
* | formatting fix | Brian | 2007-10-17 | 1 | -1/+3 |
| | |||||
* | fix addressing error in read_stencil_pixels() | Brian | 2007-10-17 | 1 | -2/+2 |
| | |||||
* | Replace repeat_remainder() with simpler macro that just casts args to unsigned. | Brian | 2007-10-17 | 1 | -13/+6 |
| | |||||
* | reorder params to get_texel() | Brian | 2007-10-17 | 1 | -31/+32 |
| | |||||
* | implement 3D texture sampling | Brian | 2007-10-17 | 1 | -1/+111 |
| | |||||
* | When in GL_FEEDBACK mode, make sure we emit color and texcoord registers. | Brian | 2007-10-17 | 1 | -0/+5 |
| | |||||
* | generate selection hit if in selection mode and pos is not clipped | Brian | 2007-10-17 | 1 | -0/+5 |
| | |||||
* | Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer) | Brian | 2007-10-17 | 1 | -1/+5 |
| | |||||
* | Fix viewport Z scale/bias to get the right Z values from drawing the quad. | Brian | 2007-10-17 | 2 | -5/+5 |
| | |||||
* | don't crash if texture border is used (unsupported for now) | Brian | 2007-10-17 | 1 | -0/+3 |
| | |||||
* | fix square point rasterization | Brian | 2007-10-17 | 1 | -31/+43 |
| | |||||
* | lower clamp bound for UNCLAMPED_FLOAT_TO_SHORT() is -1 | Brian | 2007-10-16 | 1 | -1/+1 |
| | |||||
* | use new st_clear_accum_buffer() function | Brian | 2007-10-16 | 1 | -24/+3 |
| | |||||
* | New st_clear_accum_buffer() function (can't use pipe->clear() since it ↵ | Brian | 2007-10-16 | 2 | -6/+41 |
| | | | | | | doesn't handle negative color values) Also, remove unneeded clamping in the accum ops. | ||||
* | front/back determination was wrong | Brian | 2007-10-16 | 1 | -1/+1 |
| | |||||
* | remove debug assertion | Brian | 2007-10-16 | 1 | -1/+0 |
| | |||||
* | Update mask calculations for point drawing. | Brian | 2007-10-16 | 1 | -10/+10 |
| | |||||
* | Fix broken polygon stippling (see comments for details). | Brian | 2007-10-16 | 1 | -5/+27 |
| | |||||
* | Redefine QUAD_TOP_LEFT, TOP_RIGHT, etc. to reflect Y=0=TOP raster layout. | Brian | 2007-10-16 | 2 | -15/+16 |
| | |||||
* | fix perspective-interpolated attribs for points, liens | Brian | 2007-10-16 | 1 | -7/+43 |
| | |||||
* | fix blend term translation bug, rename some funcs | Brian | 2007-10-16 | 1 | -13/+13 |
| | |||||
* | finish remaining blend modes | Brian | 2007-10-15 | 1 | -13/+218 |
| |