summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_resource.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-13 14:29:09 +0800
committerChia-I Wu <[email protected]>2013-05-14 16:01:20 +0800
commit528ac68f7a5225be5d624b6eca91be11122dfa91 (patch)
tree1a8281fa77c740428fe4a2a2aa0a37f713a7c867 /src/gallium/drivers/ilo/ilo_resource.h
parent888fc7a89197972aac614fc19d1c82ed1adbb3f2 (diff)
ilo: move transfer-related functions to a new file
Resource mapping is distinct from resource allocation, and is going to get more and more complex. Move the related functions to a new file to make the separation clear.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h
index 03d31d4bcb9..87f80d5c575 100644
--- a/src/gallium/drivers/ilo/ilo_resource.h
+++ b/src/gallium/drivers/ilo/ilo_resource.h
@@ -33,7 +33,6 @@
#include "ilo_common.h"
struct ilo_screen;
-struct ilo_context;
struct winsys_handle;
/*
@@ -89,8 +88,8 @@ ilo_resource(struct pipe_resource *res)
void
ilo_init_resource_functions(struct ilo_screen *is);
-void
-ilo_init_transfer_functions(struct ilo_context *ilo);
+bool
+ilo_resource_alloc_bo(struct ilo_resource *res);
unsigned
ilo_resource_get_slice_offset(const struct ilo_resource *res,