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

Issue 255023004: Add synchronous requestDrawGL (Closed)

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

Description

Add synchronous requestDrawGL And stop using executeHardwareAction and use synchronous requestDrawGL. The branching structure needs to happen in DrawGL. Add a queue of closures to SharedRendererState. So the general pattern is 1. Add closure to queue 2. requestDrawGL Need to be careful not to let the queue grow unboundedly if requestDrawGL returns false. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267484

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : closures #

Patch Set 4 : hardware initialized info on ui #

Patch Set 5 : fix #

Patch Set 6 : remove spurious upload #

Patch Set 7 : roll aosp #

Total comments: 16

Patch Set 8 : comments #

Patch Set 9 : DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -73 lines) Patch
M android_webview/browser/browser_view_renderer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/browser_view_renderer_client.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -3 lines 0 comments Download
M android_webview/browser/shared_renderer_state.h View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M android_webview/browser/shared_renderer_state.cc View 1 2 3 3 chunks +36 lines, -2 lines 0 comments Download
M android_webview/buildbot/aosp_manifest.xml View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 6 chunks +8 lines, -33 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 4 chunks +62 lines, -20 lines 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java View 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
boliu
Still work in progress, but early preview for ya. I think I'm going to break ...
6 years, 7 months ago (2014-04-28 22:37:59 UTC) #1
boliu
TrimMemory retaining current behavior
6 years, 7 months ago (2014-04-30 18:39:03 UTC) #2
boliu
Hmm, still broke something. Specifically this sequence in android browser: Start browser, webview gets attached ...
6 years, 7 months ago (2014-04-30 20:40:40 UTC) #3
boliu
On 2014/04/30 20:40:40, boliu wrote: > Hmm, still broke something. Specifically this sequence in android ...
6 years, 7 months ago (2014-04-30 23:22:11 UTC) #4
hush (inactive)
https://codereview.chromium.org/255023004/diff/120001/android_webview/browser/browser_view_renderer_client.h File android_webview/browser/browser_view_renderer_client.h (right): https://codereview.chromium.org/255023004/diff/120001/android_webview/browser/browser_view_renderer_client.h#newcode20 android_webview/browser/browser_view_renderer_client.h:20: // together with |canvas|. The callback may never be ...
6 years, 7 months ago (2014-05-01 00:35:54 UTC) #5
boliu
https://codereview.chromium.org/255023004/diff/120001/android_webview/browser/browser_view_renderer_client.h File android_webview/browser/browser_view_renderer_client.h (right): https://codereview.chromium.org/255023004/diff/120001/android_webview/browser/browser_view_renderer_client.h#newcode20 android_webview/browser/browser_view_renderer_client.h:20: // together with |canvas|. The callback may never be ...
6 years, 7 months ago (2014-05-01 00:46:36 UTC) #6
hush (inactive)
lgtm https://codereview.chromium.org/255023004/diff/120001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/255023004/diff/120001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode139 android_webview/java/src/org/chromium/android_webview/AwContents.java:139: * Should avoid setting |waitForCompletion| when |canvas| is ...
6 years, 7 months ago (2014-05-01 01:08:04 UTC) #7
sgurun-gerrit only
On 2014/05/01 01:08:04, hush wrote: > lgtm > > https://codereview.chromium.org/255023004/diff/120001/android_webview/java/src/org/chromium/android_webview/AwContents.java > File android_webview/java/src/org/chromium/android_webview/AwContents.java > (right): ...
6 years, 7 months ago (2014-05-01 01:12:08 UTC) #8
boliu
https://codereview.chromium.org/255023004/diff/120001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/255023004/diff/120001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode139 android_webview/java/src/org/chromium/android_webview/AwContents.java:139: * Should avoid setting |waitForCompletion| when |canvas| is not ...
6 years, 7 months ago (2014-05-01 01:35:48 UTC) #9
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 7 months ago (2014-05-01 01:35:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/255023004/160001
6 years, 7 months ago (2014-05-01 01:36:15 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-01 08:29:40 UTC) #12
Message was sent while issue was closed.
Change committed as 267484

Powered by Google App Engine
This is Rietveld 408576698