Add SK_API to GrContextThreadSafeProxy
TBR=egdaniel@google.com TBR=bsalomon@google.com Change-Id: I7dabb22ae391c6ec124bdfc65c4120de4193352e Reviewed-on: https://skia-review.googlesource.com/117235 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
26d36c47e6
commit
155dd716f1
@ -347,7 +347,7 @@ private:
|
|||||||
* Can be used to perform actions related to the generating GrContext in a thread safe manner. The
|
* Can be used to perform actions related to the generating GrContext in a thread safe manner. The
|
||||||
* proxy does not access the 3D API (e.g. OpenGL) that backs the generating GrContext.
|
* proxy does not access the 3D API (e.g. OpenGL) that backs the generating GrContext.
|
||||||
*/
|
*/
|
||||||
class GrContextThreadSafeProxy : public SkRefCnt {
|
class SK_API GrContextThreadSafeProxy : public SkRefCnt {
|
||||||
public:
|
public:
|
||||||
bool matches(GrContext* context) const { return context->uniqueID() == fContextUniqueID; }
|
bool matches(GrContext* context) const { return context->uniqueID() == fContextUniqueID; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user