From: senorblanco@chromium.org Date: Thu, 9 Feb 2012 16:07:08 +0000 (+0000) Subject: Add SK_API to SkPixelRef and TextureCacheEntry. X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~16867 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfad3832cb10220da3068de05c1b28fb30420f6f;p=platform%2Fupstream%2FlibSkiaSharp.git Add SK_API to SkPixelRef and TextureCacheEntry. Review URL: http://codereview.appspot.com/5649044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3158 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 3f07844..d5f6ab2 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -50,7 +50,7 @@ class SkGpuTexture; This class can be shared/accessed between multiple threads. */ -class SkPixelRef : public SkRefCnt { +class SK_API SkPixelRef : public SkRefCnt { public: explicit SkPixelRef(SkBaseMutex* mutex = NULL); diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 3fb4775..bee1577 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -87,7 +87,7 @@ public: * Token that refers to an entry in the texture cache. Returned by * functions that lock textures. Passed to unlockTexture. */ - class TextureCacheEntry { + class SK_API TextureCacheEntry { public: TextureCacheEntry() : fEntry(NULL) {} TextureCacheEntry(const TextureCacheEntry& e) : fEntry(e.fEntry) {}