summaryrefslogtreecommitdiff
path: root/gbm.h
diff options
context:
space:
mode:
Diffstat (limited to 'gbm.h')
-rw-r--r--gbm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gbm.h b/gbm.h
index 9acfaa2..7fae11c 100644
--- a/gbm.h
+++ b/gbm.h
@@ -290,6 +290,21 @@ enum gbm_bo_flags {
* with pixel data.
*/
GBM_BO_USE_FRONT_RENDERING = (1 << 16),
+
+ /**
+ * (1 << 17) is reserved for RenderScript (deprecated in Android 12).
+ */
+
+ /**
+ * The buffer will be used as a shader storage or uniform buffer
+ * object.
+ */
+ GBM_BO_USE_GPU_DATA_BUFFER = (1 << 18),
+
+ /**
+ * The buffer will be used as a sensor direct report output.
+ */
+ GBM_BO_USE_SENSOR_DIRECT_DATA = (1 << 19),
};
int