summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_screen.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-04 19:32:44 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-04 19:32:44 +0000
commit4e335a213acd535af81dd0c4b448003eb81db0cf (patch)
tree4f3f38451bc1f3b14d573d7332538df023e2aaa4 /src/gallium/drivers/i965/brw_screen.h
parent0cf432c7a180a6b847fa49c97ea1c48d90a7d5f8 (diff)
i965g: add missing is_*_referenced callbacks
Diffstat (limited to 'src/gallium/drivers/i965/brw_screen.h')
-rw-r--r--src/gallium/drivers/i965/brw_screen.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_screen.h b/src/gallium/drivers/i965/brw_screen.h
index dda516ee68..820c6a6679 100644
--- a/src/gallium/drivers/i965/brw_screen.h
+++ b/src/gallium/drivers/i965/brw_screen.h
@@ -183,4 +183,16 @@ void brw_screen_tex_surface_init( struct brw_screen *brw_screen );
void brw_screen_buffer_init(struct brw_screen *brw_screen);
+boolean brw_is_texture_referenced_by_bo( struct brw_screen *brw_screen,
+ struct pipe_texture *texture,
+ unsigned face,
+ unsigned level,
+ struct brw_winsys_buffer *bo );
+
+boolean brw_is_buffer_referenced_by_bo( struct brw_screen *brw_screen,
+ struct pipe_buffer *buffer,
+ struct brw_winsys_buffer *bo );
+
+
+
#endif /* BRW_SCREEN_H */