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

Issue 414503004: android: Use hw acceleration in android_webview_shell (Closed)

Created:
6 years, 5 months ago by no sievers
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org, piman+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

android: Use hw acceleration in android_webview_shell This creates a (GL)SurfaceView overlay on top of the shell container view which runs its own thread for rendering. It calls into the native draw functor through a small dynamic library (drawgl.so). Committed previously: https://chromium.googlesource.com/chromium/src/+/09acbf59e7e8f1de574498ee5ba8eae0b0775438 Committed: https://crrev.com/625a78652e170011fd3590ec9791919f8c1093f0 Cr-Commit-Position: refs/heads/master@{#292761}

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 21

Patch Set 6 : address Bo's comments #

Patch Set 7 : include #

Total comments: 4

Patch Set 8 : comments #

Total comments: 3

Patch Set 9 : hw accel #

Patch Set 10 : clang #

Patch Set 11 : #

Patch Set 12 : #

Messages

Total messages: 26 (5 generated)
no sievers
I build android_webview_apk and install it and then run: adb shell am start -n org.chromium.android_webview.shell/org.chromium.android_webview.shell.AwShellActivity ...
6 years, 5 months ago (2014-07-22 20:53:18 UTC) #1
no sievers
https://codereview.chromium.org/414503004/diff/1/android_webview/browser/hardware_renderer.cc File android_webview/browser/hardware_renderer.cc (right): https://codereview.chromium.org/414503004/diff/1/android_webview/browser/hardware_renderer.cc#newcode203 android_webview/browser/hardware_renderer.cc:203: // transform.Translate(scroll_offset_.x(), scroll_offset_.y()); So here I don't understand why ...
6 years, 5 months ago (2014-07-22 21:00:36 UTC) #2
no sievers
sievers@chromium.org changed reviewers: + mkosiba@chromium.org
6 years, 3 months ago (2014-08-27 22:53:55 UTC) #3
no sievers
ptal
6 years, 3 months ago (2014-08-27 22:54:03 UTC) #4
boliu
boliu@chromium.org changed reviewers: + hush@chromium.org
6 years, 3 months ago (2014-08-28 23:15:06 UTC) #5
boliu
+hush too https://codereview.chromium.org/414503004/diff/80001/android_webview/test/shell/src/draw_gl.cc File android_webview/test/shell/src/draw_gl.cc (right): https://codereview.chromium.org/414503004/diff/80001/android_webview/test/shell/src/draw_gl.cc#newcode7 android_webview/test/shell/src/draw_gl.cc:7: #include "draw_gl.h" use full path instead of ...
6 years, 3 months ago (2014-08-28 23:15:06 UTC) #6
boliu
https://codereview.chromium.org/414503004/diff/80001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java File android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java (right): https://codereview.chromium.org/414503004/diff/80001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode411 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:411: if (mHardwareView != null) { So this is a ...
6 years, 3 months ago (2014-08-28 23:54:32 UTC) #7
no sievers
https://codereview.chromium.org/414503004/diff/80001/android_webview/test/shell/src/draw_gl.cc File android_webview/test/shell/src/draw_gl.cc (right): https://codereview.chromium.org/414503004/diff/80001/android_webview/test/shell/src/draw_gl.cc#newcode7 android_webview/test/shell/src/draw_gl.cc:7: #include "draw_gl.h" On 2014/08/28 23:15:05, boliu wrote: > use ...
6 years, 3 months ago (2014-08-29 01:30:44 UTC) #8
boliu
https://codereview.chromium.org/414503004/diff/120001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java File android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java (right): https://codereview.chromium.org/414503004/diff/120001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode249 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:249: mHardwareView.setReadyToRenderCallback(null); Need to update the assert in setReadyToRenderCallback to ...
6 years, 3 months ago (2014-08-29 02:36:04 UTC) #9
no sievers
https://codereview.chromium.org/414503004/diff/120001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java File android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java (right): https://codereview.chromium.org/414503004/diff/120001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode249 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:249: mHardwareView.setReadyToRenderCallback(null); On 2014/08/29 02:36:04, boliu wrote: > Need to ...
6 years, 3 months ago (2014-08-29 20:41:28 UTC) #10
no sievers
https://codereview.chromium.org/414503004/diff/140001/android_webview/test/shell/AndroidManifest.xml File android_webview/test/shell/AndroidManifest.xml (right): https://codereview.chromium.org/414503004/diff/140001/android_webview/test/shell/AndroidManifest.xml#newcode13 android_webview/test/shell/AndroidManifest.xml:13: android:label="AwShellApplication" android:hardwareAccelerated="true"> This breaks all the tests since it ...
6 years, 3 months ago (2014-08-29 20:48:09 UTC) #11
no sievers
https://codereview.chromium.org/414503004/diff/140001/android_webview/test/shell/AndroidManifest.xml File android_webview/test/shell/AndroidManifest.xml (right): https://codereview.chromium.org/414503004/diff/140001/android_webview/test/shell/AndroidManifest.xml#newcode13 android_webview/test/shell/AndroidManifest.xml:13: android:label="AwShellApplication" android:hardwareAccelerated="true"> On 2014/08/29 20:48:08, sievers wrote: > This ...
6 years, 3 months ago (2014-08-29 20:49:04 UTC) #12
no sievers
https://codereview.chromium.org/414503004/diff/140001/android_webview/test/shell/AndroidManifest.xml File android_webview/test/shell/AndroidManifest.xml (right): https://codereview.chromium.org/414503004/diff/140001/android_webview/test/shell/AndroidManifest.xml#newcode13 android_webview/test/shell/AndroidManifest.xml:13: android:label="AwShellApplication" android:hardwareAccelerated="true"> On 2014/08/29 20:49:04, sievers wrote: > On ...
6 years, 3 months ago (2014-08-29 20:52:08 UTC) #13
boliu
lgtm Hmm, how did the tests fail exactly?
6 years, 3 months ago (2014-08-29 22:33:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/414503004/160001
6 years, 3 months ago (2014-08-29 23:19:43 UTC) #18
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 09acbf59e7e8f1de574498ee5ba8eae0b0775438
6 years, 3 months ago (2014-08-29 23:38:46 UTC) #20
no sievers
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/524933002/ by sievers@chromium.org. ...
6 years, 3 months ago (2014-08-29 23:59:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/414503004/220001
6 years, 3 months ago (2014-08-30 01:11:53 UTC) #23
commit-bot: I haz the power
Committed patchset #12 (id:220001) as d62a79f70786be78405c9342acec12eadd26261a
6 years, 3 months ago (2014-08-30 02:19:46 UTC) #24
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/386f9301889efde34b202a4600496b1e10aa06c8 Cr-Commit-Position: refs/heads/master@{#292718}
6 years, 3 months ago (2014-09-10 03:11:46 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:13:23 UTC) #26
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/625a78652e170011fd3590ec9791919f8c1093f0
Cr-Commit-Position: refs/heads/master@{#292761}

Powered by Google App Engine
This is Rietveld 408576698