};
#endif
-#ifdef SK_PICTURE_PROFILING_STUBS
+#ifdef SK_DEVELOPER
size_t SkPicturePlayback::preDraw(size_t offset, int type) {
return 0;
}
SkMatrix initialMatrix = canvas.getTotalMatrix();
while (!reader.eof()) {
-#ifdef SK_PICTURE_PROFILING_STUBS
+#ifdef SK_DEVELOPER
size_t curOffset = reader.offset();
#endif
int type = reader.readInt();
-#ifdef SK_PICTURE_PROFILING_STUBS
+#ifdef SK_DEVELOPER
size_t skipTo = this->preDraw(curOffset, type);
if (0 != skipTo) {
if (kDrawComplete == skipTo) {
SkASSERT(0);
}
-#ifdef SK_PICTURE_PROFILING_STUBS
+#ifdef SK_DEVELOPER
this->postDraw(curOffset);
#endif
void abort();
protected:
-#ifdef SK_PICTURE_PROFILING_STUBS
+#ifdef SK_DEVELOPER
virtual size_t preDraw(size_t offset, int type);
virtual void postDraw(size_t offset);
#endif