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

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

Issue 908993003: [Ozone-Dri] Rename DriWrapper to DrmDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udl3-pass-drm-fd
Patch Set: rebased 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 | « ui/ozone/platform/dri/dri_buffer.cc ('k') | ui/ozone/platform/dri/dri_console_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_console_buffer.h
diff --git a/ui/ozone/platform/dri/dri_console_buffer.h b/ui/ozone/platform/dri/dri_console_buffer.h
index 6a9c3ccaa82477c37762171a2a59d372b80783c0..e174955d21ccf41a6cef206215eba3280715de52 100644
--- a/ui/ozone/platform/dri/dri_console_buffer.h
+++ b/ui/ozone/platform/dri/dri_console_buffer.h
@@ -14,7 +14,7 @@ class SkCanvas;
namespace ui {
-class DriWrapper;
+class DrmDevice;
// Wrapper for the console buffer. This is the buffer that is allocated by
// default by the system and is used when no application is controlling the
@@ -22,7 +22,7 @@ class DriWrapper;
// memory into a SkSurface which can be used to draw into using Skia.
class DriConsoleBuffer {
public:
- DriConsoleBuffer(const scoped_refptr<DriWrapper>& dri, uint32_t framebuffer);
+ DriConsoleBuffer(const scoped_refptr<DrmDevice>& drm, uint32_t framebuffer);
~DriConsoleBuffer();
SkCanvas* canvas() { return surface_->getCanvas(); }
@@ -34,7 +34,7 @@ class DriConsoleBuffer {
bool Initialize();
protected:
- scoped_refptr<DriWrapper> dri_;
+ scoped_refptr<DrmDevice> drm_;
// Wrapper around the native pixel memory.
skia::RefPtr<SkSurface> surface_;
« no previous file with comments | « ui/ozone/platform/dri/dri_buffer.cc ('k') | ui/ozone/platform/dri/dri_console_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698