| Index: ui/ozone/platform/dri/dri_wrapper.h
|
| diff --git a/ui/ozone/platform/dri/dri_wrapper.h b/ui/ozone/platform/dri/dri_wrapper.h
|
| index 9b94ddda1e17841dc48fb67a7787c7725acdea7f..adb828f0a24a321d4eb136087f035199a8bed539 100644
|
| --- a/ui/ozone/platform/dri/dri_wrapper.h
|
| +++ b/ui/ozone/platform/dri/dri_wrapper.h
|
| @@ -16,6 +16,8 @@
|
| typedef struct _drmEventContext drmEventContext;
|
| typedef struct _drmModeModeInfo drmModeModeInfo;
|
|
|
| +struct SkImageInfo;
|
| +
|
| namespace ui {
|
|
|
| // Wraps DRM calls into a nice interface. Used to provide different
|
| @@ -111,6 +113,16 @@ class DriWrapper {
|
|
|
| virtual void HandleEvent(drmEventContext& event);
|
|
|
| + virtual bool CreateDumbBuffer(const SkImageInfo& info,
|
| + uint32_t* handle,
|
| + uint32_t* stride,
|
| + void** pixels);
|
| +
|
| + virtual void DestroyDumbBuffer(const SkImageInfo& info,
|
| + uint32_t handle,
|
| + uint32_t stride,
|
| + void* pixels);
|
| +
|
| int get_fd() const { return fd_; }
|
|
|
| protected:
|
|
|