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

Issue 15795002: Cache auxiliary bitmap across draw frames (Closed)

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

Description

Cache auxiliary bitmap across draw frames While this mode isn't intended to be used in anger, the slow down caused by reallocating the temp bitmap every frame is very high even for a development configuration. Also add a bunch of useful tracing. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202035

Patch Set 1 #

Total comments: 6

Patch Set 2 : bo & kaan comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -13 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/browser/browser_view_renderer_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/browser/in_process_renderer/in_process_view_renderer.cc View 1 4 chunks +18 lines, -5 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java View 1 2 chunks +22 lines, -2 lines 0 comments Download
M android_webview/native/java_browser_view_renderer_helper.h View 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/native/java_browser_view_renderer_helper.cc View 1 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
joth
7 years, 7 months ago (2013-05-23 01:42:54 UTC) #1
boliu
lgtm https://codereview.chromium.org/15795002/diff/1/android_webview/native/java_browser_view_renderer_helper.cc File android_webview/native/java_browser_view_renderer_helper.cc (right): https://codereview.chromium.org/15795002/diff/1/android_webview/native/java_browser_view_renderer_helper.cc#newcode26 android_webview/native/java_browser_view_renderer_helper.cc:26: TRACE_EVENT0("android_webview", "RendererHelper::CreateBitmap"); nit: can log cache_result, and ideally ...
7 years, 7 months ago (2013-05-23 02:52:13 UTC) #2
kaanb
lgtm https://codereview.chromium.org/15795002/diff/1/android_webview/browser/browser_view_renderer_impl.cc File android_webview/browser/browser_view_renderer_impl.cc (right): https://codereview.chromium.org/15795002/diff/1/android_webview/browser/browser_view_renderer_impl.cc#newcode423 android_webview/browser/browser_view_renderer_impl.cc:423: env, picture->width(), picture->height(), false)); Any reason we don't ...
7 years, 7 months ago (2013-05-23 16:56:11 UTC) #3
joth
https://codereview.chromium.org/15795002/diff/1/android_webview/browser/browser_view_renderer_impl.cc File android_webview/browser/browser_view_renderer_impl.cc (right): https://codereview.chromium.org/15795002/diff/1/android_webview/browser/browser_view_renderer_impl.cc#newcode423 android_webview/browser/browser_view_renderer_impl.cc:423: env, picture->width(), picture->height(), false)); On 2013/05/23 16:56:11, kaanb wrote: ...
7 years, 7 months ago (2013-05-23 20:23:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/15795002/8001
7 years, 7 months ago (2013-05-24 05:22:23 UTC) #5
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 09:42:24 UTC) #6
Message was sent while issue was closed.
Change committed as 202035

Powered by Google App Engine
This is Rietveld 408576698