OSDN Git Service

minigbm: stop faking the protected buffers
[android-x86/external-minigbm.git] / drv.h
diff --git a/drv.h b/drv.h
index 2b86aad..4a47b76 100644 (file)
--- a/drv.h
+++ b/drv.h
@@ -89,6 +89,7 @@ struct drv_import_fd_data {
        uint32_t width;
        uint32_t height;
        uint32_t format;
+       uint32_t tiling;
        uint64_t use_flags;
 };
 
@@ -145,6 +146,8 @@ int drv_bo_unmap(struct bo *bo, struct mapping *mapping);
 
 int drv_bo_invalidate(struct bo *bo, struct mapping *mapping);
 
+int drv_bo_flush(struct bo *bo, struct mapping *mapping);
+
 int drv_bo_flush_or_unmap(struct bo *bo, struct mapping *mapping);
 
 uint32_t drv_bo_get_width(struct bo *bo);