X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=drv_priv.h;h=32c082d6692fbfb56ff86266aaa43f7b98abd50a;hb=041cb9f1a760c85318a27622118526dd5bffd019;hp=31ab892247cfb0063c450806bff25c7cfcbdee8a;hpb=88b0a4235a4b28be01755e1fe1e9f8c00a0c6a8f;p=android-x86%2Fexternal-minigbm.git diff --git a/drv_priv.h b/drv_priv.h index 31ab892..32c082d 100644 --- a/drv_priv.h +++ b/drv_priv.h @@ -79,6 +79,9 @@ struct backend { int (*bo_invalidate)(struct bo *bo, struct mapping *mapping); int (*bo_flush)(struct bo *bo, struct mapping *mapping); uint32_t (*resolve_format)(struct driver *drv, uint32_t format, uint64_t use_flags); + size_t (*num_planes_from_modifier)(struct driver *drv, uint32_t format, uint64_t modifier); + int (*resource_info)(struct bo *bo, uint32_t strides[DRV_MAX_PLANES], + uint32_t offsets[DRV_MAX_PLANES]); }; // clang-format off