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

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

Issue 1780013002: Fix black screen when switching primary display without bounds change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DrmDevice check in ScreenManager::GetModesetBuffer Created 4 years, 7 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 61f00aea4902c20a780d4ecf57d926843c74a63b..2fe3b50c1c1008337a29b47b4f671caef0d12f74 100644
--- a/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
+++ b/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
@@ -30,6 +30,7 @@ class GbmBufferBase : public ScanoutBuffer {
uint32_t GetHandle() const override;
gfx::Size GetSize() const override;
uint32_t GetFramebufferPixelFormat() const override;
+ const DrmDevice* GetDrmDevice() const override;
bool RequiresGlFinish() const override;
protected:

Powered by Google App Engine
This is Rietveld 408576698