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

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

Issue 821663003: Change DebugCanvas API to not encourage memory leaks (Closed) Base URL: https://skia.googlesource.com/skia.git@debugger-raster-black-bg
Patch Set: ..nacl 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 | « no previous file | 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
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 the listwidget, combowidget and inspectorwidget. 327 the listwidget, combowidget and inspectorwidget.
328 */ 328 */
329 void loadPicture(const SkString& fileName); 329 void loadPicture(const SkString& fileName);
330 330
331 /** 331 /**
332 Creates a picture of the current canvas. 332 Creates a picture of the current canvas.
333 */ 333 */
334 void saveToFile(const SkString& filename); 334 void saveToFile(const SkString& filename);
335 335
336 /** 336 /**
337 Populates the list widget with the vector of strings passed in. 337 Populates the list widget with the debugger draw command info.
338 */ 338 */
339 void setupListWidget(SkTArray<SkString>* commands, SkTDArray<size_t>* offset s); 339 void setupListWidget();
340 340
341 /** 341 /**
342 Populates the combo box widget with the vector of strings passed in. 342 Populates the combo box widget with with the debugger draw command info.
343 */ 343 */
344 void setupComboBox(SkTArray<SkString>* command); 344 void setupComboBox();
345 345
346 /** 346 /**
347 Fills in the overview pane with text 347 Fills in the overview pane with text
348 */ 348 */
349 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i nt numRuns); 349 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i nt numRuns);
350 350
351 /** 351 /**
352 Fills in the clip stack pane with text 352 Fills in the clip stack pane with text
353 */ 353 */
354 void setupClipStackText(); 354 void setupClipStackText();
355 355
356 /** 356 /**
357 Render the supplied picture several times tracking the time consumed 357 Render the supplied picture several times tracking the time consumed
358 by each command. 358 by each command.
359 */ 359 */
360 void run(const SkPicture* pict, 360 void run(const SkPicture* pict,
361 sk_tools::PictureRenderer* renderer, 361 sk_tools::PictureRenderer* renderer,
362 int repeats); 362 int repeats);
363 }; 363 };
364 364
365 #endif // SKDEBUGGERUI_H 365 #endif // SKDEBUGGERUI_H
OLDNEW
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698