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

Issue 1239953004: Allow Srcs to veto Sinks based on their broad type. (Closed)

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

Description

Allow Srcs to veto Sinks based on their broad type. This breaks Sinks down into three auto-detected types: - GPU: anything that requests to be run in the GPU enclave - Vector: anything that writes to the stream instead of the bitmap - Raster: everything else Some examples: gpu -> GPU, msaa16 -> GPU, 8888 -> raster, pdf -> vector, svg -> vector, pipe-8888 -> raster, tiles_rt-gpu -> GPU This lets image decoding sinks veto non-raster backends explicitly, and can let particular GMs veto GPU or non-GPU sinks as they like. BUG=skia: Committed: https://skia.googlesource.com/skia/+/e0effd60800bd7c07667e31a6a66e3def8de70c8

Patch Set 1 #

Total comments: 2

Patch Set 2 : scroggo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -120 lines) Patch
M dm/DM.cpp View 4 chunks +37 lines, -18 lines 0 comments Download
M dm/DMSrcSink.h View 4 chunks +5 lines, -0 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 3 chunks +15 lines, -15 lines 0 comments Download
M tools/dm_flags.json View 1 10 chunks +0 lines, -80 lines 0 comments Download
M tools/dm_flags.py View 1 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
mtklein_C
What do you guys think? Seems like we've got multiple use cases for a Src/Sink ...
5 years, 5 months ago (2015-07-17 13:53:55 UTC) #3
scroggo
lgtm Should this CL include changes to the blacklist, where they're no longer necessary? https://codereview.chromium.org/1239953004/diff/1/dm/DMSrcSink.cpp ...
5 years, 5 months ago (2015-07-17 14:10:48 UTC) #4
mtklein
On 2015/07/17 14:10:48, scroggo wrote: > lgtm > > Should this CL include changes to ...
5 years, 5 months ago (2015-07-17 14:22:26 UTC) #5
scroggo
On 2015/07/17 14:22:26, mtklein wrote: > On 2015/07/17 14:10:48, scroggo wrote: > > lgtm > ...
5 years, 5 months ago (2015-07-17 15:08:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239953004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1239953004/20001
5 years, 4 months ago (2015-07-29 13:29:31 UTC) #10
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 4 months ago (2015-07-29 13:29:32 UTC) #11
scroggo
On 2015/07/29 13:29:32, commit-bot: I haz the power wrote: > Note for Reviewers: > The ...
5 years, 4 months ago (2015-07-29 13:31:10 UTC) #12
mtklein
On 2015/07/29 13:31:10, scroggo wrote: > On 2015/07/29 13:29:32, commit-bot: I haz the power wrote: ...
5 years, 4 months ago (2015-07-29 13:31:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239953004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1239953004/20001
5 years, 4 months ago (2015-07-29 13:31:59 UTC) #18
commit-bot: I haz the power
5 years, 4 months ago (2015-07-29 13:37:30 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/e0effd60800bd7c07667e31a6a66e3def8de70c8

Powered by Google App Engine
This is Rietveld 408576698