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

Unified Diff: ui/ozone/platform/drm/gpu/scanout_buffer.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: Fix build failure in MockScanoutBuffer (again! sorry) 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/scanout_buffer.h
diff --git a/ui/ozone/platform/drm/gpu/scanout_buffer.h b/ui/ozone/platform/drm/gpu/scanout_buffer.h
index 36bd16aafc732766ead86dae7fcf00938a780ec8..28aa42df02157ed725c5cea0bdf109871b07fffd 100644
--- a/ui/ozone/platform/drm/gpu/scanout_buffer.h
+++ b/ui/ozone/platform/drm/gpu/scanout_buffer.h
@@ -32,6 +32,9 @@ class ScanoutBuffer : public base::RefCountedThreadSafe<ScanoutBuffer> {
// Size of the buffer.
virtual gfx::Size GetSize() const = 0;
+ // Device on which the buffer was created.
+ virtual const DrmDevice* GetDrmDevice() const = 0;
+
virtual bool RequiresGlFinish() const = 0;
protected:
« no previous file with comments | « ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698