X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fgbm%2Fmain%2Fgbmint.h;h=a6541d91c555dbd6f4eb4dfce0ed14826b26e17c;hp=26d18bab6bf48e7fba8f483c24769284d080fe9b;hb=2ee34bd5dcf30f202c9f37e3d986640f71b8a210;hpb=7f6209e46f8de409f182931e0ca23bb64f1a8e39 diff --git a/src/gbm/main/gbmint.h b/src/gbm/main/gbmint.h index 26d18bab6bf..a6541d91c55 100644 --- a/src/gbm/main/gbmint.h +++ b/src/gbm/main/gbmint.h @@ -79,6 +79,7 @@ struct gbm_device { int (*bo_get_planes)(struct gbm_bo *bo); union gbm_bo_handle (*bo_get_handle)(struct gbm_bo *bo, int plane); uint32_t (*bo_get_stride)(struct gbm_bo *bo, int plane); + int64_t (*bo_get_offset)(struct gbm_bo *bo, int plane); void (*bo_destroy)(struct gbm_bo *bo); struct gbm_surface *(*surface_create)(struct gbm_device *gbm,