Export the texture pixelref classes via SK_API. This is necessary to reference

them from another DLL in the windows shared build.

Review URL:  http://codereview.appspot.com/5646056/


git-svn-id: http://skia.googlecode.com/svn/trunk@3155 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
senorblanco@chromium.org 2012-02-08 20:27:16 +00:00
parent f724c4df1c
commit 297676545d

View File

@ -21,7 +21,7 @@
* Common baseclass that implements onLockPixels() by calling onReadPixels().
* Since it has a copy, it always returns false for onLockPixelsAreWritable().
*/
class SkROLockPixelsPixelRef : public SkPixelRef {
class SK_API SkROLockPixelsPixelRef : public SkPixelRef {
public:
SkROLockPixelsPixelRef();
virtual ~SkROLockPixelsPixelRef();
@ -40,7 +40,7 @@ private:
/**
* PixelRef that wraps a GrTexture
*/
class SkGrTexturePixelRef : public SkROLockPixelsPixelRef {
class SK_API SkGrTexturePixelRef : public SkROLockPixelsPixelRef {
public:
SkGrTexturePixelRef(GrTexture*);
virtual ~SkGrTexturePixelRef();
@ -63,7 +63,7 @@ private:
/**
* PixelRef that wraps a GrRenderTarget
*/
class SkGrRenderTargetPixelRef : public SkROLockPixelsPixelRef {
class SK_API SkGrRenderTargetPixelRef : public SkROLockPixelsPixelRef {
public:
SkGrRenderTargetPixelRef(GrRenderTarget* rt);
virtual ~SkGrRenderTargetPixelRef();