summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-05 13:45:00 +0100
committerMarek Olšák <[email protected]>2012-03-05 13:47:49 +0100
commit62f44f670bb0162e89fd4786af877f8da9ff607c (patch)
tree4c6e6a1743a19d17f5667c1a3a290802c2637298 /src/gallium/include
parent058fc6521e3bc483bc948cc90dc5ee3b08d6ec64 (diff)
Revert "gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY"
This reverts commit 0950086376b1c8b7fb89eda81ed7f2f06dee58bc. It was decided to refactor the transfer API instead of adding workarounds to address the performance issues.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index ff6c07dddd0..889fc9961f4 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -226,22 +226,6 @@ enum pipe_transfer_usage {
PIPE_TRANSFER_MAP_DIRECTLY = (1 << 2),
/**
- * The transfer should map the resource storage directly and the GPU should
- * be able to see what the CPU has written. Such a storage may stay mapped
- * while issuing draw commands which use it. The only allowed usage is
- * non-overlapping writes which are suballocated out of a big buffer.
- * The minimum allowed alignment of suballocations is 256 bytes (this is
- * a subject to change).
- * The flag is intended to be used to avoid mapping and unmapping
- * resources repeatedly when doing uploads and draws intermixed.
- *
- * The driver may return NULL if that isn't possible, and the state
- * tracker needs to cope with that and use an alternative path
- * without this flag.
- */
- PIPE_TRANSFER_MAP_PERMANENTLY = (1 << 3),
-
- /**
* Discards the memory within the mapped region.
*
* It should not be used with PIPE_TRANSFER_READ.