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

Issue 2069143002: Limit the number of accelerated canvases that can exist in a render process (Closed)

Created:
4 years, 6 months ago by Justin Novosad
Modified:
4 years, 6 months ago
Reviewers:
xlai (Olivia)
CC:
chromium-reviews, krit, dshwang, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, pdr+graphicswatchlist_chromium.org, jbroman, haraken, dglazkov+blink, Rik, f(malita), blink-reviews, Stephen Chennney, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit the number of accelerated canvases that can exist in a render process To avoid exhausting GPU resource limits, we limit the number of the accelerated canvas count. Previously, we only limited based on memory consumption, wich was not enough to prevent recurring GPU context resets. BUG=620329 Committed: https://crrev.com/316f13fd14e0e9206850c67fa04463b99de0abd8 Cr-Commit-Position: refs/heads/master@{#400190}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment fix #

Patch Set 3 : 'u' is for unsigned #

Patch Set 4 : fix layout test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -13 lines) Patch
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 3 4 chunks +18 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.h View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 3 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Justin Novosad
4 years, 6 months ago (2016-06-15 15:14:18 UTC) #2
xlai (Olivia)
The previous metric s_globalGPUMemoryUsage is also per-renderer-process-based. I don't quite understand what's the purpose of ...
4 years, 6 months ago (2016-06-15 18:54:07 UTC) #3
Justin Novosad
On 2016/06/15 18:54:07, xlai (Olivia) wrote: > The previous metric s_globalGPUMemoryUsage is also per-renderer-process-based. I ...
4 years, 6 months ago (2016-06-15 19:12:56 UTC) #4
Justin Novosad
https://codereview.chromium.org/2069143002/diff/1/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2069143002/diff/1/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode753 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:753: // When GPU allocated memory runs low (due to ...
4 years, 6 months ago (2016-06-15 19:17:34 UTC) #5
xlai (Olivia)
On 2016/06/15 19:17:34, Justin Novosad wrote: > https://codereview.chromium.org/2069143002/diff/1/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp > File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): > > https://codereview.chromium.org/2069143002/diff/1/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode753 ...
4 years, 6 months ago (2016-06-15 19:31:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069143002/40001
4 years, 6 months ago (2016-06-15 19:37:20 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/110549)
4 years, 6 months ago (2016-06-15 20:46:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069143002/60001
4 years, 6 months ago (2016-06-16 15:36:11 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 17:32:39 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/316f13fd14e0e9206850c67fa04463b99de0abd8
Cr-Commit-Position: refs/heads/master@{#400190}

Powered by Google App Engine
This is Rietveld 408576698