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

Issue 2216403002: use SkMakeBitmapShader to not force copies when possible (Closed)

Created:
4 years, 4 months ago by reed1
Modified:
4 years, 4 months ago
Reviewers:
f(malita), mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

use SkMakeBitmapShader to not force copies when possible BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2216403002 Committed: https://skia.googlesource.com/skia/+/f77c47b78217883e6f074dd7e3e5bed5f82e144d

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix ref-count manually for allocator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M src/core/SkBitmapDevice.cpp View 1 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
reed1
4 years, 4 months ago (2016-08-05 14:28:02 UTC) #3
f(malita)
LGTM Do you suspect this is the root cause for the recent regressions?
4 years, 4 months ago (2016-08-05 14:34:32 UTC) #4
reed1
On 2016/08/05 14:34:32, f(malita) wrote: > LGTM > > Do you suspect this is the ...
4 years, 4 months ago (2016-08-05 15:28:12 UTC) #5
reed1
Actually, perhaps we shouldn't "fix" this at the call-site, since we (now) claim that we ...
4 years, 4 months ago (2016-08-05 15:42:54 UTC) #6
reed1
On 2016/08/05 15:42:54, reed1 wrote: > Actually, perhaps we shouldn't "fix" this at the call-site, ...
4 years, 4 months ago (2016-08-05 15:43:31 UTC) #7
mtklein
https://codereview.chromium.org/2216403002/diff/1/src/core/SkBitmapDevice.cpp File src/core/SkBitmapDevice.cpp (right): https://codereview.chromium.org/2216403002/diff/1/src/core/SkBitmapDevice.cpp#newcode329 src/core/SkBitmapDevice.cpp:329: SkTBlitterAllocator allocator; Perhaps as a follow up, I think ...
4 years, 4 months ago (2016-08-05 15:46:44 UTC) #9
f(malita)
https://codereview.chromium.org/2216403002/diff/1/src/core/SkBitmapDevice.cpp File src/core/SkBitmapDevice.cpp (right): https://codereview.chromium.org/2216403002/diff/1/src/core/SkBitmapDevice.cpp#newcode329 src/core/SkBitmapDevice.cpp:329: SkTBlitterAllocator allocator; On 2016/08/05 15:46:43, mtklein wrote: > Perhaps ...
4 years, 4 months ago (2016-08-05 15:52:50 UTC) #10
reed1
https://codereview.chromium.org/2216403002/diff/1/src/core/SkBitmapDevice.cpp File src/core/SkBitmapDevice.cpp (right): https://codereview.chromium.org/2216403002/diff/1/src/core/SkBitmapDevice.cpp#newcode329 src/core/SkBitmapDevice.cpp:329: SkTBlitterAllocator allocator; On 2016/08/05 15:46:43, mtklein wrote: > Perhaps ...
4 years, 4 months ago (2016-08-05 16:45:12 UTC) #11
reed1
I will try adding the enum as an explicit parameter for clarity in the next ...
4 years, 4 months ago (2016-08-05 16:51:29 UTC) #14
reed1
actually, that change (using enum more, renaming it to be slightly clearer) is getting large, ...
4 years, 4 months ago (2016-08-05 17:05:04 UTC) #15
mtklein
On 2016/08/05 17:05:04, reed1 wrote: > actually, that change (using enum more, renaming it to ...
4 years, 4 months ago (2016-08-05 17:08:33 UTC) #16
f(malita)
On 2016/08/05 17:05:04, reed1 wrote: > actually, that change (using enum more, renaming it to ...
4 years, 4 months ago (2016-08-05 17:08:43 UTC) #17
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/2216403002/20001
4 years, 4 months ago (2016-08-05 17:09:16 UTC) #21
reed1
enum CL https://codereview.chromium.org/2220603002#
4 years, 4 months ago (2016-08-05 17:10:04 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 17:15:03 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/f77c47b78217883e6f074dd7e3e5bed5f82e144d

Powered by Google App Engine
This is Rietveld 408576698