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

Issue 653173004: Part 2: WIP Refactor Webview graphics related code (Closed)

Created:
6 years, 2 months ago by hush (inactive)
Modified:
6 years, 1 month ago
Reviewers:
boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Part 2: Refactor Android WebView graphics code 1. Change the object ownership to be: AwContents -> BrowserViewRenderer -> SharedRendererState -> HardwareRenderer (The left object owns the right object.) 2. Move DrawGL, InitializeHardwareIfNeeded, ReleaseHardwareIfNeeded from AwContents to SharedRendererState. BUG=418346 Committed: https://crrev.com/c4a6fc020e5de65add90f1755519b4228036cbae Cr-Commit-Position: refs/heads/master@{#302011}

Patch Set 1 : #

Patch Set 2 : rebase #

Patch Set 3 : rewrite rebase, without renames #

Total comments: 16

Patch Set 4 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -150 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/browser_view_renderer.cc View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download
M android_webview/browser/browser_view_renderer_client.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/browser/hardware_renderer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/shared_renderer_state.h View 1 2 3 5 chunks +43 lines, -33 lines 0 comments Download
M android_webview/browser/shared_renderer_state.cc View 1 2 3 8 chunks +128 lines, -11 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 5 chunks +5 lines, -97 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
hush (inactive)
This based on https://codereview.chromium.org/655813004/ Patch Set 1.
6 years, 2 months ago (2014-10-15 04:14:32 UTC) #6
hush (inactive)
ps2: based on ps2 of sister CL. I compiled webview using upstream code and some ...
6 years, 2 months ago (2014-10-23 02:28:40 UTC) #7
hush (inactive)
I haven't tested PS 3 yet...
6 years, 1 month ago (2014-10-25 03:06:25 UTC) #8
hush (inactive)
On 2014/10/25 03:06:25, hush wrote: > I haven't tested PS 3 yet... I just flashed ...
6 years, 1 month ago (2014-10-28 00:57:16 UTC) #10
boliu
https://codereview.chromium.org/653173004/diff/140001/android_webview/browser/browser_view_renderer.cc File android_webview/browser/browser_view_renderer.cc (left): https://codereview.chromium.org/653173004/diff/140001/android_webview/browser/browser_view_renderer.cc#oldcode757 android_webview/browser/browser_view_renderer.cc:757: ReturnUnusedResource(shared_renderer_state_.PassCompositorFrame()); This isn't quite the same anymore. This used ...
6 years, 1 month ago (2014-10-28 19:49:44 UTC) #11
hush (inactive)
https://codereview.chromium.org/653173004/diff/140001/android_webview/browser/browser_view_renderer.cc File android_webview/browser/browser_view_renderer.cc (left): https://codereview.chromium.org/653173004/diff/140001/android_webview/browser/browser_view_renderer.cc#oldcode757 android_webview/browser/browser_view_renderer.cc:757: ReturnUnusedResource(shared_renderer_state_.PassCompositorFrame()); On 2014/10/28 19:49:43, boliu wrote: > This isn't ...
6 years, 1 month ago (2014-10-29 19:57:04 UTC) #13
boliu
lgtm remember to remove 3 in description https://codereview.chromium.org/653173004/diff/140001/android_webview/native/aw_contents.h File android_webview/native/aw_contents.h (right): https://codereview.chromium.org/653173004/diff/140001/android_webview/native/aw_contents.h#newcode246 android_webview/native/aw_contents.h:246: SharedRendererState* shared_renderer_state_; ...
6 years, 1 month ago (2014-10-29 22:40:33 UTC) #14
hush (inactive)
https://codereview.chromium.org/653173004/diff/140001/android_webview/native/aw_contents.h File android_webview/native/aw_contents.h (right): https://codereview.chromium.org/653173004/diff/140001/android_webview/native/aw_contents.h#newcode246 android_webview/native/aw_contents.h:246: SharedRendererState* shared_renderer_state_; On 2014/10/29 22:40:33, boliu wrote: > On ...
6 years, 1 month ago (2014-10-30 00:46:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653173004/180001
6 years, 1 month ago (2014-10-30 00:48:31 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:180001)
6 years, 1 month ago (2014-10-30 01:34:33 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 01:35:00 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c4a6fc020e5de65add90f1755519b4228036cbae
Cr-Commit-Position: refs/heads/master@{#302011}

Powered by Google App Engine
This is Rietveld 408576698