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

Unified Diff: Source/platform/graphics/Pattern.h

Issue 453653003: [SVG] DisplayList-based patterns. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/DisplayListPattern.cpp ('k') | Source/platform/graphics/Pattern.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Pattern.h
diff --git a/Source/platform/graphics/Pattern.h b/Source/platform/graphics/Pattern.h
index 2aa2cde64ca8774a844debc49df1659f764088fa..a255dc5dcf7490107afdd1867050b771f2f2f41c 100644
--- a/Source/platform/graphics/Pattern.h
+++ b/Source/platform/graphics/Pattern.h
@@ -41,6 +41,8 @@ class SkShader;
namespace blink {
+class DisplayList;
+
class PLATFORM_EXPORT Pattern : public RefCounted<Pattern> {
public:
enum RepeatMode {
@@ -53,6 +55,8 @@ public:
static PassRefPtr<Pattern> createBitmapPattern(PassRefPtr<Image> tileImage,
RepeatMode = RepeatModeXY);
+ static PassRefPtr<Pattern> createDisplayListPattern(PassRefPtr<DisplayList>,
+ RepeatMode = RepeatModeXY);
virtual ~Pattern();
SkShader* shader();
« no previous file with comments | « Source/platform/graphics/DisplayListPattern.cpp ('k') | Source/platform/graphics/Pattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698