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

Unified Diff: ui/ozone/platform/dri/dri_buffer.h

Issue 959953002: [Ozone-Dri] Do not call AddFramebuffer with cursor buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed param Created 5 years, 10 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 | « no previous file | ui/ozone/platform/dri/dri_buffer.cc » ('j') | ui/ozone/platform/dri/dri_surface.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_buffer.h
diff --git a/ui/ozone/platform/dri/dri_buffer.h b/ui/ozone/platform/dri/dri_buffer.h
index a558ac1462edb5d9a7e16fa1df6fafad86e24ac2..666f693a4135fbbc1975eaf18444a1e5b576d7ea 100644
--- a/ui/ozone/platform/dri/dri_buffer.h
+++ b/ui/ozone/platform/dri/dri_buffer.h
@@ -24,7 +24,9 @@ class OZONE_EXPORT DriBuffer : public ScanoutBuffer {
// Allocates the backing pixels and wraps them in |surface_|. |info| is used
// to describe the buffer characteristics (size, color format).
- bool Initialize(const SkImageInfo& info);
+ // |should_register_framebuffer|is used to distinguish the buffers that are
+ // used for modesetting.
+ bool Initialize(const SkImageInfo& info, bool should_register_framebuffer);
SkCanvas* GetCanvas() const;
« no previous file with comments | « no previous file | ui/ozone/platform/dri/dri_buffer.cc » ('j') | ui/ozone/platform/dri/dri_surface.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698