Index: src/gpu/SkGrPriv.h |
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h |
index 593530997fd69bda5f0f4defd440709f041e911e..9d4f320b4b71b13273aba060bb2dcdc49609cf39 100644 |
--- a/src/gpu/SkGrPriv.h |
+++ b/src/gpu/SkGrPriv.h |
@@ -37,6 +37,13 @@ struct SkIRect; |
* |
* Note: width/height must fit in 16bits for this impl. |
*/ |
+void GrMakeKeyFromImageID(GrUniqueKey* key, uint32_t imageID, const SkIRect& imageBounds, |
+ bool isMipMapped); |
+ |
+/** |
+ * This function is a shim which calls the other GrMakeKeyFromImageID with |
+ * isMipMapped = false |
+ */ |
void GrMakeKeyFromImageID(GrUniqueKey* key, uint32_t imageID, const SkIRect& imageBounds); |
/** Converts an SkPaint to a GrPaint for a given GrContext. The matrix is required in order |