Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: ui/ozone/platform/drm/gpu/gbm_buffer_base.h

Issue 1314553002: Move Format checks to HardwareDisplayPlane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review fixes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_buffer.cc ('k') | ui/ozone/platform/drm/gpu/gbm_buffer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/gbm_buffer_base.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer_base.h b/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
index 9f7f6d51b0dd1404ba77268ce29dd86fe156595f..1690940a252bb6c43ddb6372ed8c974157ac1d65 100644
--- a/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
+++ b/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
@@ -25,7 +25,7 @@ class GbmBufferBase : public ScanoutBuffer {
uint32_t GetFramebufferId() const override;
uint32_t GetHandle() const override;
gfx::Size GetSize() const override;
- uint32_t GetFormat() const override;
+ uint32_t GetFramebufferPixelFormat() const override;
protected:
GbmBufferBase(const scoped_refptr<DrmDevice>& drm, gbm_bo* bo, bool scanout);
@@ -35,6 +35,7 @@ class GbmBufferBase : public ScanoutBuffer {
scoped_refptr<DrmDevice> drm_;
gbm_bo* bo_;
uint32_t framebuffer_ = 0;
+ uint32_t fb_pixel_format_ = 0;
DISALLOW_COPY_AND_ASSIGN(GbmBufferBase);
};
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_buffer.cc ('k') | ui/ozone/platform/drm/gpu/gbm_buffer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698