When performing offscreen rendering on windows, attempt to use a pbuffer context.
authorbsalomon <bsalomon@google.com>
Tue, 1 Jul 2014 14:20:11 +0000 (07:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Jul 2014 14:20:11 +0000 (07:20 -0700)
commit9245b7ee764b61222ffba409a7d2d7e62fde01a6
treeb9c3550a2211a480fb25f65c92d69251e4fc58ba
parent2fd0d14b9be34a7a945942733c3516d97d07f516
When performing offscreen rendering on windows, attempt to use a pbuffer context.

A pbuffer context is less likely to have a blocking SwapBuffers (due to vsync).

R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/336863009
include/gpu/gl/SkGLContextHelper.h
include/gpu/gl/SkNativeGLContext.h
include/utils/SkWGL.h
src/gpu/gl/win/SkNativeGLContext_win.cpp
src/utils/win/SkWGL_win.cpp