aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPath.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-03-01 11:16:17 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-02 13:44:49 +0000
commitafe7a5f84890b88dbb61a3ba53b3d66d679f92d7 (patch)
treebe8d95e9d3a31b0f38b0486f4b8a4c60d1fdff03 /include/core/SkPath.h
parent256c37bc9ea2a0420b8ac1084f6d645aaeb919f0 (diff)
Add some thread safety notes.
These are the main problems we tend to hit with multithreaded drawing. Change-Id: I63dc56f38a533eb839d36833e865af5fcc700d3b Reviewed-on: https://skia-review.googlesource.com/9100 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r--include/core/SkPath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 8bdfbc48b8..d5b02c0156 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -23,6 +23,8 @@ class SkWStream;
The SkPath class encapsulates compound (multiple contour) geometric paths
consisting of straight line segments, quadratic curves, and cubic curves.
+
+ SkPath is not thread safe unless you've first called SkPath::updateBoundsCache().
*/
class SK_API SkPath {
public: