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

Issue 1412923004: Revert of Move gpu memory calculations to Compositor. (Closed)

Created:
5 years, 1 month ago by spang
Modified:
5 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, sohanjg_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Move gpu memory calculations to Compositor. (patchset #11 id:220001 of https://codereview.chromium.org/1324413003/ ) Reason for revert: Hangs on Chrome OS when rotating the display. BUG=546653 Original issue's description: > Move gpu memory calculations to Compositor. > > This moves gpu memory policy code from gpumemorymanager to renderer compositor. > It will be useful for renderer to use off screen context. > > BUG=526196 > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel > > Committed: https://crrev.com/127a06b45820e30f78079814557cfacd038d6167 > Cr-Commit-Position: refs/heads/master@{#352301} TBR=dcheng@chromium.org,boliu@chromium.org,ccameron@chromium.org,danakj@chromium.org,dtrainor@chromium.org,msw@chromium.org,piman@chromium.org,sky@chromium.org,sohan.jyoti@samsung.com BUG=526196 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+578 lines, -113 lines) Patch
M android_webview/browser/aw_render_thread_context_provider.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M android_webview/browser/aw_render_thread_context_provider.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M blimp/client/compositor/blimp_context_provider.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M blimp/client/compositor/blimp_context_provider.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M cc/output/context_provider.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M cc/output/output_surface.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M cc/output/output_surface_unittest.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M cc/raster/tile_task_worker_pool_perftest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/test_context_provider.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M cc/test/test_context_provider.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M cc/test/test_in_process_context_provider.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/test/test_in_process_context_provider.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 1 chunk +0 lines, -16 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 chunks +14 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M components/mus/public/cpp/context_provider.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/mus/surfaces/surfaces_context_provider.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/android/in_process/context_provider_in_process.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/android/in_process/context_provider_in_process.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 3 chunks +19 lines, -0 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 3 chunks +29 lines, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 7 chunks +39 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 1 2 chunks +111 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_memory_manager_client.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_memory_manager_unittest.cc View 1 2 chunks +217 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 3 chunks +0 lines, -84 lines 0 comments Download
M ui/compositor/test/in_process_context_provider.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/compositor/test/in_process_context_provider.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
spang
Created Revert of Move gpu memory calculations to Compositor.
5 years, 1 month ago (2015-10-29 17:21:37 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412923004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412923004/1
5 years, 1 month ago (2015-10-29 17:22:59 UTC) #2
commit-bot: I haz the power
Failed to apply patch for cc/trees/layer_tree_host_impl.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 1 month ago (2015-10-29 17:24:56 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412923004/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412923004/290001
5 years, 1 month ago (2015-10-29 17:35:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412923004/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412923004/290001
5 years, 1 month ago (2015-10-29 17:37:52 UTC) #12
boliu
Rebase not completely correct here, since I removed some files that was touched. I can ...
5 years, 1 month ago (2015-10-29 17:49:51 UTC) #13
danakj
On Thu, Oct 29, 2015 at 10:49 AM, <boliu@chromium.org> wrote: > Rebase not completely correct ...
5 years, 1 month ago (2015-10-29 17:51:16 UTC) #14
spang
On 2015/10/29 17:51:16, danakj wrote: > On Thu, Oct 29, 2015 at 10:49 AM, <mailto:boliu@chromium.org> ...
5 years, 1 month ago (2015-10-29 17:55:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412923004/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412923004/290001
5 years, 1 month ago (2015-10-29 17:56:35 UTC) #19
danakj
On Thu, Oct 29, 2015 at 10:55 AM, <spang@chromium.org> wrote: > On 2015/10/29 17:51:16, danakj ...
5 years, 1 month ago (2015-10-29 17:57:14 UTC) #20
spang
On 2015/10/29 17:49:51, boliu wrote: > Rebase not completely correct here, since I removed some ...
5 years, 1 month ago (2015-10-29 17:58:59 UTC) #21
spang
On 2015/10/29 17:57:14, danakj wrote: > On Thu, Oct 29, 2015 at 10:55 AM, <mailto:spang@chromium.org> ...
5 years, 1 month ago (2015-10-29 17:59:40 UTC) #23
boliu
The issue is I removed content/browser/android/in_process/synchronous_compositor_context_provider.cc/h since the orignal patch landed, and now it needs ...
5 years, 1 month ago (2015-10-29 18:05:54 UTC) #24
spang
On 2015/10/29 18:05:54, boliu wrote: > The issue is I removed > content/browser/android/in_process/synchronous_compositor_context_provider.cc/h > since ...
5 years, 1 month ago (2015-10-29 18:30:46 UTC) #25
boliu
On 2015/10/29 18:30:46, spang wrote: > On 2015/10/29 18:05:54, boliu wrote: > > The issue ...
5 years, 1 month ago (2015-10-29 18:35:03 UTC) #26
spang
On 2015/10/29 18:35:03, boliu wrote: > On 2015/10/29 18:30:46, spang wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 18:44:14 UTC) #27
piman
Several patches landed on top of the assumptions in this patch (among others https://codereview.chromium.org/1368583006 ), ...
5 years, 1 month ago (2015-10-29 23:49:13 UTC) #28
piman
On 2015/10/29 23:49:13, piman (slow to review) wrote: > Several patches landed on top of ...
5 years, 1 month ago (2015-10-29 23:50:17 UTC) #29
spang
5 years, 1 month ago (2015-10-29 23:56:58 UTC) #30
Message was sent while issue was closed.
On 2015/10/29 23:50:17, piman (slow to review) wrote:
> On 2015/10/29 23:49:13, piman (slow to review) wrote:
> > Several patches landed on top of the assumptions in this patch (among others
> > https://codereview.chromium.org/1368583006 ), so just reverting this one
will
> > probably make things worse.
> 
> (as evidenced by the failing tests)

Yeah I noticed :)

I've closed this since it doesn't seem like reverting is workable at this point.

Powered by Google App Engine
This is Rietveld 408576698