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

Issue 2367953002: Implement OnMemoryStateChange for Various CC Classes (Closed)

Created:
4 years, 2 months ago by ericrk
Modified:
4 years, 2 months ago
Reviewers:
haraken, vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org, tasak
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement OnMemoryStateChange for Various CC Classes Adds SUSPENDED handling for: cc::ResourcePool cc::GpuImageDecodeController cc::StagingBufferPool Additionally adds THROTTLED handling for: cc::GpuImageDecodeController Additional THROTTLED handling will be added in a follow-up CL. R=vmpstr BUG=635419 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/0cbb20ce38c9fc1a7b57526a5c16b1d325ae3e22 Cr-Commit-Position: refs/heads/master@{#421018}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -37 lines) Patch
M cc/raster/staging_buffer_pool.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/resource_pool.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/resource_pool.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/resource_pool_unittest.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download
M cc/tiles/gpu_image_decode_controller.h View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M cc/tiles/gpu_image_decode_controller.cc View 1 2 6 chunks +49 lines, -16 lines 0 comments Download
M cc/tiles/gpu_image_decode_controller_unittest.cc View 1 5 chunks +61 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
vmpstr
https://codereview.chromium.org/2367953002/diff/1/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/2367953002/diff/1/cc/resources/resource_pool.cc#newcode475 cc/resources/resource_pool.cc:475: DCHECK_EQ(0, unused_resources_.size()); Are we guaranteed that we receive this ...
4 years, 2 months ago (2016-09-23 20:59:11 UTC) #2
ericrk
https://codereview.chromium.org/2367953002/diff/1/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/2367953002/diff/1/cc/resources/resource_pool.cc#newcode475 cc/resources/resource_pool.cc:475: DCHECK_EQ(0, unused_resources_.size()); On 2016/09/23 20:59:10, vmpstr wrote: > Are ...
4 years, 2 months ago (2016-09-23 21:26:15 UTC) #6
vmpstr
lgtm
4 years, 2 months ago (2016-09-23 21:49:07 UTC) #7
ericrk
haraken@ - here's the CL to implement SUSPENDED (and some THROTTLED) .
4 years, 2 months ago (2016-09-24 02:04:16 UTC) #9
haraken
LGTM, thanks!
4 years, 2 months ago (2016-09-25 22:42:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2367953002/100001
4 years, 2 months ago (2016-09-26 20:42:35 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 2 months ago (2016-09-26 22:16:42 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 22:19:09 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0cbb20ce38c9fc1a7b57526a5c16b1d325ae3e22
Cr-Commit-Position: refs/heads/master@{#421018}

Powered by Google App Engine
This is Rietveld 408576698