From aea4ed41ed9b4d0442d1090ac1f01231a9859796 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 8 Mar 2011 11:32:35 +0100 Subject: gallium: add texture barrier support to the interface and st/mesa (v2) v2: change the gallium entry point to texture_barrier. --- src/gallium/include/pipe/p_context.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/include') diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 211f99f7ce..d8de3bac0e 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -390,6 +390,11 @@ struct pipe_context { struct pipe_resource *, unsigned offset, unsigned size); + + /** + * Flush any pending framebuffer writes and invalidate texture caches. + */ + void (*texture_barrier)(struct pipe_context *); }; -- cgit v1.2.3