summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/intel/intel_winsys.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2014-03-08 16:22:06 +0800
committerChia-I Wu <olvaffe@gmail.com>2014-03-10 16:42:42 +0800
commit790c32ec75c1310a03aecc797fd2a2f703cda66a (patch)
treeff771aec7323b8f18b7c0003e853d4407050775b /src/gallium/winsys/intel/intel_winsys.h
parent90786613e98a4d9e5dbb733c18003c36992aba30 (diff)
ilo: remove intel_bo_get_virtual()
Make the map functions return the pointer directly.
Diffstat (limited to 'src/gallium/winsys/intel/intel_winsys.h')
-rw-r--r--src/gallium/winsys/intel/intel_winsys.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gallium/winsys/intel/intel_winsys.h b/src/gallium/winsys/intel/intel_winsys.h
index cdd47def651..d7104383f30 100644
--- a/src/gallium/winsys/intel/intel_winsys.h
+++ b/src/gallium/winsys/intel/intel_winsys.h
@@ -205,12 +205,6 @@ unsigned long
intel_bo_get_size(const struct intel_bo *bo);
/**
- * Return the pointer to the memory area of the mapped \p bo.
- */
-void *
-intel_bo_get_virtual(const struct intel_bo *bo);
-
-/**
* Map \p bo for CPU access. Recursive mapping is allowed.
*
* map() maps the backing store into CPU address space, cached. It will block
@@ -227,13 +221,13 @@ intel_bo_get_virtual(const struct intel_bo *bo);
* map_unsynchronized() is similar to map_gtt(), except that it does not
* block.
*/
-int
+void *
intel_bo_map(struct intel_bo *bo, bool write_enable);
-int
+void *
intel_bo_map_gtt(struct intel_bo *bo);
-int
+void *
intel_bo_map_unsynchronized(struct intel_bo *bo);
/**