aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/SkGr.h
diff options
context:
space:
mode:
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