Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-03 | util: add version of u_blit_pixels which takes a writemask | Keith Whitwell | |
Values outside the writemask are set in the destination to {0,0,0,1} | |||
2009-08-07 | util: fix incorrect assertion | Brian Paul | |
Check that the dest surface/format is renderable. | |||
2009-08-07 | util: include u_surface.h, added comment | Brian Paul | |
2009-08-07 | util: use util_same_surface() to compare surface pointers | Brian Paul | |
2009-08-05 | util: added comment/question about blit clipping | Brian Paul | |
2009-08-05 | util: added util_blit_pixels() overlap test | Brian Paul | |
A comment alluded to this. Now it's checked. | |||
2009-08-05 | util: fix util_blit_pixels() test for surface_copy() path | Brian Paul | |
For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit | |||
2009-08-05 | util: reformatting and comments | Brian Paul | |
2009-04-20 | util: don't set unused blend state | Keith Whitwell | |
Try to avoid creating multiple blend atoms. | |||
2009-04-09 | gallium: remove unneeded compressed=0 assignment | Brian Paul | |
2009-03-13 | gallium: consolidate bypass_vs and bypass_clipping flags | Keith Whitwell | |
The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords. | |||
2009-03-13 | gallium: no need to keep a copy of shader tokens in state tracker | Keith Whitwell | |
Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver... | |||
2009-03-13 | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | |
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | |||
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 | gallium: Add pipe_buffer_write/read inlines. | José Fonseca | |
Saves code, and will simplify future interface changes. | |||
2009-02-18 | util: Move p_debug.h into util module. | José Fonseca | |
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | |||
2009-01-30 | gallium: make p_winsys internal | Zack Rusin | |
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | |||
2009-01-27 | gallium: standardize api on the prefix "nr" | Zack Rusin | |
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-14 | util: Use OpenGL rasterization rules in blits and mipmap generation. | Brian Paul | |
2008-09-04 | gallium: Use pipe_buffer_* inlines as much as possible. | José Fonseca | |
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: Don't forget to get overllaping blits working again. | José Fonseca | |
2008-07-03 | gallium: Use surface_copy for 1:1 blits. | José Fonseca | |
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 | gallium: Fix whole source being used in u_blit | Jakob Bornecrantz | |
2008-06-23 | util: Blit can now copy from texture to surface | Jakob Bornecrantz | |
2008-06-14 | util: Use pf_get_size(). | Michal Krol | |
2008-05-02 | gallium: fix build after merge | Keith Whitwell | |
2008-05-02 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
2008-05-01 | gallium: Notify driver of texture updates in util_blit_pixels(). | Michel Dänzer | |
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
2008-04-29 | gallium: added some assertions to be sure the blit's surface formats are ↵ | Brian Paul | |
suitable | |||
2008-04-22 | gallium: setup an identity viewport | Brian Paul | |
This fixes broken blits. | |||
2008-04-21 | use cso fs/vs handle functions | Keith Whitwell | |
2008-04-21 | gallium: Set all state via cso_context in blit/gen_mipmap utils. | José Fonseca | |
cso_restore_* functions are implemented on top of cso_set_*, therefore they require full knowledge of the current pipe state to work correctly. Directly calling pipe's set_*_state functions will lead to undefined state. Also save and restore shaders. | |||
2008-03-27 | gallium: return pipe_shader_state from the simple shader functions | Brian | |
Allows us to fix a mem leak (tokens array). | |||
2008-03-27 | gallium: fix incorrect types for shaders | Brian | |
2008-03-20 | gallium: set fb.width/height | Brian | |
2008-03-20 | gallium: create one vertex buffer and re-use | Brian | |
2008-03-19 | gallium: explict float casts | Keith Whitwell | |
2008-03-19 | gallium: implement CSO save/restore functions for use by meta operations ↵ | Brian | |
(blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state. | |||
2008-03-18 | gallium: new pixel blit code | Brian | |
Copy rectangular region from one surface to another w/ scaling. Disables most fragment operations. |