From 9a6e42ff18133ef77066b82cb7e2d19788edd968 Mon Sep 17 00:00:00 2001 From: Ruiqi Mao Date: Mon, 9 Jul 2018 14:16:56 -0400 Subject: added caching of SkVertices SkVertices can now be "volatile", meaning they should not be cached. SkVertices is volatile by default if the argument is not given. Pulled from reverted CL: https://skia-review.googlesource.com/c/skia/+/138596 Docs-Preview: https://skia.org/?cl=139545 Bug: skia: Change-Id: I92cf832efe1c0aaa8f432eedde2678582dd2454e Reviewed-on: https://skia-review.googlesource.com/139545 Reviewed-by: Brian Osman Reviewed-by: Robert Phillips Commit-Queue: Ruiqi Mao --- docs/SkCanvas_Reference.bmh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/SkCanvas_Reference.bmh b/docs/SkCanvas_Reference.bmh index cfeef6331b..bfd3e9d7d1 100644 --- a/docs/SkCanvas_Reference.bmh +++ b/docs/SkCanvas_Reference.bmh @@ -5772,6 +5772,7 @@ contains Shader, Blend_Mode mode combines Vertices_Colors with Shader. The first element of bones should be an object to world space transformation matrix that will be applied before performing mesh deformations. If no such transformation is needed, it should be the identity matrix. +boneCount must be at most 100, and thus the size of bones should be at most 100. #Param vertices triangle mesh to draw ## #Param bones bone matrix data ## @@ -5821,6 +5822,7 @@ contains Shader, Blend_Mode mode combines Vertices_Colors with Shader. The first element of bones should be an object to world space transformation matrix that will be applied before performing mesh deformations. If no such transformation is needed, it should be the identity matrix. +boneCount must be at most 100, and thus the size of bones should be at most 100. #Param vertices triangle mesh to draw ## #Param bones bone matrix data ## -- cgit v1.2.3