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

Issue 1884553003: cc: optimize texture allocation. (Closed)

Created:
4 years, 8 months ago by Stephen White
Modified:
4 years, 7 months ago
Reviewers:
enne (OOO)
CC:
blink-reviews, cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: optimize filter backing store texture allocation. The backing store used for filters in cc is determined by the primitive bounds, and the filter outsets. This means that we may end up allocating many textures of different sizes, defeating Skia's texture cache. Texture allocation can be slow, so we can ameliorate the allocation pressure by rounding width and height up to the nearest power of 2. (This is what Skia does internally for scratch textures). BUG=602785 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d47a9ef38a0c81f0250e575f08fb47fb56fe1d66 Cr-Commit-Position: refs/heads/master@{#391753}

Patch Set 1 #

Patch Set 2 : Update to ToT #

Patch Set 3 : Reformat #

Patch Set 4 : Update to ToT #

Patch Set 5 : cleanup #

Total comments: 6

Patch Set 6 : ok, ok, i'll use floats #

Patch Set 7 : New baselines for rotated filters tests #

Patch Set 8 : win fix: futz with the fuzz #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M cc/output/gl_renderer.cc View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M cc/test/data/rotated_drop_shadow_filter_gl.png View 1 2 3 4 5 6 Binary file 0 comments Download
M cc/test/data/rotated_filter_gl.png View 1 2 3 4 5 6 Binary file 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (22 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553003/1
4 years, 8 months ago (2016-04-12 22:15:32 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/203973)
4 years, 8 months ago (2016-04-13 01:22:52 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553003/40001
4 years, 7 months ago (2016-05-03 19:25:28 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-03 20:41:27 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553003/80001
4 years, 7 months ago (2016-05-04 21:14:30 UTC) #13
Stephen White
enne: PTAL. Thanks!
4 years, 7 months ago (2016-05-04 21:20:04 UTC) #17
danakj
https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc#newcode145 cc/output/gl_renderer.cc:145: int w, h; you're using ints here but it's ...
4 years, 7 months ago (2016-05-04 21:24:58 UTC) #19
Stephen White
https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc#newcode145 cc/output/gl_renderer.cc:145: int w, h; On 2016/05/04 21:24:58, danakj wrote: > ...
4 years, 7 months ago (2016-05-04 21:27:32 UTC) #20
enne (OOO)
https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc#newcode146 cc/output/gl_renderer.cc:146: for (w = 1; w < rect->width(); w *= ...
4 years, 7 months ago (2016-05-04 21:32:22 UTC) #22
Stephen White
https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/1884553003/diff/80001/cc/output/gl_renderer.cc#newcode146 cc/output/gl_renderer.cc:146: for (w = 1; w < rect->width(); w *= ...
4 years, 7 months ago (2016-05-04 21:47:17 UTC) #24
enne (OOO)
lgtm
4 years, 7 months ago (2016-05-04 21:49:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553003/120001
4 years, 7 months ago (2016-05-04 21:55:05 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553003/140001
4 years, 7 months ago (2016-05-04 23:36:05 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/65281)
4 years, 7 months ago (2016-05-05 02:14:05 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884553003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884553003/140001
4 years, 7 months ago (2016-05-05 03:38:03 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-05 04:28:14 UTC) #37
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 04:29:19 UTC) #39
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d47a9ef38a0c81f0250e575f08fb47fb56fe1d66
Cr-Commit-Position: refs/heads/master@{#391753}

Powered by Google App Engine
This is Rietveld 408576698