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

Issue 1694943002: When a surface is backed by an external render target force a copy on image snap (Closed)

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

Description

When a surface is backed by an external render target force a copy on image snap BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1694943002 Committed: https://skia.googlesource.com/skia/+/b2c0133caf0f03462385c19634281c351355c979

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase and add comment #

Patch Set 3 : Fix accidental comment change #

Patch Set 4 : test git config branch.nollvm.skip-deps-uploads True #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M src/gpu/GrGpuResource.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M src/gpu/GrGpuResourcePriv.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/gpu/GrResourceCache.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrResourceCache.cpp View 1 3 chunks +5 lines, -5 lines 0 comments Download
M src/image/SkSurface_Gpu.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
bsalomon
This prevents the sksurface from rendering to a FBO other than than the one the ...
4 years, 10 months ago (2016-02-23 21:05:48 UTC) #4
robertphillips
lgtm + a dox request https://codereview.chromium.org/1694943002/diff/1/src/image/SkSurface_Gpu.cpp File src/image/SkSurface_Gpu.cpp (right): https://codereview.chromium.org/1694943002/diff/1/src/image/SkSurface_Gpu.cpp#newcode83 src/image/SkSurface_Gpu.cpp:83: SkAutoTUnref<GrTexture> copy; // When ...
4 years, 10 months ago (2016-02-24 13:11:55 UTC) #5
bsalomon
https://codereview.chromium.org/1694943002/diff/1/src/image/SkSurface_Gpu.cpp File src/image/SkSurface_Gpu.cpp (right): https://codereview.chromium.org/1694943002/diff/1/src/image/SkSurface_Gpu.cpp#newcode83 src/image/SkSurface_Gpu.cpp:83: SkAutoTUnref<GrTexture> copy; On 2016/02/24 13:11:54, robertphillips wrote: > // ...
4 years, 10 months ago (2016-02-26 17:44:44 UTC) #6
commit-bot: I haz the power
This CL has an open dependency (Issue 1721943003 Patch 20001). Please resolve the dependency and ...
4 years, 10 months ago (2016-02-26 17:44:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1694943002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1694943002/80001
4 years, 10 months ago (2016-02-26 18:22:33 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 18:37:32 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://skia.googlesource.com/skia/+/b2c0133caf0f03462385c19634281c351355c979

Powered by Google App Engine
This is Rietveld 408576698