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

Issue 1531493002: Avoid pixel GPU readback in saveLayerWithPickup (Closed)

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

Description

Avoid pixel GPU readback in saveLayerWithPickup When the default framebuffer is wrapped in a device for rendering we don't get a GrTexture. This CL adds a copy to a temporary texture in this instance so the rest of the Ganesh pipeline can continue on as usual. Committed: https://skia.googlesource.com/skia/+/7354a4b193aaaeae43fb9ede90e1158fa46c372b GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1531493002

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : more clean up #

Total comments: 4

Patch Set 4 : Quiet compiler complaints #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M src/core/SkCanvas.cpp View 1 2 3 3 chunks +36 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLDefines.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGLUtil.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
robertphillips
5 years ago (2015-12-15 19:58:32 UTC) #4
bsalomon
https://codereview.chromium.org/1531493002/diff/40001/src/gpu/gl/GrGLDefines.h File src/gpu/gl/GrGLDefines.h (right): https://codereview.chromium.org/1531493002/diff/40001/src/gpu/gl/GrGLDefines.h#newcode823 src/gpu/gl/GrGLDefines.h:823: #define GR_GL_FRAMEBUFFER_DEFAULT 0x8218 what's this for? https://codereview.chromium.org/1531493002/diff/40001/src/gpu/gl/GrGLUtil.h File src/gpu/gl/GrGLUtil.h ...
5 years ago (2015-12-15 20:03:48 UTC) #5
robertphillips
https://codereview.chromium.org/1531493002/diff/40001/src/gpu/gl/GrGLDefines.h File src/gpu/gl/GrGLDefines.h (right): https://codereview.chromium.org/1531493002/diff/40001/src/gpu/gl/GrGLDefines.h#newcode823 src/gpu/gl/GrGLDefines.h:823: #define GR_GL_FRAMEBUFFER_DEFAULT 0x8218 On 2015/12/15 20:03:47, bsalomon wrote: > ...
5 years ago (2015-12-15 20:13:24 UTC) #6
bsalomon
lgtm
5 years ago (2015-12-15 20:16:12 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1531493002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1531493002/40001
5 years ago (2015-12-15 20:17:58 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/4854)
5 years ago (2015-12-15 20:18:51 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/1531493002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1531493002/60001
5 years ago (2015-12-15 20:22:30 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 20:37:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1531493002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1531493002/60001
5 years ago (2015-12-16 13:07:52 UTC) #18
commit-bot: I haz the power
5 years ago (2015-12-16 13:08:32 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/7354a4b193aaaeae43fb9ede90e1158fa46c372b

Powered by Google App Engine
This is Rietveld 408576698