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

Unified Diff: debugger/QT/SkGLWidget.h

Issue 2198433003: Remove some ancillary users of SkSurface::MakeRenderTargetDirect (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | debugger/QT/SkGLWidget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkGLWidget.h
diff --git a/debugger/QT/SkGLWidget.h b/debugger/QT/SkGLWidget.h
index bb00857cd430fb76c4d37c7ab543d2547e8b51f0..465e0997ed803e95a18b5d42967e2f8eac9c831b 100644
--- a/debugger/QT/SkGLWidget.h
+++ b/debugger/QT/SkGLWidget.h
@@ -47,8 +47,10 @@ private:
void createRenderTarget();
SkAutoTUnref<const GrGLInterface> fCurIntf;
SkAutoTUnref<GrContext> fCurContext;
- SkAutoTUnref<SkGpuDevice> fGpuDevice;
- SkAutoTUnref<SkCanvas> fCanvas;
+
+ sk_sp<SkSurface> fGpuSurface;
+ SkCanvas* fCanvas;
+
SkDebugger* fDebugger;
GrBackendRenderTargetDesc getDesc(int w, int h);
};
« no previous file with comments | « no previous file | debugger/QT/SkGLWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698