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

Unified Diff: include/core/SkComposeShader.h

Issue 1292353005: Added SkComposeShader GPU implementation (Closed) Base URL: https://skia.googlesource.com/skia@cs3_glinstances2
Patch Set: asFragmentProcessor returns false if xfermode is kClear_Mode Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkComposeShader.cpp » ('j') | src/core/SkComposeShader.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkComposeShader.h
diff --git a/include/core/SkComposeShader.h b/include/core/SkComposeShader.h
index dd10447a04880760a59b88d75eac4d7c0fd85480..956ba6e00d2ad003ae27817160bb359003d3d5c0 100644
--- a/include/core/SkComposeShader.h
+++ b/include/core/SkComposeShader.h
@@ -36,6 +36,10 @@ public:
size_t contextSize() const override;
+ bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix& viewM, const SkMatrix*,
+ GrColor*, GrProcessorDataManager*,
+ GrFragmentProcessor**) const override;
+
class ComposeShaderContext : public SkShader::Context {
public:
// When this object gets destroyed, it will call contextA and contextB's destructor
« no previous file with comments | « no previous file | src/core/SkComposeShader.cpp » ('j') | src/core/SkComposeShader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698