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

Issue 594333002: aw: Fix HardwareView for instrumentation tests (Closed)

Created:
6 years, 3 months ago by boliu
Modified:
6 years, 3 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

aw: Fix HardwareView for instrumentation tests * Implement detachGLFunctor. The contract here is after detachGLFunctor is called, DrawGL is no longer called until the next requestDrawGL. Implement just with a mFunctorAttached variable. * Only create one HardwareView. Each GLSurfaceView creates its own GL thread, but we only assume a single render thread. Using SurfaceView or hosting multiple AwContents in the same GLSurfaceView is too hard, so just do the simplest thing, and create the first view has hardware accelerated. BUG=416981 Committed: https://crrev.com/cc5ed8647904a5bab9a1062a2a3a786e0152cfd7 Cr-Commit-Position: refs/heads/master@{#296261}

Patch Set 1 #

Total comments: 4

Patch Set 2 : nit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java View 1 5 chunks +29 lines, -2 lines 2 comments Download

Messages

Total messages: 12 (2 generated)
boliu
6 years, 3 months ago (2014-09-23 20:16:26 UTC) #2
no sievers
lgtm! https://codereview.chromium.org/594333002/diff/1/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/594333002/diff/1/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode189 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:189: return; we even don't process GL here if ...
6 years, 3 months ago (2014-09-23 20:24:38 UTC) #3
boliu
https://codereview.chromium.org/594333002/diff/1/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/594333002/diff/1/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode189 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:189: return; On 2014/09/23 20:24:38, sievers wrote: > we even ...
6 years, 3 months ago (2014-09-23 20:29:32 UTC) #4
boliu
https://codereview.chromium.org/594333002/diff/1/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/594333002/diff/1/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode426 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:426: if (mHardwareView == null) return; On 2014/09/23 20:24:38, sievers ...
6 years, 3 months ago (2014-09-23 20:35:21 UTC) #5
boliu
Down to 6 failing tests with this :D http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/11577/steps/Instrumentation%20test%20AndroidWebViewTest/logs/stdio
6 years, 3 months ago (2014-09-23 20:36:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594333002/20001
6 years, 3 months ago (2014-09-23 20:39:43 UTC) #8
hush (inactive)
https://codereview.chromium.org/594333002/diff/20001/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/594333002/diff/20001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode230 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:230: public AwTestContainerView(Context context, boolean hardwareAccelerated) { so even you ...
6 years, 3 months ago (2014-09-23 20:41:02 UTC) #9
boliu
https://codereview.chromium.org/594333002/diff/20001/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/594333002/diff/20001/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java#newcode230 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java:230: public AwTestContainerView(Context context, boolean hardwareAccelerated) { On 2014/09/23 20:41:02, ...
6 years, 3 months ago (2014-09-23 20:42:33 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as f626dfa3d91f13af0c0245e847160ceafd70b9be
6 years, 3 months ago (2014-09-23 21:45:41 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 21:46:23 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cc5ed8647904a5bab9a1062a2a3a786e0152cfd7
Cr-Commit-Position: refs/heads/master@{#296261}

Powered by Google App Engine
This is Rietveld 408576698