summaryrefslogtreecommitdiffstats
path: root/android_webview/public
diff options
context:
space:
mode:
authorleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-15 21:45:52 +0000
committerleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-15 21:45:52 +0000
commitf35e232a94af088f5a1a231f2489a5b06460bffe (patch)
tree124388157fbe8e64db6181a9b5467a3ca3fc8be0 /android_webview/public
parent3ff3a45baf225760a1ceab36868e333010f555ee (diff)
downloadchromium_src-f35e232a94af088f5a1a231f2489a5b06460bffe.zip
chromium_src-f35e232a94af088f5a1a231f2489a5b06460bffe.tar.gz
chromium_src-f35e232a94af088f5a1a231f2489a5b06460bffe.tar.bz2
[Android WebView] Tie together Chrome's browser compositor with the Android View system.
This patch introduces a new feature to the compositor: - A setting to enable cleaning the framebuffer, disabled by default. This prevents destroying data below us when rendering non-rectangular views (e.g. during a rotation). A second required feature will be added by a later patch: - A device scissor rect that intersects any scissor calculation. Used to ensure we never render outside where the Android View System tells us. There are also some issues with the Android View side regarding the restoration of the GL state. This patch introduces a temporary workaround by reading and manually restoring the state changed by the compositor. This will go out as soon as the problem is fixed in the Android side. BUG=161409,154180 Review URL: https://chromiumcodereview.appspot.com/11316310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/public')
-rw-r--r--android_webview/public/browser/draw_gl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/android_webview/public/browser/draw_gl.h b/android_webview/public/browser/draw_gl.h
index 75a3a61..8bea559 100644
--- a/android_webview/public/browser/draw_gl.h
+++ b/android_webview/public/browser/draw_gl.h
@@ -38,7 +38,10 @@ struct AwDrawGLInfo {
kStatusMaskDone = 0x0,
kStatusMaskDraw = 0x1,
kStatusMaskInvoke = 0x2,
- } status_mask;
+ };
+
+ // Output: mask indicating the status after calling the functor.
+ unsigned int status_mask;
// Output: dirty region to redraw.
float dirty_left;