History log of /external/mesa3d/src/gallium/tests/graw/occlusion-query.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
43e4b3e311df3bede930229380a7aa389ac7019a 27-Jun-2014 Ilia Mirkin <imirkin@alum.mit.edu> gallium: add an index argument to create_query

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/tests/graw/occlusion-query.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/occlusion-query.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/occlusion-query.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/occlusion-query.c
2532f0d063d8326c1ba6fdb3394bb355326c4190 26-Oct-2012 José Fonseca <jfonseca@vmware.com> tests/graw: Update occlusion query example.
/external/mesa3d/src/gallium/tests/graw/occlusion-query.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/occlusion-query.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/occlusion-query.c