History log of /external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fb523cb6ad3ffef22ab4b9cce9e53859c17c5739 16-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium: merge PIPE_SWIZZLE_* and UTIL_FORMAT_SWIZZLE_*

Use PIPE_SWIZZLE_* everywhere.
Use X/Y/Z/W/0/1 instead of RED, GREEN, BLUE, ALPHA, ZERO, ONE.
The new enum is called pipe_swizzle.

Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
b56b853ab3937d6144597f490bb38e2532d0cee2 18-Mar-2016 Brian Paul <brianp@vmware.com> gallium/tests: declare sampler views in shaders

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
c32114460dbb7f33885c181a0d7dee07b15b8751 03-Feb-2014 Marek Olšák <marek.olsak@amd.com> gallium: remove PIPE_USAGE_STATIC

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
a3ed98f7aa85636579a5696bf036ec13e5c9104a 08-Oct-2013 Brian Paul <brianp@vmware.com> gallium: new, unified pipe_context::set_sampler_views() function

The new function replaces four old functions: set_fragment/vertex/
geometry/compute_sampler_views().

Note: at this time, it's expected that the 'start' parameter will
always be zero.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
a5350a9f3efc0cf45ecb27cba8deedf9488f073b 12-Sep-2013 Brian Paul <brianp@vmware.com> gallium/tests: use pipe_context::bind_sampler_states()
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
598cc1f74d7ae924e84dee801b456ab7b0b22f84 21-Dec-2012 Marek Olšák <maraeo@gmail.com> gallium: extend pipe_context::flush for it to accept an END_OF_FRAME flag

Usage with pipe_context:
pipe->flush(pipe, NULL, PIPE_FLUSH_END_OF_FRAME);

Usage with st_context_iface:
st->flush(st, ST_FLUSH_END_OF_FRAME, NULL);

The flag is only a hint for drivers. Radeon will use it for buffer eviction
heuristics in the kernel (e.g. for queries like how many frames have passed
since a buffer was used).

The flag is currently only generated by st/dri on SwapBuffers.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
e73bf3b805de78299f1a652668ba4e6eab9bac94 29-Mar-2012 Marek Olšák <maraeo@gmail.com> gallium: add start_slot parameter to set_vertex_buffers

This allows updating only a subrange of buffer bindings.

set_vertex_buffers(pipe, start_slot, count, NULL) unbinds buffers in that
range. Binding NULL resources unbinds buffers too (both buffer and user_buffer
must be NULL).

The meta ops are adapted to only save, change, and restore the single slot
they use. The cso_context can save and restore only one vertex buffer slot.
The clients can query which one it is using cso_get_aux_vertex_buffer_slot.
It's currently set to 0. (the Draw module breaks if it's set to non-zero)

It should decrease the CPU overhead when using a lot of meta ops, but
the drivers must be able to treat each vertex buffer slot as a separate
state (only r600g does so at the moment).

I can imagine this also being useful for optimizing some OpenGL use cases.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
91332e455a530b86f897874919da29efa563fdf3 26-Oct-2012 José Fonseca <jfonseca@vmware.com> graw: Ensure new members are zeroed.

Several new state members were added, and they were not being zeroed,
causing random crashes.
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
1a840cc5925f52079916feb2c456816a7a91d627 12-May-2012 Marek Olšák <maraeo@gmail.com> gallium/graw: stop using user_buffer_create

This is compile-tested.
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c
d35d3d612acef1612aaab9a923b8814d4dbb4d9c 22-Feb-2012 José Fonseca <jfonseca@vmware.com> tests/graw: Add a bunch of tests.

These were rotting in an internal branch, but contain nothing confidential,
and would be much more useful if kept up-to-date with latest gallium
interface changes.

Several authors including Keith Whitwell, Zack Rusin, and Brian Paul.
/external/mesa3d/src/gallium/tests/graw/tex-swizzle.c