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

Issue 111143005: cc: Gather and lock/unlock SkDiscardablePixelRefs instead of skia::LazyPixelRefs. (Closed)

Created:
7 years ago by reveman
Modified:
6 years, 11 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Gather and lock/unlock SkDiscardablePixelRefs instead of skia::LazyPixelRefs. This removes the use of skia::LazyPixelRef from the compositor, which allows us to gather and lock/unlock SkDiscardablePixelRefs in the instead. skia::LazyPixelRef will be removed completely when no longer in use by blink. BUG=329094 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243660

Patch Set 1 #

Total comments: 10

Patch Set 2 : address review feeback #

Patch Set 3 : rebase #

Patch Set 4 : build fix #

Patch Set 5 : s/lazy/discardable/ to fix cc_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -1486 lines) Patch
M cc/resources/picture.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M cc/resources/picture.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M cc/resources/picture_pile_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/picture_pile_impl_unittest.cc View 1 2 3 4 14 chunks +90 lines, -91 lines 0 comments Download
M cc/resources/picture_unittest.cc View 1 2 3 4 13 chunks +41 lines, -37 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 5 chunks +7 lines, -5 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/test/skia_common.h View 2 chunks +1 line, -19 lines 0 comments Download
M cc/test/skia_common.cc View 2 chunks +4 lines, -31 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D skia/ext/lazy_pixel_ref_utils.h View 1 chunk +0 lines, -33 lines 0 comments Download
D skia/ext/lazy_pixel_ref_utils.cc View 1 chunk +0 lines, -411 lines 0 comments Download
D skia/ext/lazy_pixel_ref_utils_unittest.cc View 1 2 1 chunk +0 lines, -709 lines 0 comments Download
A skia/ext/pixel_ref_utils.h View 1 1 chunk +32 lines, -0 lines 0 comments Download
A + skia/ext/pixel_ref_utils.cc View 1 4 chunks +20 lines, -21 lines 0 comments Download
A + skia/ext/pixel_ref_utils_unittest.cc View 1 2 3 27 chunks +96 lines, -105 lines 0 comments Download
M skia/skia_chrome.gypi View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
reveman
This makes the compositor gather discardable pixel refs instead of lazy pixel refs. Follow up ...
7 years ago (2013-12-20 16:23:33 UTC) #1
vmpstr
Do you want to add some sort of a comment to lazy_pixel_ref.h indicating that it's ...
7 years ago (2013-12-20 17:41:06 UTC) #2
reveman
https://codereview.chromium.org/111143005/diff/1/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (left): https://codereview.chromium.org/111143005/diff/1/cc/resources/raster_worker_pool.cc#oldcode13 cc/resources/raster_worker_pool.cc:13: #include "skia/ext/lazy_pixel_ref.h" On 2013/12/20 17:41:06, vmpstr wrote: > include ...
7 years ago (2013-12-20 18:22:19 UTC) #3
enne (OOO)
lgtm % vmpstr's approval. I don't have anything else to add; thanks for taking care ...
7 years ago (2013-12-20 18:22:24 UTC) #4
vmpstr
lgtm2. This is pretty great (and I can't wait for the follow-up :P)
7 years ago (2013-12-20 18:31:06 UTC) #5
reveman
+tomhudson for skia/ review
7 years ago (2013-12-20 19:12:33 UTC) #6
reveman
+qinmin who wrote the LazyPixelRef code
6 years, 11 months ago (2014-01-07 21:54:57 UTC) #7
qinmin
lgtm
6 years, 11 months ago (2014-01-07 22:37:44 UTC) #8
tomhudson
Don't know how I missed this last time around; skia renamings LGTM.
6 years, 11 months ago (2014-01-08 11:01:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/111143005/90001
6 years, 11 months ago (2014-01-08 16:31:41 UTC) #10
commit-bot: I haz the power
Failed to apply patch for skia/ext/pixel_ref_utils_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; A skia/ext/pixel_ref_utils_unittest.cc ...
6 years, 11 months ago (2014-01-08 16:31:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/111143005/210001
6 years, 11 months ago (2014-01-08 16:54:25 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=211316
6 years, 11 months ago (2014-01-08 17:14:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/111143005/460001
6 years, 11 months ago (2014-01-08 17:51:35 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cc_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=211366
6 years, 11 months ago (2014-01-08 18:30:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/111143005/690001
6 years, 11 months ago (2014-01-08 19:11:55 UTC) #16
Alpha Left Google
Thanks. LGTM. Don't know why I missed this.
6 years, 11 months ago (2014-01-08 20:42:17 UTC) #17
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 21:57:14 UTC) #18
Message was sent while issue was closed.
Change committed as 243660

Powered by Google App Engine
This is Rietveld 408576698