Lines Matching refs:pixelRef
56 SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL));
60 pixelRef->addGenIDChangeListener(SkNEW_ARGS(TestListener, (&count)));
63 // No one has looked at our pixelRef's generation ID, so invalidating it doesn't make sense.
65 pixelRef->notifyPixelsChanged();
69 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
72 pixelRef->notifyPixelsChanged();
76 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
77 pixelRef->addGenIDChangeListener(SkNEW_ARGS(TestListener, (&count)));
78 pixelRef->notifyPixelsChanged();
82 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
83 pixelRef->addGenIDChangeListener(NULL);
84 pixelRef->notifyPixelsChanged();