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

Issue 2165703002: Make sk_app::WindowContext directly create a SkSurface without an intermediate GrRenderTarget (Closed)

Created:
4 years, 5 months ago by bsalomon
Modified:
4 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Make sk_app::WindowContext directly create a SkSurface without an intermediate GrRenderTarget GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2165703002 Committed: https://skia.googlesource.com/skia/+/c7b4b28496a94c3fce7f11a18ce04deffbf9cfcb

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -10 lines) Patch
M tools/viewer/sk_app/GLWindowContext.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.cpp View 1 chunk +1 line, -2 lines 2 comments Download
M tools/viewer/sk_app/WindowContext.h View 2 chunks +3 lines, -2 lines 2 comments Download
M tools/viewer/sk_app/WindowContext.cpp View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
bsalomon
4 years, 5 months ago (2016-07-19 16:04:20 UTC) #3
Brian Osman
https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/WindowContext.h File tools/viewer/sk_app/WindowContext.h (right): https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/WindowContext.h#newcode54 tools/viewer/sk_app/WindowContext.h:54: sk_sp<SkSurface> createRenderSurface(GrBackendRenderTargetDesc, int colorBits); Pass the desc by const& ...
4 years, 5 months ago (2016-07-19 16:08:19 UTC) #4
bsalomon
https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/WindowContext.h File tools/viewer/sk_app/WindowContext.h (right): https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/WindowContext.h#newcode54 tools/viewer/sk_app/WindowContext.h:54: sk_sp<SkSurface> createRenderSurface(GrBackendRenderTargetDesc, int colorBits); On 2016/07/19 16:08:18, Brian Osman ...
4 years, 5 months ago (2016-07-19 16:19:18 UTC) #5
Brian Osman
lgtm
4 years, 5 months ago (2016-07-19 16:21:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2165703002/1
4 years, 5 months ago (2016-07-19 16:25:09 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/c7b4b28496a94c3fce7f11a18ce04deffbf9cfcb
4 years, 5 months ago (2016-07-19 16:46:32 UTC) #10
jvanverth1
https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/VulkanWindowContext.cpp File tools/viewer/sk_app/VulkanWindowContext.cpp (right): https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/VulkanWindowContext.cpp#newcode261 tools/viewer/sk_app/VulkanWindowContext.cpp:261: fRenderTargets = new sk_sp<GrRenderTarget>[fImageCount]; A little late to the ...
4 years, 5 months ago (2016-07-19 20:19:50 UTC) #11
bsalomon
4 years, 5 months ago (2016-07-19 20:38:37 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/VulkanW...
File tools/viewer/sk_app/VulkanWindowContext.cpp (right):

https://codereview.chromium.org/2165703002/diff/1/tools/viewer/sk_app/VulkanW...
tools/viewer/sk_app/VulkanWindowContext.cpp:261: fRenderTargets = new
sk_sp<GrRenderTarget>[fImageCount];
On 2016/07/19 20:19:50, jvanverth1 wrote:
> A little late to the party, but it looks like fRenderTargets isn't used any
> more.

Oh duh! Will fix.

Powered by Google App Engine
This is Rietveld 408576698