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

Issue 1849763002: Use sk_sp-based shader setting APIs (Closed)

Created:
4 years, 8 months ago by tomhudson
Modified:
4 years, 8 months ago
Reviewers:
danakj, f(malita)
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, jbroman, Justin Novosad, Rik, Stephen Chennney, blink-reviews, f(malita), danakj+watch_chromium.org, kinuko+watch, rwlbuis
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 shader setting APIs Favor Skia's smart pointer based interface over raw pointers. Part 2 after https://codereview.chromium.org/1829303002; removes SK_SUPPORT_LEGACY_CREATESHADER_PTR. BUG=skia:5077, 597620 R=fmalita@chromium.org TBR=danakj@chromium.org Committed: https://crrev.com/a7bbd0df36e31d2b8bcb7e1176c8f1fb624155ab Cr-Commit-Position: refs/heads/master@{#384426} CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Total comments: 1

Patch Set 2 : Review constness + rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -14 lines) Patch
M skia/config/SkUserConfig.h View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FETurbulence.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FETurbulence.cpp View 1 3 chunks +4 lines, -5 lines 0 comments Download
M ui/gfx/canvas.cc View 2 chunks +1 line, -4 lines 3 comments Download

Messages

Total messages: 20 (8 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/1849763002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849763002/1
4 years, 8 months ago (2016-03-31 15:01:49 UTC) #2
tomhudson
This is simpler than we feared, and if I don't do this first then the ...
4 years, 8 months ago (2016-03-31 15:23:39 UTC) #3
f(malita)
lgtm https://codereview.chromium.org/1849763002/diff/1/third_party/WebKit/Source/platform/graphics/filters/FETurbulence.h File third_party/WebKit/Source/platform/graphics/filters/FETurbulence.h (right): https://codereview.chromium.org/1849763002/diff/1/third_party/WebKit/Source/platform/graphics/filters/FETurbulence.h#newcode68 third_party/WebKit/Source/platform/graphics/filters/FETurbulence.h:68: sk_sp<SkShader> createShader(); While we touch this: looks like ...
4 years, 8 months ago (2016-03-31 15:38:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849763002/20001
4 years, 8 months ago (2016-03-31 16:54:52 UTC) #7
danakj
https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc File ui/gfx/canvas.cc (right): https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc#newcode503 ui/gfx/canvas.cc:503: paint->setShader(CreateImageRepShader(image_rep, SkShader::kRepeat_TileMode, How does it work? CreateIRShader returns a ...
4 years, 8 months ago (2016-03-31 19:50:02 UTC) #8
f(malita)
https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc File ui/gfx/canvas.cc (right): https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc#newcode503 ui/gfx/canvas.cc:503: paint->setShader(CreateImageRepShader(image_rep, SkShader::kRepeat_TileMode, On 2016/03/31 19:50:02, danakj wrote: > How ...
4 years, 8 months ago (2016-03-31 19:51:44 UTC) #9
tomhudson
On 2016/03/31 19:50:02, danakj wrote: > https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc > File ui/gfx/canvas.cc (right): > > https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc#newcode503 > ...
4 years, 8 months ago (2016-03-31 19:51:59 UTC) #10
danakj
https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc File ui/gfx/canvas.cc (right): https://codereview.chromium.org/1849763002/diff/20001/ui/gfx/canvas.cc#newcode503 ui/gfx/canvas.cc:503: paint->setShader(CreateImageRepShader(image_rep, SkShader::kRepeat_TileMode, On 2016/03/31 19:51:44, f(malita) wrote: > On ...
4 years, 8 months ago (2016-03-31 19:53:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/204830)
4 years, 8 months ago (2016-03-31 20:57:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849763002/20001
4 years, 8 months ago (2016-03-31 21:19:49 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-31 22:58:07 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 22:59:11 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a7bbd0df36e31d2b8bcb7e1176c8f1fb624155ab
Cr-Commit-Position: refs/heads/master@{#384426}

Powered by Google App Engine
This is Rietveld 408576698