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

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

Issue 1426993003: Ozone: Dont hardcode format to YUV when using Overlay Composition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 4 years, 11 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
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 0539cc3d3c0df9e46a8ae001e15bdeae18e3df65..d3452a6b9fd151604a66ecea9532cf6285c3def6 100644
--- a/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
+++ b/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
@@ -23,6 +23,7 @@ class DrmDevice;
class GbmBufferBase : public ScanoutBuffer {
public:
gbm_bo* bo() const { return bo_; }
+ const scoped_refptr<DrmDevice>& drm() const { return drm_; }
// ScanoutBuffer:
uint32_t GetFramebufferId() const override;

Powered by Google App Engine
This is Rietveld 408576698