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

Unified Diff: ui/ozone/platform/drm/gpu/gbm_surface.h

Issue 1311043016: Switch DRM platform to using a separate thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mv-drm-calls-on-thread2
Patch Set: Created 5 years, 3 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
Index: ui/ozone/platform/drm/gpu/gbm_surface.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface.h b/ui/ozone/platform/drm/gpu/gbm_surface.h
index 89d84543e551b2c4ea7cddd7de2bbe1500daefdd..880323e5855a3461fd207dc28792ffc81a2a8462 100644
--- a/ui/ozone/platform/drm/gpu/gbm_surface.h
+++ b/ui/ozone/platform/drm/gpu/gbm_surface.h
@@ -17,7 +17,6 @@ struct gbm_surface;
namespace ui {
class DrmBuffer;
-class DrmWindow;
class GbmDevice;
// Extends the GBM surfaceless functionality and adds an implicit surface for
@@ -26,7 +25,8 @@ class GbmDevice;
// surface and is updated via an EGLSurface.
class GbmSurface : public GbmSurfaceless {
public:
- GbmSurface(DrmWindow* window, const scoped_refptr<GbmDevice>& gbm);
+ GbmSurface(scoped_ptr<DrmWindowProxy> window,
+ const scoped_refptr<GbmDevice>& gbm);
~GbmSurface() override;
bool Initialize();

Powered by Google App Engine
This is Rietveld 408576698