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

Unified Diff: gm/dcshader.cpp

Issue 1225673007: Initial CL to create dummy GrShaderDataManager and thread it through (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 5 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 | gyp/gpu.gypi » ('j') | include/effects/SkPerlinNoiseShader.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/dcshader.cpp
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp
index a456c0c24ae1510b0a3c7051abcedc31f4783960..0f481df2682ed082353966f8791bc24b4687d616 100644
--- a/gm/dcshader.cpp
+++ b/gm/dcshader.cpp
@@ -34,7 +34,7 @@ public:
}
bool asFragmentProcessor(GrContext*, const SkPaint& paint, const SkMatrix& viewM,
- const SkMatrix* localMatrix, GrColor* color,
+ const SkMatrix* localMatrix, GrColor* color, GrShaderDataManager*,
GrFragmentProcessor** fp) const override;
#ifndef SK_IGNORE_TO_STRING
@@ -101,7 +101,7 @@ private:
bool DCShader::asFragmentProcessor(GrContext*, const SkPaint& paint, const SkMatrix& viewM,
const SkMatrix* localMatrix, GrColor* color,
- GrFragmentProcessor** fp) const {
+ GrShaderDataManager*, GrFragmentProcessor** fp) const {
*fp = SkNEW_ARGS(DCFP, (fDeviceMatrix));
*color = GrColorPackA4(paint.getAlpha());
return true;
« no previous file with comments | « no previous file | gyp/gpu.gypi » ('j') | include/effects/SkPerlinNoiseShader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698