add more SkInstCnt plumbing
git-svn-id: http://skia.googlecode.com/svn/trunk@4343 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
0682ca6971
commit
82ce2b8afb
@ -29,6 +29,8 @@ class SkRegion;
|
|||||||
*/
|
*/
|
||||||
class SkBounder : public SkRefCnt {
|
class SkBounder : public SkRefCnt {
|
||||||
public:
|
public:
|
||||||
|
SK_DECLARE_INST_COUNT(SkBounder)
|
||||||
|
|
||||||
SkBounder();
|
SkBounder();
|
||||||
|
|
||||||
/* Call to perform a clip test before calling onIRect.
|
/* Call to perform a clip test before calling onIRect.
|
||||||
|
@ -23,6 +23,8 @@ class SkPaint;
|
|||||||
*/
|
*/
|
||||||
class SkDrawFilter : public SkRefCnt {
|
class SkDrawFilter : public SkRefCnt {
|
||||||
public:
|
public:
|
||||||
|
SK_DECLARE_INST_COUNT(SkDrawFilter)
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
kPaint_Type,
|
kPaint_Type,
|
||||||
kPoint_Type,
|
kPoint_Type,
|
||||||
|
@ -21,7 +21,10 @@
|
|||||||
#include "SkTLazy.h"
|
#include "SkTLazy.h"
|
||||||
#include "SkUtils.h"
|
#include "SkUtils.h"
|
||||||
|
|
||||||
|
SK_DEFINE_INST_COUNT(SkBounder)
|
||||||
SK_DEFINE_INST_COUNT(SkCanvas)
|
SK_DEFINE_INST_COUNT(SkCanvas)
|
||||||
|
SK_DEFINE_INST_COUNT(SkDrawFilter)
|
||||||
|
|
||||||
|
|
||||||
//#define SK_TRACE_SAVERESTORE
|
//#define SK_TRACE_SAVERESTORE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user