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

Unified Diff: ui/ozone/platform/dri/gbm_surface.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_device.cc ('k') | ui/ozone/platform/dri/gbm_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/gbm_surface.h
diff --git a/ui/ozone/platform/dri/gbm_surface.h b/ui/ozone/platform/dri/gbm_surface.h
index e0e3c47fa521af2bcf0bc8c92691597dc07bfd52..c549d9aa0d57f13002e43ea1c7d7f105e4dbacdf 100644
--- a/ui/ozone/platform/dri/gbm_surface.h
+++ b/ui/ozone/platform/dri/gbm_surface.h
@@ -18,7 +18,7 @@ namespace ui {
class DriBuffer;
class DriWindowDelegate;
-class GbmWrapper;
+class GbmDevice;
// Extends the GBM surfaceless functionality and adds an implicit surface for
// the primary plane. Arbitrary buffers can still be allocated and displayed as
@@ -27,7 +27,7 @@ class GbmWrapper;
class GbmSurface : public GbmSurfaceless {
public:
GbmSurface(DriWindowDelegate* window_delegate,
- const scoped_refptr<GbmWrapper>& gbm);
+ const scoped_refptr<GbmDevice>& gbm);
~GbmSurface() override;
bool Initialize();
@@ -42,7 +42,7 @@ class GbmSurface : public GbmSurfaceless {
void OnSwapBuffersCallback(const SwapCompletionCallback& callback,
gbm_bo* pending_buffer);
- scoped_refptr<GbmWrapper> gbm_;
+ scoped_refptr<GbmDevice> gbm_;
// The native GBM surface. In EGL this represents the EGLNativeWindowType.
gbm_surface* native_surface_;
« no previous file with comments | « ui/ozone/platform/dri/gbm_device.cc ('k') | ui/ozone/platform/dri/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698