aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBlitter.h
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-05-25 10:38:07 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-25 14:59:07 +0000
commit4aed13889bd9085337e0d4c20df28686687b833b (patch)
treec48dfc9dd6b64b34849d9fe76b7e790ac1c3d6cd /src/core/SkBlitter.h
parent555ea8e994cede6508a6d8fb6c16f99331b2ed37 (diff)
Reland of SkShaderBase
Introduce a private base class (SkShaderBase), to hide implementation details from the public interface (SkShader). Change-Id: Ib1d76cde880bd51868b97408710f8bb38128e536 Reviewed-on: https://skia-review.googlesource.com/17925 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkBlitter.h')
-rw-r--r--src/core/SkBlitter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkBlitter.h b/src/core/SkBlitter.h
index 27552b918f..6558045f4f 100644
--- a/src/core/SkBlitter.h
+++ b/src/core/SkBlitter.h
@@ -13,7 +13,7 @@
#include "SkColor.h"
#include "SkRect.h"
#include "SkRegion.h"
-#include "SkShader.h"
+#include "SkShaderBase.h"
class SkArenaAlloc;
class SkMatrix;
@@ -148,7 +148,7 @@ public:
SkArenaAlloc*);
///@}
- static SkShader::ContextRec::DstType PreferredShaderDest(const SkImageInfo&);
+ static SkShaderBase::ContextRec::DstType PreferredShaderDest(const SkImageInfo&);
static bool UseRasterPipelineBlitter(const SkPixmap&, const SkPaint&);