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

Issue 1819683002: Use sk_sp-based picture recording APIs (Closed)

Created:
4 years, 9 months ago by f(malita)
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, jbauman+watch_chromium.org, jbroman, Justin Novosad, kalyank, kinuko+watch, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, rwlbuis, Stephen Chennney, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use sk_sp-based picture recording APIs 1) use SkPictureRecorder::finishRecordingAsPicture() over endRecordingAsPicture() 2) convert to sk_sp<SkPicture> fields/params where feasible BUG=skia:5077 R=reed@google.com,danakj@chromium.org,enne@chromium.org TBR=pdr@chromium.org,alekseys@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/2d743288889c7804e6431bf389cdc6084aaa49ef Cr-Commit-Position: refs/heads/master@{#382563}

Patch Set 1 #

Patch Set 2 : unit test build fixes #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : skspify GetPicture/GetFlattenedPicture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -115 lines) Patch
M cc/blink/web_display_item_list_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M cc/blink/web_display_item_list_impl.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/picture_image_layer.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M cc/layers/picture_layer.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/playback/display_item_list.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/playback/display_item_list.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M cc/playback/display_item_list_unittest.cc View 1 16 chunks +15 lines, -21 lines 0 comments Download
M cc/playback/display_list_raster_source.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M cc/playback/display_list_raster_source.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M cc/playback/drawing_display_item.h View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/playback/drawing_display_item.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M cc/raster/gpu_rasterizer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/test/fake_content_layer_client.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M cc/test/solid_color_content_layer_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_pixeltest_masks.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_tiles.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_skia.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/analysis_canvas_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M skia/ext/pixel_ref_utils_unittest.cc View 1 2 11 chunks +12 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifactToSkCanvas.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifactToSkCanvas.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImpl.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebDisplayItemList.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/paint_recorder.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (12 generated)
f(malita)
This is the Chromium side, there's also a Blink CL to follow (the Blink diffs ...
4 years, 9 months ago (2016-03-20 03:12:03 UTC) #6
reed1
https://codereview.chromium.org/1819683002/diff/100001/cc/blink/web_display_item_list_impl.h File cc/blink/web_display_item_list_impl.h (right): https://codereview.chromium.org/1819683002/diff/100001/cc/blink/web_display_item_list_impl.h#newcode46 cc/blink/web_display_item_list_impl.h:46: sk_sp<const SkPicture>) override; At some point it will be ...
4 years, 9 months ago (2016-03-21 13:07:56 UTC) #7
f(malita)
https://codereview.chromium.org/1819683002/diff/100001/cc/blink/web_display_item_list_impl.h File cc/blink/web_display_item_list_impl.h (right): https://codereview.chromium.org/1819683002/diff/100001/cc/blink/web_display_item_list_impl.h#newcode46 cc/blink/web_display_item_list_impl.h:46: sk_sp<const SkPicture>) override; On 2016/03/21 13:07:55, reed1 wrote: > ...
4 years, 9 months ago (2016-03-21 14:27:50 UTC) #8
enne (OOO)
lgtm
4 years, 9 months ago (2016-03-21 17:57:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819683002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819683002/120001
4 years, 9 months ago (2016-03-21 18:25:30 UTC) #11
f(malita)
+ moar owners printing/ -> alekseys third_party/WebKit/Source/web -> pdr ui/compositor -> danakj
4 years, 9 months ago (2016-03-21 19:00:32 UTC) #14
danakj
ui/compositor LGTM
4 years, 9 months ago (2016-03-21 20:59:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819683002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819683002/120001
4 years, 9 months ago (2016-03-22 13:26:25 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-22 13:32:26 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 13:33:26 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2d743288889c7804e6431bf389cdc6084aaa49ef
Cr-Commit-Position: refs/heads/master@{#382563}

Powered by Google App Engine
This is Rietveld 408576698