|
|
Created:
4 years, 7 months ago by robertphillips Modified:
4 years, 7 months ago CC:
reviews_skia.org Base URL:
https://skia.googlesource.com/skia.git@master Target Ref:
refs/heads/master Project:
skia Visibility:
Public. |
DescriptionAdd sk_sp to SkSurface_Gpu and SkGpuDevice
Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1925803004
Committed: https://skia.googlesource.com/skia/+/24e912869499352e8947d3943acb43edd7ffded6
Patch Set 1 #
Total comments: 8
Patch Set 2 : Address code review issues #
Messages
Total messages: 33 (17 generated)
Description was changed from ========== Add sk_sp to SkSurface_Gpu and SkGpuDevice Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) ========== to ========== Add sk_sp to SkSurface_Gpu and SkGpuDevice Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ==========
Description was changed from ========== Add sk_sp to SkSurface_Gpu and SkGpuDevice Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ========== to ========== Add sk_sp to SkSurface_Gpu and SkGpuDevice Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ==========
robertphillips@google.com changed reviewers: + fmalita@chromium.org, reed@google.com
The CQ bit was checked by robertphillips@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803004/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-D...)
robertphillips@google.com changed reviewers: + bsalomon@google.com
The CQ bit was checked by robertphillips@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803004/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-D...)
The CQ bit was checked by robertphillips@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803004/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/bu...)
The CQ bit was checked by robertphillips@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803004/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/bu...)
LGTM w/ nits https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:132: return SkGpuDevice::Make(rt, rt->width(), rt->height(), props, init); std::move(rt) https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:144: return sk_sp<SkGpuDevice>(new SkGpuDevice(rt.get(), width, height, props, flags)); sk_make_sp<SkGpuDevice>(...) https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:160: return sk_sp<SkGpuDevice>(new SkGpuDevice(rt, info.width(), info.height(), props, flags)); ditto
https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:132: return SkGpuDevice::Make(rt, rt->width(), rt->height(), props, init); On 2016/04/29 01:45:16, f(malita) wrote: > std::move(rt) (better grab width/height before the call too if we do this:)
https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:132: return SkGpuDevice::Make(rt, rt->width(), rt->height(), props, init); On 2016/04/29 01:51:53, f(malita) wrote: > On 2016/04/29 01:45:16, f(malita) wrote: > > std::move(rt) > > (better grab width/height before the call too if we do this:) Done. https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:132: return SkGpuDevice::Make(rt, rt->width(), rt->height(), props, init); On 2016/04/29 01:45:16, f(malita) wrote: > std::move(rt) Done. https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:144: return sk_sp<SkGpuDevice>(new SkGpuDevice(rt.get(), width, height, props, flags)); On 2016/04/29 01:45:16, f(malita) wrote: > sk_make_sp<SkGpuDevice>(...) SkGpuDevice's ctor is private so the sk_make_sp syntax doesn't work. https://codereview.chromium.org/1925803004/diff/1/src/gpu/SkGpuDevice.cpp#new... src/gpu/SkGpuDevice.cpp:160: return sk_sp<SkGpuDevice>(new SkGpuDevice(rt, info.width(), info.height(), props, flags)); On 2016/04/29 01:45:16, f(malita) wrote: > ditto Same here.
The CQ bit was checked by robertphillips@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803004/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by robertphillips@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from fmalita@chromium.org Link to the patchset: https://codereview.chromium.org/1925803004/#ps20001 (title: "Address code review issues")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803004/20001
Message was sent while issue was closed.
Description was changed from ========== Add sk_sp to SkSurface_Gpu and SkGpuDevice Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ========== to ========== Add sk_sp to SkSurface_Gpu and SkGpuDevice Split off of https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... Committed: https://skia.googlesource.com/skia/+/24e912869499352e8947d3943acb43edd7ffded6 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/24e912869499352e8947d3943acb43edd7ffded6 |