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

Issue 414163002: aw: Add and use DrawGL kModeSync (Closed)

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

Description

aw: Add and use DrawGL kModeSync We need to support this new hidden api to avoid onDraw getting ahead of DrawGL. Without this, onDraw can finish producing frame n+1 before DrawGL consumes frame n, in which case DrawGL skips a frame. Also make AwDrawGLInfo future proof. BUG=397358 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285712

Patch Set 1 #

Patch Set 2 : make AwDrawGLInfo future proof #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -52 lines) Patch
M android_webview/browser/hardware_renderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/hardware_renderer.cc View 4 chunks +56 lines, -51 lines 0 comments Download
M android_webview/native/aw_contents.cc View 2 chunks +7 lines, -0 lines 4 comments Download
M android_webview/public/browser/draw_gl.h View 1 1 chunk +5 lines, -1 line 2 comments Download

Messages

Total messages: 12 (0 generated)
boliu
work in progress, seems to work though
6 years, 5 months ago (2014-07-24 23:45:26 UTC) #1
boliu
Doesn't look too bad. hush for everything, and benm to look at draw_gl.h that's an ...
6 years, 5 months ago (2014-07-25 00:10:50 UTC) #2
boliu
ping for ben to review draw_gl.h, want to get this in today if possible
6 years, 5 months ago (2014-07-25 16:06:54 UTC) #3
hush (inactive)
https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc#newcode347 android_webview/native/aw_contents.cc:347: hardware_renderer_->CommitFrame(); CommitFrame will just copy the child draw result ...
6 years, 5 months ago (2014-07-25 18:08:07 UTC) #4
boliu
https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc#newcode347 android_webview/native/aw_contents.cc:347: hardware_renderer_->CommitFrame(); On 2014/07/25 18:08:07, hush wrote: > CommitFrame will ...
6 years, 5 months ago (2014-07-25 18:11:02 UTC) #5
hush (inactive)
https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc#newcode347 android_webview/native/aw_contents.cc:347: hardware_renderer_->CommitFrame(); Okay. Imagine a scenario where onDraw happens every ...
6 years, 5 months ago (2014-07-25 18:31:00 UTC) #6
boliu
https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/414163002/diff/20001/android_webview/native/aw_contents.cc#newcode347 android_webview/native/aw_contents.cc:347: hardware_renderer_->CommitFrame(); On 2014/07/25 18:31:00, hush wrote: > Okay. > ...
6 years, 5 months ago (2014-07-25 18:41:51 UTC) #7
benm (inactive)
lgtm
6 years, 5 months ago (2014-07-25 18:53:15 UTC) #8
hush (inactive)
lgtm
6 years, 5 months ago (2014-07-25 20:35:14 UTC) #9
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 5 months ago (2014-07-25 21:06:08 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/414163002/20001
6 years, 5 months ago (2014-07-25 21:06:45 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 22:30:27 UTC) #12
Message was sent while issue was closed.
Change committed as 285712

Powered by Google App Engine
This is Rietveld 408576698