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

Side by Side Diff: dm/DMSrcSink.h

Issue 2252443002: Only test SVG DM sources against direct raster/gpu sinks. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef DMSrcSink_DEFINED 8 #ifndef DMSrcSink_DEFINED
9 #define DMSrcSink_DEFINED 9 #define DMSrcSink_DEFINED
10 10
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 }; 249 };
250 250
251 #if defined(SK_XML) 251 #if defined(SK_XML)
252 class SVGSrc : public Src { 252 class SVGSrc : public Src {
253 public: 253 public:
254 explicit SVGSrc(Path path); 254 explicit SVGSrc(Path path);
255 255
256 Error draw(SkCanvas*) const override; 256 Error draw(SkCanvas*) const override;
257 SkISize size() const override; 257 SkISize size() const override;
258 Name name() const override; 258 Name name() const override;
259 bool veto(SinkFlags) const override;
259 260
260 private: 261 private:
261 Path fPath; 262 Path fPath;
262 263
263 typedef Src INHERITED; 264 typedef Src INHERITED;
264 }; 265 };
265 #endif // SK_XML 266 #endif // SK_XML
266 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~*/ 267 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~*/
267 268
268 class MSKPSrc : public Src { 269 class MSKPSrc : public Src {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 449
449 class ViaLite : public Via { 450 class ViaLite : public Via {
450 public: 451 public:
451 explicit ViaLite(Sink* sink) : Via(sink) {} 452 explicit ViaLite(Sink* sink) : Via(sink) {}
452 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 453 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
453 }; 454 };
454 455
455 } // namespace DM 456 } // namespace DM
456 457
457 #endif//DMSrcSink_DEFINED 458 #endif//DMSrcSink_DEFINED
OLDNEW
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698