e7689303a8e4790c38cc69ae7a197712f98e8f5b |
|
24-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: set sample mask to ~0 for clear, blit and gen_mipmap The sample mask affects single-sampled rendering too (it's orthogonal to the color mask). Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
ea6f035ae90895bd4ee3247408eb179dfdf96d22 |
|
02-Aug-2012 |
Brian Paul <brianp@vmware.com> |
gallium: consolidate CSO sampler and sampler_view functions Merge the vertex/fragment versions of the cso_set/save/restore_samplers() functions. Now we pass the shader stage (PIPE_SHADER_x) to the function to indicate vertex/fragment/geometry samplers. For example: cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler); This results in quite a bit of code reduction, fewer CSO functions and support for geometry shaders. Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
46fe17930ec71be3489fbb844de2bf16d877437e |
|
29-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
cso: cso_context should install u_vbuf by itself and not st/mesa so that it's installed in the other state trackers too
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
e0773da1e897164ed7597437070e32b867734ee5 |
|
10-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: make user vertex buffers optional This couldn't be split because it would break bisecting. Summary: * r300g,r600g: stop using u_vbuf * r300g,r600g: also report that the FIXED vertex type is unsupported * u_vbuf: refactor for use in the state tracker * cso: wire up u_vbuf with cso_context * st/mesa: conditionally install u_vbuf
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
76eefcc70cc62db7d226591de3f918ff102f6de3 |
|
11-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
cso: add set_index_buffer and draw_vbo passthrough functions v2: use util_draw_init_info Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
3dd7b53178cb085a1ff3d87844fa51487f8892fc |
|
22-Feb-2012 |
José Fonseca <jfonseca@vmware.com> |
gallium/cso: Put the comment about shader in the code for future reference.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
32f833e5a58d886065309da5414a63924e61e9d9 |
|
17-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium/cso: kill off non-functional shader caching Suggested by José. We don't provide shader caching in CSO. Most of the time the api provides object semantics for shaders anyway, and the cases where it doesn't (eg mesa's internall-generated texenv programs), it will be up to the state tracker to implement their own specialized caching.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
c05fafa4a0fd93d4264c46578e23a83ecf2b481e |
|
09-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement EXT_transform_feedback and ARB_transform_feedback2
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
d5062fb3a315c46d77d5c954a3e3c14be1907d33 |
|
09-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: always save and restore vertex buffers using cso_cache
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
aac2cccccfd701ae8d7ce0813c28c64498d4a076 |
|
26-Apr-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: interface changes for multisampling add function to set sample mask, and state for alpha-to-coverage and alpha-to-one. Also make it possible to query for supported sample count with is_msaa_supported(). Use explicit resource_resolve() to resolve a resource. Note that it is illegal to bind a unresolved resource as a sampler view, must be resolved first (as per d3d10 and OGL APIs, binding unresolved resource would mean that special texture fetch functions need to be used which give explicit control over what samples to fetch, which isn't supported yet). Also change surface_fill() and surface_copy() to operate directly on resources. Blits should operate directly on resources, most often state trackers just used get_tex_surface() then did a blit. Note this also means the blit bind flags are gone, if a driver implements this functionality it is expected to handle it for all resources having depth_stencil/render_target/sampler_view bind flags (might even require it for all bind flags?). Might want to introduce quality levels for MSAA later. Might need to revisit this for hw which does instant resolve.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
3b9555094d128052bdaf9957fe9062b35f7f5392 |
|
19-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
cso: remove cso_set/save/restore_sampler_textures no longer used after all statetrackers have been converted.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
faa14818856e1e9a4ee624c2bc04d7aecabd07ab |
|
12-Mar-2010 |
Michal Krol <michal@vmware.com> |
cso: Remove set/save/restore_vertex_sampler_textures().
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
08f89988c8738029c60e89c61c9da0522bd53087 |
|
12-Mar-2010 |
Michal Krol <michal@vmware.com> |
cso: Add entry points for vertex/fragment sampler views.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
685340a53e1dcb2a888e634ee71ba24356befe69 |
|
09-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-vertexelementcso' Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c
|
227ae7b968c1351921babdbf6f052239766ffce4 |
|
24-Feb-2010 |
Michal Krol <michal@vmware.com> |
cso: Track clip state with cso context.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
51d139f03898e5e46af6363c6bba131455738cc4 |
|
18-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: use cso state handling for pipe_vertex_element state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
263406addb90ca7599ddfb210944ab0dd63b973c |
|
11-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: give pipe_stencil_ref its own cso_save/restore functions seems cleaner, and other dynamic state like viewport is handled that way too
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
1a859ecf4a4728cb321b1f68d51491cd285a3c03 |
|
09-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
90cdf0d67c1086a8fd274689aa2e1b8da3a9ebdc |
|
18-Jan-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
cso: Add set_vertex_samplers function
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
89d8577fb3036547ef0b47498cc8dc5c77f886e0 |
|
14-Dec-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: add geometry shader support to gallium
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
7a43c39d202333a74745e7724a76f36d66d8763b |
|
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
cso: Fix function prototype.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
fd4aa4f32365a5f054e7fc36b558680dcac66d1b |
|
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
cso: Add support for separate vertex sampler state.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
3a49497f102f2b64a8755d3cf65b7c0386e95aac |
|
25-Oct-2009 |
José Fonseca <jfonseca@vmware.com> |
gallium: Move enum pipe_error into p_defines.h. It's really just another define. No need for its own header.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
386102c62a3315182ffbc6319351cb883234511a |
|
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: make cso_release_all() public
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
f2c31257167f85df276322be1b8523064e8b66a9 |
|
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added cso_delete_vertex_fragment_shader() functions The state tracker now uses these functions to free shaders, rather than the pipe->delete_vs/fs-state() functions. Before, we could get in a situation where we free() a shader and happen to alloc() a new one at the same address. The cso_set_vertex/fragment_shader() function would no-op the state change since the pointers were the same. This led to problems elsewhere, of course. The new delete functions null-out the CSO's current shader pointers.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
ed187d39a6e0fd921b2a45a143d88ac4b66eee91 |
|
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
make the api consistent (all set functions return pipe_error status)
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
9fe63929011cd9c4d86ab6525555a3e53423c854 |
|
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
initial stab at error handling in cso
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
1dc5e56f3e48b629daa18c2d8631c96bda638eb6 |
|
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: provide functions to bind fs/vs handles directly
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
7d95efde0a0e13e13c59444703bc47eb13926385 |
|
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement CSO save/restore functions for use by meta operations (blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
e5b19a0f833b5a3d5ffcf50d25a620d00bd8914b |
|
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added cso_unset_*() functions If we go behind the CSO context's back and set pipe state directly we need to invalidate the CSO's 'current' pointers. This will be revisited...
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|
5d802d8c8460cecf306b130eb29ef05069173e30 |
|
09-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: add a higher-level interface which does all pipe interactions to set a given state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.h
|