Brian
c2322333b8
rename some vars
18 years ago
Brian
cae640eae6
silence warning
18 years ago
Brian
49848208cf
Remove obsolete read/write_quad() functions
18 years ago
Brian
03145d864c
init sp->sbuf_cache to avoid possible segfault
18 years ago
Brian
f9aa757187
Call softpipe_unmap_surfaces() in softpipe_flush().
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.
18 years ago
Brian
7c8b2f7ce3
In region_unmap(), check if region is mapped before decrementing refcount.
18 years ago
Brian
bb3d61551c
flush the pipe before accum ops
18 years ago
Brian
a1633c0716
unmap regions when reallocating renderbuffer storage
18 years ago
Brian
fd3876e9e3
renderbuffer tweaks in update_framebuffer_state()
18 years ago
Brian
46e2d2bb0a
use combined depth/stencil buffer when possible
18 years ago
Brian
7e83963998
Convert Z/stencil ops to use cached tiles like colors.
Also, quite a bit of re-org of the tile caches and surface mapping/unmapping.
Leave surfaces mapped between primitives now.
18 years ago
Brian
832e73bc09
added case for TGSI_OPCODE_END
18 years ago
Brian
c492725abf
get/put_tile_raw() funcs for 16/32bpp surfaces
18 years ago
Brian
d4a9d4bdef
added get/put_tile_raw() methods
18 years ago
Brian
ffd37b1fda
don't alloc region in xmesa_surface_alloc(), fixes a mem leak
18 years ago
Brian
257f0da6a2
disable debug printf
18 years ago
Brian
96b06ac557
call Driver.Flush() in _mesa_notifySwapBuffers()
18 years ago
Brian
2b2f761e2b
Initial implementation of surface tile caching.
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.
18 years ago
Brian
46c3cf1831
Tile cache functions.
18 years ago
Brian
5cf4fc5832
clamp/clip in put_tile(), move softpipe_init_surface_funcs() call
18 years ago
Brian
b57f573b99
remove old comment
18 years ago
Brian
0007cd7ba0
Alternate CopyPixels path based on get/put_tile().
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...
18 years ago
Brian
5d39f4f9fd
fix bug in copy_rect(), use temp vars in sp_region_copy() to aid debugging
18 years ago
Brian
874b6b9960
fix off-by-one error in CopyPixels src position
18 years ago
Brian
d44e515fd7
fix upside down CopyPixels image
18 years ago
Brian
68b88fab88
fix function name
18 years ago
Brian
563584a4ee
checkpoint: code refactoring for glCopyPixels
18 years ago
Brian
bdc574c5bd
start implementing glCopyPixels (stencil works)
18 years ago
Brian
8f3fb395ff
make read_stencil_pixels() non-static
18 years ago
Brian
447c93dd1b
Change type of shader->executable field from void * to generic function pointer.
Fix warnings in draw_create_vertex_shader()
18 years ago
Brian
b21f4ac15f
added const qualifiers
18 years ago
Brian
2ae9f53c9d
better debug code, silence some warnings
18 years ago
Brian
54c5262eaf
print vertex input mapping
18 years ago
Brian
5bd119f943
handle fogcoord/raster distance
18 years ago
Brian
66586762f1
added st_debug.c
18 years ago
Brian
958c92e0c7
debug functions
18 years ago
Brian
376fb1c23e
fix logic error in stipple_quad() (point/line fragments were getting dropped)
18 years ago
Oliver McFadden
a22fafbb4b
Corrected the file permissions in src/mesa/pipe.
18 years ago
Oliver McFadden
d16b844ff6
pipe/draw/draw_context.c:47: error: 'false' undeclared (first use in this function)
18 years ago
Oliver McFadden
7cd58433fa
sp_context.c:255: error: 'false' undeclared (first use in this function)
18 years ago
Brian
17c2f56dc3
fix interpolation bug in nearest-image/linear-mipmap filtering
18 years ago
Brian
f953c223df
remove #include vf.h
18 years ago
Brian
52111366cc
disable the NeedFlush assertion for now
18 years ago
Brian
49adf51eee
Add some FLUSH_CURRENT() calls.
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...
18 years ago
Brian
420c062cb6
Assert that there's no outstanding current state that needs to be flushed 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.
18 years ago
Brian
5cb0d749b0
formatting fix
18 years ago
Brian
e48ea92510
fix addressing error in read_stencil_pixels()
18 years ago
Brian
906768316d
Replace repeat_remainder() with simpler macro that just casts args to unsigned.
18 years ago
Brian
df4410a597
reorder params to get_texel()
18 years ago
Brian
3d6f9d904f
implement 3D texture sampling
18 years ago