Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-09 | st: also check for a8 texture support in bitmap code | Keith Whitwell | |
2009-03-04 | mesa: Clear cache->trans after destroying the transfer. | José Fonseca | |
2009-03-04 | gallium: Unify reference counting. | Michel Dänzer | |
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | |||
2009-02-24 | mesa/st: support l8 as well as i8 in bitmap code | Keith Whitwell | |
Also don't send the partial program fragment down to hardware -- the program will never be used in that form. | |||
2009-02-24 | gallium: Add pipe_buffer_write/read inlines. | José Fonseca | |
Saves code, and will simplify future interface changes. | |||
2009-02-19 | mesa: Free the util shaders with the gallium's FREE. | José Fonseca | |
2009-02-16 | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | |
Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c | |||
2009-02-12 | mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker | Brian Paul | |
2009-02-12 | mesa: consistantly use mesa memory-functions in gallium state tracker | Brian Paul | |
Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc. Still using CALLOC_STRUCT() at this point. | |||
2009-02-05 | gallium: No longer allow CPU mapping surfaces directly. | Michel Dänzer | |
Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails. | |||
2008-12-15 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | |
Conflicts: src/gallium/winsys/gdi/SConscript | |||
2008-12-12 | gallium: avoid mapping same vertex buffer in subsequent frames | Keith Whitwell | |
Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame. | |||
2008-11-28 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | |
Conflicts: src/gallium/auxiliary/tgsi/tgsi_sse2.c | |||
2008-11-26 | gallium: fix glBitmap color bug | Brian Paul | |
By time we get around to rendering the cached bitmap, the current color may have changed. Need to make sure we load the constant slot with the cached color. | |||
2008-11-03 | softpipe: Don't call pipe_buffer_destroy directly. | José Fonseca | |
Use pipe_buffer_reference instead. | |||
2008-09-03 | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | |
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | |||
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-07-19 | gallium: Finer grained is_format_supported. | José Fonseca | |
2008-07-03 | gallium: fix surface memleak in bitmap code | Brian Paul | |
Found w/ tunnel2.c demo. | |||
2008-06-27 | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | |
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | |||
2008-06-24 | mesa: More signed/unsigned float/integer fixes. | José Fonseca | |
2008-06-17 | gallium: need to flush bitmap cache when raster color changes | Brian Paul | |
2008-05-31 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
2008-05-27 | gallium: Always unreference bitmap cache texture before resetting the cache. | Michel Dänzer | |
Fixes assertion failure with tunnel2 demo. | |||
2008-05-20 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | |
2008-05-20 | gallium: fix shader mem leak | Brian Paul | |
2008-05-19 | gallium: remove dead code | Brian Paul | |
2008-05-19 | gallium: remove dead code | Brian Paul | |
2008-05-16 | gallium: fix glBitmap surface memleak in context tear-down | Brian Paul | |
2008-05-08 | gallium: remove dead code | Brian Paul | |
2008-05-08 | gallium: no-op st_Bitmap() if width or height is zero | Brian Paul | |
2008-05-02 | gallium: Add texture usage flags, special-case allocation of display targets | Keith Whitwell | |
For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also. | |||
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
2008-04-30 | gallium: use the newer PIPE_FORMAT_x_UNORM format names | Brian Paul | |
2008-04-30 | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | |
This allows us to remove most of the direct references to winsys in the state tracker. | |||
2008-04-30 | gallium: consolidate the bitmap->texel conversion code | Brian Paul | |
2008-04-30 | gallium: create a new texture each time we init/flush the bitmap cache | Brian Paul | |
2008-04-30 | gallium: simplify texture format selection | Brian Paul | |
2008-04-29 | gallium: flush pipe before updating bitmap texture | Brian Paul | |
Fixes duplicated text bug in progs/tests/texwrap.c | |||
2008-04-25 | gallium: remove unneeded st->bitmap_texcoord_bias | Brian Paul | |
2008-04-24 | gallium: disable the bitmap/texcoord bias | Brian Paul | |
Doesn't seem to be needed after fixing the float->int conversion problem. | |||
2008-04-24 | gallium: use cso_destroy_vertex/fragment_shader() functions | Brian Paul | |
Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down. | |||
2008-04-22 | gallium: fix some bitmap frag shader issues | Brian Paul | |
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc. | |||
2008-04-22 | gallium: How about restoring shaders instead of saving them again... | Michel Dänzer | |
2008-04-21 | use cso fs/vs handle functions | Keith Whitwell | |
2008-04-21 | gallium: Use CSO cache for shaders. | Michel Dänzer | |
2008-04-07 | gallium: check ctx->DrawBuffer before flushing bitmap cache. | Brian Paul | |
During context unbind, we may not have a draw buffer. This fixes demos/tunnel2.c | |||
2008-04-04 | gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders | Brian Paul | |
Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders. | |||
2008-04-03 | gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places | Brian | |
2008-03-31 | gallium: used inverted bitmap texture to simplify the fragment shader. | Brian | |
"Off" bits get stored as texel=0xff and "on" bits get stored as texel=0x0. Then use KIL -tmp to kill the off bits and keep the on bits. This shortens the fragment program by two instructions. |