X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=drv.h;h=4a47b7628cd763c7c4ca04d3dabd951771dc0876;hb=21d6fa9f48e5901c55fc18ffc049fc34201609e2;hp=2b86aad80ffd8c5a80538d03ef378a525fb2e5e0;hpb=70ba9a4e61e104a8179f8e8450184077998c1f7d;p=android-x86%2Fexternal-minigbm.git diff --git a/drv.h b/drv.h index 2b86aad..4a47b76 100644 --- 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);