diff options
author | boliu <boliu@chromium.org> | 2015-06-15 15:46:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-15 22:46:43 +0000 |
commit | 00b3be788a5ea835d3cb6ba9e85c04e02b78cb3d (patch) | |
tree | 78494b3a0aa5c8f74a04ecf85c0934e822e4f1b6 | |
parent | edd2be4d7bf7540e053337aef1d7c07739955b99 (diff) | |
download | chromium_src-00b3be788a5ea835d3cb6ba9e85c04e02b78cb3d.zip chromium_src-00b3be788a5ea835d3cb6ba9e85c04e02b78cb3d.tar.gz chromium_src-00b3be788a5ea835d3cb6ba9e85c04e02b78cb3d.tar.bz2 |
aw: Bump draw_gl.h version
See comment for details.
BUG=
Review URL: https://codereview.chromium.org/1181293006
Cr-Commit-Position: refs/heads/master@{#334483}
-rw-r--r-- | android_webview/public/browser/draw_gl.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/android_webview/public/browser/draw_gl.h b/android_webview/public/browser/draw_gl.h index d62375f..9196695 100644 --- a/android_webview/public/browser/draw_gl.h +++ b/android_webview/public/browser/draw_gl.h @@ -9,7 +9,18 @@ extern "C" { #endif -static const int kAwDrawGLInfoVersion = 1; + +// 1 is L/L MR1 +// +// 2 starts at M, and added an imperfect workaround for complex clipping by +// elevating the WebView into an FBO layer. If any transform, clip, or outline +// clip occurs that would either likely use the stencil buffer for clipping, or +// require shader based clipping in HWUI, the WebView is drawn into an FBO (if +// it fits). +// This is a temporary workaround for a lack of WebView support for stencil/ +// shader based round rect clipping, and should be removed when webview is +// capable of supporting these clips internally when drawing. +static const int kAwDrawGLInfoVersion = 2; // Holds the information required to trigger an OpenGL drawing operation. struct AwDrawGLInfo { |