Lines Matching refs:pixelRef
73 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0); in DEF_TEST() local
77 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
82 pixelRef->notifyPixelsChanged(); in DEF_TEST()
86 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
89 pixelRef->notifyPixelsChanged(); in DEF_TEST()
93 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
94 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
95 pixelRef->notifyPixelsChanged(); in DEF_TEST()
99 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
101 pixelRef->addGenIDChangeListener(listener); in DEF_TEST()
104 pixelRef->notifyPixelsChanged(); in DEF_TEST()
108 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
110 pixelRef->addGenIDChangeListener(listener); in DEF_TEST()
114 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
118 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
119 pixelRef->addGenIDChangeListener(nullptr); in DEF_TEST()
120 pixelRef->notifyPixelsChanged(); in DEF_TEST()