diff options
author | brianosman <brianosman@google.com> | 2016-05-05 12:24:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-05 12:24:31 -0700 |
commit | 2d1ee7936e3536e45c963db004e3b512bb415fd8 (patch) | |
tree | edefade2fbe8c19d10abae08f3a658f202bbb5c1 /tools/gpu/gl | |
parent | d215a95882485026d176a81bf58871276b21c89c (diff) |
Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel
buffer. (Only on Windows at the moment). Uses new effect to do the final
gamma adjustment
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1919993002
Review-Url: https://codereview.chromium.org/1919993002
Diffstat (limited to 'tools/gpu/gl')
-rw-r--r-- | tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |