aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkGraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkGraphics.h')
-rw-r--r--include/core/SkGraphics.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index b41da327cf..90c92e3219 100644
--- a/include/core/SkGraphics.h
+++ b/include/core/SkGraphics.h
@@ -14,7 +14,13 @@
class SkGraphics {
public:
+ /**
+ * Call this at process initialization time if your environment does not
+ * permit static global initializers that execute code. Note that
+ * Init() is not thread-safe.
+ */
static void Init();
+
static void Term();
/**
@@ -55,7 +61,7 @@ public:
* This format is subject to change.
*/
static void SetFlags(const char* flags);
-
+
private:
/** This is automatically called by SkGraphics::Init(), and must be
implemented by the host OS. This allows the host OS to register a callback