diff options
author | Chris Craik <ccraik@google.com> | 2015-06-13 00:22:45 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-06-13 00:22:45 +0000 |
commit | 5aaad90da7e00c3f274362779b29699c180cd8e7 (patch) | |
tree | 25625d57df4d8aeb15829f6a75cacb045905fbbf | |
parent | a1d6b6b7a77552a6fbf7347aa1f0a117e0a2dbe3 (diff) | |
parent | 9ac94b56b31c90a50edb5f643f8afa4fd40e52d8 (diff) | |
download | webview-5aaad90da7e00c3f274362779b29699c180cd8e7.tar.gz |
am 9ac94b56: Increment kAwDrawGLInfoVersion
* commit '9ac94b56b31c90a50edb5f643f8afa4fd40e52d8':
Increment kAwDrawGLInfoVersion
-rw-r--r-- | chromium/plat_support/draw_gl.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/chromium/plat_support/draw_gl.h b/chromium/plat_support/draw_gl.h index a60346f..9478694 100644 --- a/chromium/plat_support/draw_gl.h +++ b/chromium/plat_support/draw_gl.h @@ -19,7 +19,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 { |