aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/SkGr.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-12 12:57:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-12 12:57:54 -0700
commit9bc3954fc1b6c3fb609cbb10d42f659b9d762eb0 (patch)
tree4b915a701b43217e08c3fa0ae551011c504a9542 /include/gpu/SkGr.h
parent33e00db73d5f1836481cf4053c64e4ed20537662 (diff)
Refactor helper function for SkBitmapShader to GrFragmentProcessor
Diffstat (limited to 'include/gpu/SkGr.h')
-rw-r--r--include/gpu/SkGr.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
index 4de61afffb..e46479eb0f 100644
--- a/include/gpu/SkGr.h
+++ b/include/gpu/SkGr.h
@@ -14,8 +14,9 @@
#include <stddef.h>
// Gr headers
-#include "GrTypes.h"
#include "GrContext.h"
+#include "GrTextureAccess.h"
+#include "GrTypes.h"
// skia headers
#include "SkBitmap.h"
@@ -96,6 +97,11 @@ SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque);
// Using the dreaded SkGrPixelRef ...
void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, SkBitmap* dst);
+GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality paintFilterQuality,
+ const SkMatrix& viewM,
+ const SkMatrix& localM,
+ bool* doBicubic);
+
////////////////////////////////////////////////////////////////////////////////
// Classes