aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix44.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/SkMatrix44.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/SkMatrix44.h')
-rw-r--r--include/core/SkMatrix44.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkMatrix44.h b/include/core/SkMatrix44.h
index 83e51abe55..c1b74582cb 100644
--- a/include/core/SkMatrix44.h
+++ b/include/core/SkMatrix44.h
@@ -126,6 +126,12 @@ struct SkVector4 {
}
};
+/** \class SkMatrix44
+
+ The SkMatrix44 class holds a 4x4 matrix.
+
+ SkMatrix44 is not thread safe unless you've first called SkMatrix44::getType().
+*/
class SK_API SkMatrix44 {
public: