gbm: Add gbm_bo_write entry point
[mesa.git] / src / gbm / main / gbmint.h
index 0e98bdf3d8d07c21987a4b32903a416079e4b27e..8eb8671aeb2cb1105315e8b5ae67c1a9d606bc5d 100644 (file)
@@ -70,6 +70,7 @@ struct gbm_device {
                                               void *egl_dpy, void *egl_img,
                                               uint32_t width, uint32_t height,
                                               uint32_t usage);
+   int (*bo_write)(struct gbm_bo *bo, const void *buf, size_t data);
    void (*bo_destroy)(struct gbm_bo *bo);
 
    struct gbm_surface *(*surface_create)(struct gbm_device *gbm,