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

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

Issue 839743003: debugger: SW rasterize the picture only when it changes (Closed) Base URL: https://skia.googlesource.com/skia.git@debugcanvas-stateless-draw-01-no-resize
Patch Set: address review comment Created 5 years, 11 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/SkCanvasWidget.cpp ('k') | debugger/QT/SkDebuggerGUI.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 #ifndef SKDEBUGGERUI_H 9 #ifndef SKDEBUGGERUI_H
10 #define SKDEBUGGERUI_H 10 #define SKDEBUGGERUI_H
11 11
12 12
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkCanvasWidget.h" 14 #include "SkCanvasWidget.h"
15 #include "SkDebugger.h" 15 #include "SkDebugger.h"
16 #include "SkGLWidget.h" 16 #include "SkGLWidget.h"
17 #include "SkListWidget.h" 17 #include "SkListWidget.h"
18 #include "SkInspectorWidget.h" 18 #include "SkInspectorWidget.h"
19 #include "SkRasterWidget.h" 19 #include "SkRasterWidget.h"
20 #include "SkDrawCommandGeometryWidget.h" 20 #include "SkDrawCommandGeometryWidget.h"
21 #include "SkSettingsWidget.h" 21 #include "SkSettingsWidget.h"
22 #include <QtCore/QSignalMapper>
22 #include <QtCore/QVariant> 23 #include <QtCore/QVariant>
23 #include <QtGui/QAction> 24 #include <QtGui/QAction>
24 #include <QtGui/QApplication> 25 #include <QtGui/QApplication>
25 #include <QtGui/QButtonGroup> 26 #include <QtGui/QButtonGroup>
26 #include <QtGui/QHBoxLayout> 27 #include <QtGui/QHBoxLayout>
27 #include <QtGui/QHeaderView> 28 #include <QtGui/QHeaderView>
28 #include <QtGui/QListView> 29 #include <QtGui/QListView>
29 #include <QtGui/QListWidget> 30 #include <QtGui/QListWidget>
30 #include <QtGui/QMainWindow> 31 #include <QtGui/QMainWindow>
31 #include <QtGui/QSplitter> 32 #include <QtGui/QSplitter>
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 */ 227 */
227 void toggleDirectory(); 228 void toggleDirectory();
228 229
229 /** 230 /**
230 Filters the list widgets command visibility based on the currently 231 Filters the list widgets command visibility based on the currently
231 active selection. 232 active selection.
232 */ 233 */
233 void toggleFilter(QString string); 234 void toggleFilter(QString string);
234 235
235 void updateHit(int newHit); 236 void updateHit(int newHit);
237
238 void updateImage();
236 private: 239 private:
237 QSplitter fCentralSplitter; 240 QSplitter fCentralSplitter;
238 QStatusBar fStatusBar; 241 QStatusBar fStatusBar;
239 QToolBar fToolBar; 242 QToolBar fToolBar;
240 243
241 QAction fActionOpen; 244 QAction fActionOpen;
242 QAction fActionBreakpoint; 245 QAction fActionBreakpoint;
243 QAction fActionToggleIndexStyle; 246 QAction fActionToggleIndexStyle;
244 QAction fActionProfile; 247 QAction fActionProfile;
245 QAction fActionCancel; 248 QAction fActionCancel;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 void run(const SkPicture* pict, 348 void run(const SkPicture* pict,
346 sk_tools::PictureRenderer* renderer, 349 sk_tools::PictureRenderer* renderer,
347 int repeats); 350 int repeats);
348 351
349 bool isPaused() const { 352 bool isPaused() const {
350 return fActionPause.isChecked(); 353 return fActionPause.isChecked();
351 } 354 }
352 }; 355 };
353 356
354 #endif // SKDEBUGGERUI_H 357 #endif // SKDEBUGGERUI_H
OLDNEW
« no previous file with comments | « debugger/QT/SkCanvasWidget.cpp ('k') | debugger/QT/SkDebuggerGUI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698