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

Unified Diff: include/views/SkOSWindow_Unix.h

Issue 1159213002: Expand VisualBench to a real benching tool (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/visualbench.gyp ('k') | include/views/SkWindow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/views/SkOSWindow_Unix.h
diff --git a/include/views/SkOSWindow_Unix.h b/include/views/SkOSWindow_Unix.h
index 78670cde133003bccd9654bce0c6cb263266c8ee..4b7ee93d601cbfa259066bf0d8aecb0569849bbb 100644
--- a/include/views/SkOSWindow_Unix.h
+++ b/include/views/SkOSWindow_Unix.h
@@ -48,6 +48,7 @@ public:
void setFullscreen(bool) override;
void setVsync(bool) override;
+ void closeWindow() override;
protected:
// Overridden from from SkWindow:
@@ -64,7 +65,9 @@ private:
void doPaint();
void mapWindowAndWait();
- void closeWindow();
+ // Forcefully closes the window. If a graceful shutdown is desired then call the public
+ // closeWindow method
+ void internalCloseWindow();
void initWindow(int newMSAASampleCount, AttachmentInfo* info);
SkUnixWindow fUnixWindow;
« no previous file with comments | « gyp/visualbench.gyp ('k') | include/views/SkWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698