*/
class SkImage : public SkRefCnt {
public:
-// SK_DECLARE_INST_COUNT(SkImage)
+ SK_DECLARE_INST_COUNT(SkImage)
enum ColorType {
kAlpha_8_ColorType,
*/
class SkSurface : public SkRefCnt {
public:
-// SK_DECLARE_INST_COUNT(SkSurface)
+ SK_DECLARE_INST_COUNT(SkSurface)
/**
* Create a new surface, using the specified pixels/rowbytes as its
#include "SkBitmap.h"
#include "SkCanvas.h"
-//SK_DEFINE_INST_COUNT(SkImage)
+SK_DEFINE_INST_COUNT(SkImage)
static SkImage_Base* asIB(SkImage* image) {
return static_cast<SkImage_Base*>(image);
#include "SkImagePriv.h"
#include "SkCanvas.h"
-//SK_DEFINE_INST_COUNT(SkSurface)
+SK_DEFINE_INST_COUNT(SkSurface)
///////////////////////////////////////////////////////////////////////////////