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

Issue 2223653002: use onPeekBitmap instead of asLegacyBitmap (Closed)

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

use onPeekBitmap instead of asLegacyBitmap Since we know we are raster-backed at this point, it is fine, plus it avoids the copy-mutable logic in asLegacyBitmap, which is not needed here (and is slower if our bitmap was built with kNever_SkCopyPixelsMode). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223653002 Committed: https://skia.googlesource.com/skia/+/9a5a201472c3fb9f02b954ba09ae1ec13ebd50f4

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/image/SkImage_Gpu.cpp View 1 chunk +5 lines, -5 lines 2 comments Download

Messages

Total messages: 17 (8 generated)
reed1
4 years, 4 months ago (2016-08-06 02:35:04 UTC) #3
djsollen
seems good to me, but as I don't touch this code often I'll defer to ...
4 years, 4 months ago (2016-08-06 03:21:22 UTC) #8
robertphillips
https://codereview.chromium.org/2223653002/diff/1/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/2223653002/diff/1/src/image/SkImage_Gpu.cpp#newcode318 src/image/SkImage_Gpu.cpp:318: How do we know we're not in the SkImage_Generator ...
4 years, 4 months ago (2016-08-08 14:32:29 UTC) #9
reed1
https://codereview.chromium.org/2223653002/diff/1/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/2223653002/diff/1/src/image/SkImage_Gpu.cpp#newcode318 src/image/SkImage_Gpu.cpp:318: On 2016/08/08 14:32:29, robertphillips wrote: > How do we ...
4 years, 4 months ago (2016-08-08 15:19:30 UTC) #10
reed1
SkImage_newTextureImage seems to already exercise this. I think we're good to go.
4 years, 4 months ago (2016-08-08 15:36:59 UTC) #11
bsalomon
lgtm to the extent that I understand how raster images work.
4 years, 4 months ago (2016-08-08 15:37:20 UTC) #12
robertphillips
lgtm
4 years, 4 months ago (2016-08-08 15:39:20 UTC) #13
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/2223653002/1
4 years, 4 months ago (2016-08-08 15:39:58 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 16:00:32 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/9a5a201472c3fb9f02b954ba09ae1ec13ebd50f4

Powered by Google App Engine
This is Rietveld 408576698