diff options
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_screen.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index c249c7d63b4..101e229088b 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -60,7 +60,7 @@ struct pipe_box; struct pipe_memory_info; struct disk_cache; struct driOptionCache; - +struct u_transfer_helper; /** * Gallium screen/adapter context. Basically everything @@ -68,6 +68,12 @@ struct driOptionCache; * context. */ struct pipe_screen { + + /** + * For drivers using u_transfer_helper: + */ + struct u_transfer_helper *transfer_helper; + void (*destroy)( struct pipe_screen * ); const char *(*get_name)( struct pipe_screen * ); |