diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/VisualBench/VisualBench.cpp | 2 | ||||
-rw-r--r-- | tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp | 2 | ||||
-rw-r--r-- | tools/viewer/android/Window_android.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp index 154c84b6f2..7f2e90c43f 100644 --- a/tools/VisualBench/VisualBench.cpp +++ b/tools/VisualBench/VisualBench.cpp @@ -106,7 +106,7 @@ void VisualBench::resetContext() { void VisualBench::setupContext() { int screenSamples = FLAGS_offscreen ? 0 : FLAGS_msaa; - if (!this->attach(kNativeGL_BackEndType, screenSamples, &fAttachmentInfo)) { + if (!this->attach(kNativeGL_BackEndType, screenSamples, false, &fAttachmentInfo)) { SkDebugf("Not possible to create backend.\n"); INHERITED::release(); SkFAIL("Could not create backend\n"); diff --git a/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp b/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp index 3d70be82cd..4162b8f42d 100644 --- a/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp +++ b/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp @@ -92,7 +92,7 @@ WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI) HGLRC glrc; if (nullptr == fPbufferContext) { - if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, contextType))) { + if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType))) { SkDebugf("Could not create rendering context.\n"); this->destroyGLContext(); return; diff --git a/tools/viewer/android/Window_android.h b/tools/viewer/android/Window_android.h index 6099f8983e..d41f0a54c2 100644 --- a/tools/viewer/android/Window_android.h +++ b/tools/viewer/android/Window_android.h @@ -17,12 +17,12 @@ enum { /** * Leave plenty of space between this item and the ones defined in the glue layer */ - APP_CMD_INVAL_WINDOW = 64, + APP_CMD_INVAL_WINDOW = 64, }; class Window_android : public Window { public: - Window_android() : Window() {} + Window_android() : Window() {} ~Window_android() override {} bool init(android_app* app_state); @@ -31,7 +31,7 @@ public: void setTitle(const char*) override; void show() override {} - bool attach(BackEndType attachType, int msaaSampleCount) override; + bool attach(BackEndType attachType, int msaaSampleCount, bool deepColor) override; void inval() override; void paintIfNeeded(); |