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

Issue 455083002: Add memory limits struct to in-process context (Closed)

Created:
6 years, 4 months ago by boliu
Modified:
6 years, 4 months ago
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, android-webview-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add memory limits struct to in-process context Add SharedMemoryLimits struct to in-process command buffer context. Pick a reasonable value for the reclaim limit for synchronous compositor BUG=402086 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290764

Patch Set 1 #

Patch Set 2 : remove TODO #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : x64 fix attempt 1, comment on sync compositor limit #

Patch Set 5 : x64 fix attempt 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -71 lines) Patch
M android_webview/browser/hardware_renderer.cc View 1 2 3 1 chunk +11 lines, -10 lines 0 comments Download
M cc/test/test_in_process_context_provider.cc View 1 2 1 chunk +12 lines, -10 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 2 3 3 chunks +36 lines, -25 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.h View 1 2 3 4 3 chunks +14 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.cc View 1 2 3 4 10 chunks +34 lines, -16 lines 0 comments Download
M webkit/common/gpu/context_provider_in_process.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 2 2 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
boliu
PTAL. I thought about sharing the SharedMemoryLimits struct with the cross-process one, maybe put it ...
6 years, 4 months ago (2014-08-11 15:19:10 UTC) #1
boliu
+sievers or review of gpu parts?
6 years, 4 months ago (2014-08-19 16:09:33 UTC) #2
no sievers
On 2014/08/19 16:09:33, boliu wrote: > +sievers or review of gpu parts? lgtm
6 years, 4 months ago (2014-08-19 17:55:24 UTC) #3
boliu
+kbr for webkit/common/gpu Will tbr for the cc/test change after.
6 years, 4 months ago (2014-08-19 21:32:08 UTC) #4
Ken Russell (switch to Gerrit)
lgtm
6 years, 4 months ago (2014-08-19 21:40:00 UTC) #5
boliu
And tbr-ing piman for the cc/test
6 years, 4 months ago (2014-08-19 21:53:16 UTC) #6
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 4 months ago (2014-08-19 21:53:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/455083002/40001
6 years, 4 months ago (2014-08-19 21:56:35 UTC) #8
piman
lgtm https://codereview.chromium.org/455083002/diff/40001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/455083002/diff/40001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode196 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:196: static_cast<size_t>(6.4 * 1024 * 1024); nit: it's odd ...
6 years, 4 months ago (2014-08-19 22:58:14 UTC) #9
boliu
https://codereview.chromium.org/455083002/diff/40001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/455083002/diff/40001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode196 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:196: static_cast<size_t>(6.4 * 1024 * 1024); On 2014/08/19 22:58:13, piman ...
6 years, 4 months ago (2014-08-19 23:06:38 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-19 23:07:12 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-19 23:16:02 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/882)
6 years, 4 months ago (2014-08-19 23:16:03 UTC) #13
piman
On Tue, Aug 19, 2014 at 4:06 PM, <boliu@chromium.org> wrote: > > https://codereview.chromium.org/455083002/diff/40001/ > content/browser/android/in_process/synchronous_compositor_factory_impl.cc ...
6 years, 4 months ago (2014-08-19 23:50:55 UTC) #14
boliu
On 2014/08/19 23:50:55, piman (OOO) wrote: > Note that that code clamps the double value ...
6 years, 4 months ago (2014-08-20 00:01:40 UTC) #15
boliu
Updated the types in GLInProcessContextSharedMemoryLimits to match the expected argument types to make win_x64 happy.
6 years, 4 months ago (2014-08-20 01:23:24 UTC) #16
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 4 months ago (2014-08-20 01:23:28 UTC) #17
boliu
The CQ bit was unchecked by boliu@chromium.org
6 years, 4 months ago (2014-08-20 01:23:35 UTC) #18
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 4 months ago (2014-08-20 01:24:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/455083002/80001
6 years, 4 months ago (2014-08-20 01:24:47 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-20 03:01:35 UTC) #21
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 04:25:10 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (80001) as 290764

Powered by Google App Engine
This is Rietveld 408576698