Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Issue 140753006: [Android WebView] Turn on accelerated canvas based on View.isHardwareAccelerated (Closed)

Created:
6 years, 11 months ago by boliu
Modified:
6 years, 11 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

[Android WebView] Turn on accelerated canvas based on View.isHardwareAccelerated In onAttachedToWindow, check that if the view is hardware accelerated, then enable hardware accelerated 2d canvas. Similarly disable canvas on detach. Note that accelerated 2d canvas is still off by default, but this patch adds a command line switch to turn it on. BUG=332273 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245648

Patch Set 1 #

Total comments: 11

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -2 lines) Patch
M android_webview/common/aw_switches.h View 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/common/aw_switches.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 2 chunks +4 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwSettings.java View 1 2 chunks +15 lines, -0 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M android_webview/native/aw_settings.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_settings.cc View 1 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
boliu
PTAL https://codereview.chromium.org/140753006/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java File android_webview/java/src/org/chromium/android_webview/AwSettings.java (right): https://codereview.chromium.org/140753006/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java#newcode187 android_webview/java/src/org/chromium/android_webview/AwSettings.java:187: // Nothing to do. This is to handle ...
6 years, 11 months ago (2014-01-16 23:59:36 UTC) #1
mnaganov (inactive)
https://codereview.chromium.org/140753006/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java File android_webview/java/src/org/chromium/android_webview/AwSettings.java (right): https://codereview.chromium.org/140753006/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java#newcode85 android_webview/java/src/org/chromium/android_webview/AwSettings.java:85: // May map to multiple webkit preferences. nit: We ...
6 years, 11 months ago (2014-01-17 09:56:22 UTC) #2
boliu
Comments addressed. PTAL. Thanks! https://codereview.chromium.org/140753006/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java File android_webview/java/src/org/chromium/android_webview/AwSettings.java (right): https://codereview.chromium.org/140753006/diff/1/android_webview/java/src/org/chromium/android_webview/AwSettings.java#newcode85 android_webview/java/src/org/chromium/android_webview/AwSettings.java:85: // May map to multiple ...
6 years, 11 months ago (2014-01-17 14:58:48 UTC) #3
mnaganov (inactive)
LGTM!
6 years, 11 months ago (2014-01-17 15:58:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/140753006/90001
6 years, 11 months ago (2014-01-17 16:21:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/140753006/90001
6 years, 11 months ago (2014-01-17 19:29:49 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=248204
6 years, 11 months ago (2014-01-17 20:47:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/140753006/90001
6 years, 11 months ago (2014-01-17 20:50:33 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 22:50:07 UTC) #9
Message was sent while issue was closed.
Change committed as 245648

Powered by Google App Engine
This is Rietveld 408576698