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

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

Issue 1753813002: Unbust the old debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « debugger/QT/SkDebuggerGUI.cpp ('k') | 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 17 matching lines...) Expand all
28 public: 28 public:
29 SkGLWidget(SkDebugger* debugger); 29 SkGLWidget(SkDebugger* debugger);
30 30
31 ~SkGLWidget(); 31 ~SkGLWidget();
32 32
33 void updateImage() { 33 void updateImage() {
34 this->updateGL(); 34 this->updateGL();
35 } 35 }
36 void setSampleCount(int sampleCount); 36 void setSampleCount(int sampleCount);
37 37
38 signals: 38 Q_SIGNALS:
39 void drawComplete(); 39 void drawComplete();
40 40
41 protected: 41 protected:
42 void initializeGL(); 42 void initializeGL();
43 void resizeGL(int w, int h); 43 void resizeGL(int w, int h);
44 void paintGL(); 44 void paintGL();
45 45
46 46
47 private: 47 private:
48 void createRenderTarget(); 48 void createRenderTarget();
49 SkAutoTUnref<const GrGLInterface> fCurIntf; 49 SkAutoTUnref<const GrGLInterface> fCurIntf;
50 SkAutoTUnref<GrContext> fCurContext; 50 SkAutoTUnref<GrContext> fCurContext;
51 SkAutoTUnref<SkGpuDevice> fGpuDevice; 51 SkAutoTUnref<SkGpuDevice> fGpuDevice;
52 SkAutoTUnref<SkCanvas> fCanvas; 52 SkAutoTUnref<SkCanvas> fCanvas;
53 SkDebugger* fDebugger; 53 SkDebugger* fDebugger;
54 GrBackendRenderTargetDesc getDesc(int w, int h); 54 GrBackendRenderTargetDesc getDesc(int w, int h);
55 }; 55 };
56 56
57 #endif /* SK_SUPPORT_GPU */ 57 #endif /* SK_SUPPORT_GPU */
58 58
59 #endif /* SKGLWIDGET_H_ */ 59 #endif /* SKGLWIDGET_H_ */
OLDNEW
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/QT/SkGLWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698