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

Side by Side 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, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | debugger/QT/SkGLWidget.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SKGLWIDGET_H_ 10 #ifndef SKGLWIDGET_H_
(...skipping 29 matching lines...) Expand all
40 protected: 40 protected:
41 void initializeGL(); 41 void initializeGL();
42 void resizeGL(int w, int h); 42 void resizeGL(int w, int h);
43 void paintGL(); 43 void paintGL();
44 44
45 45
46 private: 46 private:
47 void createRenderTarget(); 47 void createRenderTarget();
48 SkAutoTUnref<const GrGLInterface> fCurIntf; 48 SkAutoTUnref<const GrGLInterface> fCurIntf;
49 SkAutoTUnref<GrContext> fCurContext; 49 SkAutoTUnref<GrContext> fCurContext;
50 SkAutoTUnref<SkGpuDevice> fGpuDevice; 50
51 SkAutoTUnref<SkCanvas> fCanvas; 51 sk_sp<SkSurface> fGpuSurface;
52 SkCanvas* fCanvas;
53
52 SkDebugger* fDebugger; 54 SkDebugger* fDebugger;
53 GrBackendRenderTargetDesc getDesc(int w, int h); 55 GrBackendRenderTargetDesc getDesc(int w, int h);
54 }; 56 };
55 57
56 #endif /* SK_SUPPORT_GPU */ 58 #endif /* SK_SUPPORT_GPU */
57 59
58 #endif /* SKGLWIDGET_H_ */ 60 #endif /* SKGLWIDGET_H_ */
OLDNEW
« 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