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

Unified Diff: ui/ozone/platform/drm/gpu/drm_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/drm_surface.h
diff --git a/ui/ozone/platform/drm/gpu/drm_surface.h b/ui/ozone/platform/drm/gpu/drm_surface.h
index 8cb40b48d7cf24d62f6a84b893c2d1979901b131..db907cacdbc359076fee44b98672136f555775b4 100644
--- a/ui/ozone/platform/drm/gpu/drm_surface.h
+++ b/ui/ozone/platform/drm/gpu/drm_surface.h
@@ -20,12 +20,11 @@ class SkSurface;
namespace ui {
class DrmBuffer;
-class DrmWindow;
-class HardwareDisplayController;
+class DrmWindowProxy;
class OZONE_EXPORT DrmSurface : public SurfaceOzoneCanvas {
public:
- DrmSurface(DrmWindow* window);
+ DrmSurface(scoped_ptr<DrmWindowProxy> window);
~DrmSurface() override;
// SurfaceOzoneCanvas:
@@ -41,7 +40,7 @@ class OZONE_EXPORT DrmSurface : public SurfaceOzoneCanvas {
// has completed.
void OnPageFlip(gfx::SwapResult result);
- DrmWindow* window_;
+ scoped_ptr<DrmWindowProxy> window_;
// The actual buffers used for painting.
scoped_refptr<DrmBuffer> front_buffer_;

Powered by Google App Engine
This is Rietveld 408576698