commit | 624a529fbd01d282f3c82d771d076df9042c365b | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Fri Apr 16 14:54:43 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Apr 16 19:36:54 2021 +0000 |
tree | edfababc8ad1c3113f9d1a06025a2d8871b2222f | |
parent | 224e5e4d7e927ac4ecca3d7d1906b6212b431853 [diff] [blame] |
Added an API for creating RuntimeEffects using the SkSL DSL. Change-Id: I305016d305455e2b90fe904d8da93cf7735cc38e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/389316 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/SkSLPool.h b/src/sksl/SkSLPool.h index 005310c..e464797 100644 --- a/src/sksl/SkSLPool.h +++ b/src/sksl/SkSLPool.h
@@ -47,6 +47,8 @@ // the pool can be destroyed. static void FreeMemory(void* ptr); + static bool IsAttached(); + private: void checkForLeaks();