Index: src/utils/SkPatchUtils.h |
diff --git a/src/utils/SkPatchUtils.h b/src/utils/SkPatchUtils.h |
index f2e3b43ed12732976c410100db7147c825b96e4d..9d3616a488c679157ba242fdd5f2cf5a78ff85d4 100644 |
--- a/src/utils/SkPatchUtils.h |
+++ b/src/utils/SkPatchUtils.h |
@@ -17,7 +17,14 @@ public: |
/** |
* Method that calculates a level of detail (number of subdivisions) for a patch in both axis. |
*/ |
- static SkISize GetLevelOfDetail(const SkPatch& patch, const SkMatrix* matrix); |
+ static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix); |
+ static void getTopCubic(const SkPoint cubics[12], SkPoint points[4]); |
+ static void getBottomCubic(const SkPoint cubics[12], SkPoint points[4]); |
+ static void getLeftCubic(const SkPoint cubics[12], SkPoint points[4]); |
+ static void getRightCubic(const SkPoint cubics[12], SkPoint points[4]); |
+ static bool getVertexData(SkPatch::VertexData* data, const SkPoint cubics[12], |
+ const SkColor colors[4], const SkPoint texCoords[4], |
+ int lodX, int lodY); |
}; |
#endif |