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

Issue 1931293003: Revert of Make stencils be attachable to render targets created via… (Closed)

Created:
4 years, 7 months ago by dogben
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.

Description

Revert of Make stencils be attachable to render targets created via SkSurface::MakeFromBackendTextureAsRender… (patchset #5 id:80001 of https://codereview.chromium.org/1924183003/ ) Reason for revert: Breaking the DEPS roll. Also seems to be causing failure in DM on some Windows bots: c:\0\build\slave\workdir\build\skia\tests\surfacetest.cpp:963 kShapeColor == bitmap.getColor(kW / 2, kH / 2) Original issue's 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. > > The test contains disabled code. The > MakeFromBackendTextureAsRenderTarget does not copy the existing texture > contents to the FBO render buffer. > 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 TBR=bsalomon@google.com,kkinnunen@nvidia.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://skia.googlesource.com/skia/+/817fed3cb7d88e2b40b4c7cf887f34911aa79495

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -80 lines) Patch
M src/gpu/gl/GrGLGpu.cpp View 2 chunks +8 lines, -9 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 chunk +0 lines, -71 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
dogben
Created Revert of Make stencils be attachable to render targets created via SkSurface::MakeFromBackendTextureAsRender…
4 years, 7 months ago (2016-04-29 17:18:01 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931293003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931293003/1
4 years, 7 months ago (2016-04-29 17:23:01 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-29 17:34:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931293003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931293003/1
4 years, 7 months ago (2016-04-29 18:13:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931293003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931293003/1
4 years, 7 months ago (2016-04-29 18:17:02 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-04-29 18:17:11 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/817fed3cb7d88e2b40b4c7cf887f34911aa79495

Powered by Google App Engine
This is Rietveld 408576698