OSDN Git Service

minigbm: i915: Determine tiling based on the combinations
[android-x86/external-minigbm.git] / gbm.h
diff --git a/gbm.h b/gbm.h
index 1fb338f..312b098 100644 (file)
--- a/gbm.h
+++ b/gbm.h
@@ -239,6 +239,10 @@ enum gbm_bo_flags {
     * buffer.
     */
    GBM_BO_USE_LINEAR    = (1 << 4),
+   /**
+    * The buffer will be used as a texture that will be sampled from.
+    */
+   GBM_BO_USE_TEXTURING    = (1 << 5),
 };
 
 int