diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-26 20:22:32 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-26 20:22:32 +0000 |
commit | 4ebe3821888d550d8a8b89341ec251ba942f0225 (patch) | |
tree | 19b88320d8eb8e0616754c4da672c629424ba205 /src/gpu/GrReducedClip.h | |
parent | 16f418080ff6751e15e0193263149412de9c848a (diff) |
Revert "Revert of Add getReducedClipStack to lua canvas (https://codereview.chromium.org/180283004/)"
This reverts commit efded03a38d6147caaf2d951638d27fdd47eed64.
Fixes builds
Review URL: https://codereview.chromium.org/181903002
git-svn-id: http://skia.googlecode.com/svn/trunk@13599 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrReducedClip.h')
-rw-r--r-- | src/gpu/GrReducedClip.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gpu/GrReducedClip.h b/src/gpu/GrReducedClip.h index 0b79f2c7f5..cbb03465fd 100644 --- a/src/gpu/GrReducedClip.h +++ b/src/gpu/GrReducedClip.h @@ -30,13 +30,14 @@ enum InitialState { * required to process any of the elements in the result. * * This may become a member function of SkClipStack when its interface is determined to be stable. + * Marked SK_API so that SkLua can call this in a shared library build. */ -void ReduceClipStack(const SkClipStack& stack, - const SkIRect& queryBounds, - ElementList* result, - int32_t* resultGenID, - InitialState* initialState, - SkIRect* tighterBounds = NULL, - bool* requiresAA = NULL); +SK_API void ReduceClipStack(const SkClipStack& stack, + const SkIRect& queryBounds, + ElementList* result, + int32_t* resultGenID, + InitialState* initialState, + SkIRect* tighterBounds = NULL, + bool* requiresAA = NULL); } // namespace GrReducedClip |