aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views/SkOSWindow_Unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/views/SkOSWindow_Unix.h')
-rw-r--r--include/views/SkOSWindow_Unix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/views/SkOSWindow_Unix.h b/include/views/SkOSWindow_Unix.h
index 48838e764c..e1961316e4 100644
--- a/include/views/SkOSWindow_Unix.h
+++ b/include/views/SkOSWindow_Unix.h
@@ -26,6 +26,7 @@ struct SkUnixWindow {
class SkOSWindow : public SkWindow {
public:
SkOSWindow(void*);
+ SkOSWindow(void*, int width, int height);
~SkOSWindow() override;
void* getHWND() const { return (void*)fUnixWindow.fWin; }
@@ -71,7 +72,8 @@ private:
// Forcefully closes the window. If a graceful shutdown is desired then call the public
// closeWindow method
void internalCloseWindow();
- void initWindow(int newMSAASampleCount, AttachmentInfo* info);
+ void initWindow(int newMSAASampleCount, AttachmentInfo* info, int w, int h);
+ void init(int w, int h);
SkUnixWindow fUnixWindow;