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

Issue 2296193005: Add a makeDrawContextWithFallback that handles config fallback (Closed)

Created:
4 years, 3 months ago by robertphillips
Modified:
4 years, 3 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add a makeDrawContextWithFallback that handles config fallback This fixes a bug in find_or_create_rrect_blur_mask where an A8-based drawContext was desired but creation was failing b.c. A8 wasn't renderable. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2296193005 Committed: https://skia.googlesource.com/skia/+/48fde9c4127860ca5851b88ba123169b9889445c

Patch Set 1 #

Patch Set 2 : update #

Total comments: 6

Patch Set 3 : Alter contract #

Patch Set 4 : Revised #

Patch Set 5 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -86 lines) Patch
M include/gpu/GrContext.h View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 2 3 4 1 chunk +5 lines, -9 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M src/gpu/GrBlurUtils.cpp View 1 2 3 4 1 chunk +6 lines, -13 lines 0 comments Download
M src/gpu/GrClipStackClip.cpp View 1 2 3 4 1 chunk +5 lines, -10 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 2 chunks +60 lines, -0 lines 0 comments Download
M src/gpu/GrTextureParamsAdjuster.cpp View 1 2 3 4 1 chunk +4 lines, -26 lines 0 comments Download
M src/gpu/GrTextureToYUVPlanes.cpp View 1 2 3 4 1 chunk +25 lines, -22 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (17 generated)
robertphillips
4 years, 3 months ago (2016-09-01 17:16:47 UTC) #6
robertphillips
What do you think about cherry picking this back to M54?
4 years, 3 months ago (2016-09-01 17:19:37 UTC) #9
bsalomon
https://codereview.chromium.org/2296193005/diff/20001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/2296193005/diff/20001/include/gpu/GrContext.h#newcode187 include/gpu/GrContext.h:187: * This method will check the renderability of 'config' ...
4 years, 3 months ago (2016-09-01 19:47:05 UTC) #12
robertphillips
PTAL. I do feel the desire to boost 565 & 4444 to 8888. https://codereview.chromium.org/2296193005/diff/20001/include/gpu/GrContext.h File ...
4 years, 3 months ago (2016-09-01 20:52:54 UTC) #13
robertphillips
PTAL
4 years, 3 months ago (2016-09-01 22:16:01 UTC) #15
bsalomon
On 2016/09/01 22:16:01, robertphillips wrote: > PTAL I like this a lot better. However, do ...
4 years, 3 months ago (2016-09-02 13:13:05 UTC) #16
robertphillips
renamed & now on GrContext
4 years, 3 months ago (2016-09-02 18:40:14 UTC) #18
bsalomon
lgtm
4 years, 3 months ago (2016-09-02 18:58:55 UTC) #19
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/2296193005/80001
4 years, 3 months ago (2016-09-06 11:54:53 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 12:20:23 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/48fde9c4127860ca5851b88ba123169b9889445c

Powered by Google App Engine
This is Rietveld 408576698