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

Unified Diff: src/image/SkImageShader.cpp

Issue 1388113002: Bye bye processor data manager (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove files Created 5 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 | « src/image/SkImageShader.h ('k') | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImageShader.cpp
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp
index fde0f0c9d56a93d1f4bc3f1d3bfe16ce9bdbfa9f..6c82fa91f8aacdfce5a73a8919fc35f1fc909a73 100644
--- a/src/image/SkImageShader.cpp
+++ b/src/image/SkImageShader.cpp
@@ -85,8 +85,7 @@ void SkImageShader::toString(SkString* str) const {
const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context,
const SkMatrix& viewM,
const SkMatrix* localMatrix,
- SkFilterQuality filterQuality,
- GrProcessorDataManager* mgr) const {
+ SkFilterQuality filterQuality) const {
SkMatrix matrix;
matrix.setIDiv(fImage->width(), fImage->height());
@@ -130,9 +129,9 @@ const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context
SkAutoTUnref<GrFragmentProcessor> inner;
if (doBicubic) {
- inner.reset(GrBicubicEffect::Create(mgr, texture, matrix, tm));
+ inner.reset(GrBicubicEffect::Create(texture, matrix, tm));
} else {
- inner.reset(GrSimpleTextureEffect::Create(mgr, texture, matrix, params));
+ inner.reset(GrSimpleTextureEffect::Create(texture, matrix, params));
}
if (GrPixelConfigIsAlphaOnly(texture->config())) {
« no previous file with comments | « src/image/SkImageShader.h ('k') | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698