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

Unified Diff: src/gpu/SkGrPriv.h

Issue 1454933002: Initial implementation of GPU no filter NinePatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 1 month 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
Index: src/gpu/SkGrPriv.h
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h
index 5924ea647dc7045f99e2fede0c090f0d79f76a5c..0b20b0a884bd201f60c08c510cff4fa5982772a1 100644
--- a/src/gpu/SkGrPriv.h
+++ b/src/gpu/SkGrPriv.h
@@ -84,6 +84,13 @@ inline bool SkPaintToGrPaintWithPrimitiveColor(GrContext* context, const SkPaint
false, grPaint);
}
+bool SkPaintToGrPaintWithTexture(GrContext* context,
bsalomon 2015/11/18 17:57:35 Comment explaining what this does? may or may not
joshualitt 2015/11/18 19:07:07 Acknowledged.
+ const SkPaint& paint,
+ const SkMatrix& viewM,
+ const GrFragmentProcessor* fp,
+ bool textureIsAlphaOnly,
+ GrPaint* grPaint);
+
//////////////////////////////////////////////////////////////////////////////
GrSurfaceDesc GrImageInfoToSurfaceDesc(const SkImageInfo&);

Powered by Google App Engine
This is Rietveld 408576698