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

Issue 1924183003: Make stencils be attachable to render targets created via SkSurface::MakeFromBackendTextureAsRender… (Closed)

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

Description

Make stencils be attachable to render targets created via SkSurface::MakeFromBackendTextureAsRenderTarget This is a regression from "Refactor to separate backend object lifecycle and GpuResource budget decision". GrGLRenderTarget::CreateWrapped creates only render targets that wrap the FBO. GrGLRenderTargetTexture::CreateWrapped creates render targets that wrap the texture. Use the latter as the implementation for SkSurface::MakeFromBackendTextureAsRenderTarget. BUG=608238 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1924183003 Committed: https://skia.googlesource.com/skia/+/fe635fd76bbc375d527d1884af23cc617ca364ee Committed: https://skia.googlesource.com/skia/+/1cb00e42bff455e23f6883bf09680438fa631224

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : use if (sampleCnt == 0) #

Patch Set 4 : #

Patch Set 5 : less risky #

Patch Set 6 : retry the test #

Patch Set 7 : debug for debug #

Patch Set 8 : remove the shape check from the test #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -97 lines) Patch
M include/core/SkSurface.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 2 chunks +9 lines, -8 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 3 4 5 6 7 8 4 chunks +160 lines, -89 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
Kimmo Kinnunen
4 years, 7 months ago (2016-04-28 06:39:49 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924183003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924183003/1
4 years, 7 months ago (2016-04-28 06:40:03 UTC) #5
bsalomon
Does the commented out test fail only when sample count is non-zero? I'm a bit ...
4 years, 7 months ago (2016-04-28 14:12:26 UTC) #6
bsalomon
On 2016/04/28 14:12:26, bsalomon wrote: > Does the commented out test fail only when sample ...
4 years, 7 months ago (2016-04-28 14:18:48 UTC) #7
Kimmo Kinnunen
On 2016/04/28 14:12:26, bsalomon wrote: > Does the commented out test fail only when sample ...
4 years, 7 months ago (2016-04-28 14:37:37 UTC) #8
bsalomon
On 2016/04/28 14:37:37, Kimmo Kinnunen wrote: > On 2016/04/28 14:12:26, bsalomon wrote: > > Does ...
4 years, 7 months ago (2016-04-28 15:00:49 UTC) #9
Kimmo Kinnunen
On 2016/04/28 15:00:49, bsalomon wrote: > Ok, I propose enabling the test for sample count ...
4 years, 7 months ago (2016-04-28 15:19:38 UTC) #10
bsalomon
On 2016/04/28 15:19:38, Kimmo Kinnunen wrote: > On 2016/04/28 15:00:49, bsalomon wrote: > > Ok, ...
4 years, 7 months ago (2016-04-28 15:24:34 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924183003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924183003/80001
4 years, 7 months ago (2016-04-29 11:51:20 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/6492) Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on ...
4 years, 7 months ago (2016-04-29 11:57:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924183003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924183003/80001
4 years, 7 months ago (2016-04-29 13:05:24 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://skia.googlesource.com/skia/+/fe635fd76bbc375d527d1884af23cc617ca364ee
4 years, 7 months ago (2016-04-29 13:41:32 UTC) #20
dogben
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1931293003/ by benjaminwagner@google.com. ...
4 years, 7 months ago (2016-04-29 17:18:00 UTC) #21
Kimmo Kinnunen
Brian, would it be possible to commit this without the shape check in the test? ...
4 years, 7 months ago (2016-05-02 17:44:43 UTC) #24
Kimmo Kinnunen
On 2016/05/02 17:44:43, Kimmo Kinnunen wrote: > Brian, would it be possible to commit this ...
4 years, 7 months ago (2016-05-02 17:45:40 UTC) #25
bsalomon
On 2016/05/02 17:45:40, Kimmo Kinnunen wrote: > On 2016/05/02 17:44:43, Kimmo Kinnunen wrote: > > ...
4 years, 7 months ago (2016-05-02 17:51:55 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924183003/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924183003/150001
4 years, 7 months ago (2016-05-03 06:05:03 UTC) #29
commit-bot: I haz the power
Committed patchset #9 (id:150001) as https://skia.googlesource.com/skia/+/1cb00e42bff455e23f6883bf09680438fa631224
4 years, 7 months ago (2016-05-03 06:16:48 UTC) #31
jvanverth1
4 years, 7 months ago (2016-05-03 12:37:36 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:150001) has been created in
https://codereview.chromium.org/1943843002/ by jvanverth@google.com.

The reason for reverting is: Appears to be breaking the roll..

Powered by Google App Engine
This is Rietveld 408576698