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

Unified Diff: ui/ozone/platform/dri/gbm_buffer_base.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/gbm_buffer.cc ('k') | ui/ozone/platform/dri/gbm_buffer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/gbm_buffer_base.h
diff --git a/ui/ozone/platform/dri/gbm_buffer_base.h b/ui/ozone/platform/dri/gbm_buffer_base.h
index 7f79f86b877865cb3ff0d5d02340c908a79b67ac..915248316489f1fae147bcc2c2195d2726e66b49 100644
--- a/ui/ozone/platform/dri/gbm_buffer_base.h
+++ b/ui/ozone/platform/dri/gbm_buffer_base.h
@@ -11,7 +11,7 @@ struct gbm_bo;
namespace ui {
-class DriWrapper;
+class DrmDevice;
// Wrapper for a GBM buffer. The base class provides common functionality
// required to prepare the buffer for scanout. It does not provide any ownership
@@ -27,11 +27,11 @@ class GbmBufferBase : public ScanoutBuffer {
gfx::Size GetSize() const override;
protected:
- GbmBufferBase(const scoped_refptr<DriWrapper>& dri, gbm_bo* bo, bool scanout);
+ GbmBufferBase(const scoped_refptr<DrmDevice>& drm, gbm_bo* bo, bool scanout);
~GbmBufferBase() override;
private:
- scoped_refptr<DriWrapper> dri_;
+ scoped_refptr<DrmDevice> drm_;
gbm_bo* bo_;
uint32_t framebuffer_;
« no previous file with comments | « ui/ozone/platform/dri/gbm_buffer.cc ('k') | ui/ozone/platform/dri/gbm_buffer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698