Index: ui/ozone/platform/drm/gpu/drm_buffer.h |
diff --git a/ui/ozone/platform/drm/gpu/drm_buffer.h b/ui/ozone/platform/drm/gpu/drm_buffer.h |
index 676ed30e71dbac9d4850eb8aa82303a7e4bd7171..76027b64a35f3b0b4418cdc23d0cb9bc9fbb62e4 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_buffer.h |
+++ b/ui/ozone/platform/drm/gpu/drm_buffer.h |
@@ -32,9 +32,9 @@ class OZONE_EXPORT DrmBuffer : public ScanoutBuffer { |
// ScanoutBuffer: |
uint32_t GetFramebufferId() const override; |
+ uint32_t GetFramebufferPixelFormat() const override; |
uint32_t GetHandle() const override; |
gfx::Size GetSize() const override; |
- uint32_t GetFormat() const override; |
protected: |
~DrmBuffer() override; |
@@ -57,6 +57,9 @@ class OZONE_EXPORT DrmBuffer : public ScanoutBuffer { |
// registered with the CRTC. |
uint32_t framebuffer_ = 0; |
+ // Pixel format of |framebuffer_| |
+ uint32_t fb_pixel_format_ = 0; |
+ |
// Wrapper around the native pixel memory. |
skia::RefPtr<SkSurface> surface_; |