summaryrefslogtreecommitdiffstats
path: root/src/gbm/main
diff options
context:
space:
mode:
authorFlora Cui <[email protected]>2015-03-24 18:34:29 +0800
committerMichel Dänzer <[email protected]>2015-04-16 15:49:15 +0900
commitf78b2c432f31a18794b9f62f0a0cfb8eca256151 (patch)
tree27883c192c572c84dee11d71c0b30afdca11c964 /src/gbm/main
parent7c154bbe6080ced9607bc3f3240d2f0866018aeb (diff)
gbm: Add GBM_BO_USE_LINEAR flag
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gbm/main')
-rw-r--r--src/gbm/main/gbm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h
index 7b23c2609f9..2708e50a45c 100644
--- a/src/gbm/main/gbm.h
+++ b/src/gbm/main/gbm.h
@@ -209,6 +209,10 @@ enum gbm_bo_flags {
* with GBM_BO_USE_CURSOR. but may not work for other combinations.
*/
GBM_BO_USE_WRITE = (1 << 3),
+ /**
+ * Buffer is linear, i.e. not tiled.
+ */
+ GBM_BO_USE_LINEAR = (1 << 4),
};
int