diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-09-20 15:51:08 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-21 18:14:36 +0000 |
commit | 2fbf1bc8c96f749a4c098bcfc827053445c2e12d (patch) | |
tree | 0271e86a08bec62b58b71d661c86bc0af325488e /src/core/SkPM4f.h | |
parent | f4b9bf7d9e688f1afedcf4a960a31582ddb56f4a (diff) |
Add SK_API to APIs used by the android framework.
This CL enables us to set the default visibility of the symbols
on Android to hidden. It is the intent that all of he SK_APIs
that have been added to /src directies should be removed as soon
as we can remove their callers within Android.
Bug: b/31971097
Change-Id: Ic787f94df0fb0c2b8d941aa7095a12b317c4b5de
Reviewed-on: https://skia-review.googlesource.com/49501
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'src/core/SkPM4f.h')
-rw-r--r-- | src/core/SkPM4f.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPM4f.h b/src/core/SkPM4f.h index dd54403a7b..e1cb1cd27d 100644 --- a/src/core/SkPM4f.h +++ b/src/core/SkPM4f.h @@ -26,7 +26,7 @@ static inline Sk4f swizzle_rb_if_bgra(const Sk4f& x) { /* * The float values are 0...1 premultiplied in RGBA order (regardless of SkPMColor order) */ -struct SkPM4f { +struct SK_API SkPM4f { enum { R, G, B, A, }; |