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

Side by Side Diff: debugger/QT/SkGLWidget.h

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « bench/LightingBench.cpp ('k') | gm/beziereffects.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_
11 #define SKGLWIDGET_H_ 11 #define SKGLWIDGET_H_
12 12
13 #if SK_SUPPORT_GPU 13 #if SK_SUPPORT_GPU
14 14
15 #include <QtOpenGL/QGLWidget> 15 #include <QtOpenGL/QGLWidget>
16 #include "SkDebugCanvas.h" 16 #include "SkDebugCanvas.h"
17 #include "SkDebugger.h" 17 #include "SkDebugger.h"
18 #include "SkDevice.h"
19 #include "SkGpuDevice.h" 18 #include "SkGpuDevice.h"
20 #include "GrContext.h" 19 #include "GrContext.h"
21 #include "gl/GrGLInterface.h" 20 #include "gl/GrGLInterface.h"
22 #include "gl/GrGLUtil.h" 21 #include "gl/GrGLUtil.h"
23 #include "GrRenderTarget.h" 22 #include "GrRenderTarget.h"
24 23
25 class SkGLWidget : public QGLWidget { 24 class SkGLWidget : public QGLWidget {
26 Q_OBJECT 25 Q_OBJECT
27 26
28 public: 27 public:
(...skipping 21 matching lines...) Expand all
50 SkAutoTUnref<GrContext> fCurContext; 49 SkAutoTUnref<GrContext> fCurContext;
51 SkAutoTUnref<SkGpuDevice> fGpuDevice; 50 SkAutoTUnref<SkGpuDevice> fGpuDevice;
52 SkAutoTUnref<SkCanvas> fCanvas; 51 SkAutoTUnref<SkCanvas> fCanvas;
53 SkDebugger* fDebugger; 52 SkDebugger* fDebugger;
54 GrBackendRenderTargetDesc getDesc(int w, int h); 53 GrBackendRenderTargetDesc getDesc(int w, int h);
55 }; 54 };
56 55
57 #endif /* SK_SUPPORT_GPU */ 56 #endif /* SK_SUPPORT_GPU */
58 57
59 #endif /* SKGLWIDGET_H_ */ 58 #endif /* SKGLWIDGET_H_ */
OLDNEW
« no previous file with comments | « bench/LightingBench.cpp ('k') | gm/beziereffects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698