diff options
author | Ruiqi Mao <ruiqimao@google.com> | 2018-07-09 14:16:56 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-09 20:31:28 +0000 |
commit | 9a6e42ff18133ef77066b82cb7e2d19788edd968 (patch) | |
tree | 29ca7c0dbd690c572b8fe222314f83b65cab493b /docs | |
parent | c3833b4c152af3b6fa2a4c4ba7b1da02acd1af80 (diff) |
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 <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Ruiqi Mao <ruiqimao@google.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SkCanvas_Reference.bmh | 2 |
1 files changed, 2 insertions, 0 deletions
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 ## |