summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_resource.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-07-24 11:10:48 +0800
committerChia-I Wu <[email protected]>2014-07-24 13:21:35 +0800
commitcbc943c43ec5ce5ba625b2833bf7f911e798254e (patch)
tree35d87836f02287a365172dbfeaff59533dcc5c3f /src/gallium/drivers/ilo/ilo_resource.h
parentcf8c9947a844c570eb420eefc3a0ab2bef82dc96 (diff)
ilo: clean up resource bo renaming
s/alloc_bo/rename_bo/ as that is what the functions do. Simplify bo allocation and move the complexity to bo renaming.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h
index 81563da7a2b..5af9cc1b440 100644
--- a/src/gallium/drivers/ilo/ilo_resource.h
+++ b/src/gallium/drivers/ilo/ilo_resource.h
@@ -155,10 +155,10 @@ void
ilo_init_resource_functions(struct ilo_screen *is);
bool
-ilo_buffer_alloc_bo(struct ilo_buffer *buf);
+ilo_buffer_rename_bo(struct ilo_buffer *buf);
bool
-ilo_texture_alloc_bo(struct ilo_texture *tex);
+ilo_texture_rename_bo(struct ilo_texture *tex);
static inline struct ilo_texture_slice *
ilo_texture_get_slice(const struct ilo_texture *tex,