Home
last modified time | relevance | path

Searched refs:fReleaseCount (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/tests/
DPromiseImageTest.cpp34 int fReleaseCount = 0; member
51 static void Release(void* self) { static_cast<PromiseTextureChecker*>(self)->fReleaseCount++; } in Release()
69 REPORTER_ASSERT(reporter, !promiseChecker.fReleaseCount); in check_fulfill_and_release_cnts()
72 int releaseDiff = promiseChecker.fFulfillCount - promiseChecker.fReleaseCount; in check_fulfill_and_release_cnts()
364 int fReleaseCount = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() member
371 ++static_cast<Counts*>(ctx)->fReleaseCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
403 REPORTER_ASSERT(reporter, counts.fReleaseCount == 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageTest.cpp129 RasterDataHolder() : fReleaseCount(0) {} in RasterDataHolder()
131 int fReleaseCount; member
134 self->fReleaseCount++; in Release()
718 REPORTER_ASSERT(reporter, 1 == dataHolder.fReleaseCount); in DEF_TEST()
777 REPORTER_ASSERT(reporter, 1 == dataHolder.fReleaseCount); in DEF_TEST()
818 REPORTER_ASSERT(reporter, 1 == dataHolder.fReleaseCount); in DEF_TEST()
829 TextureReleaseChecker() : fReleaseCount(0) {} in TextureReleaseChecker()
830 int fReleaseCount; member
832 static_cast<TextureReleaseChecker*>(self)->fReleaseCount++; in Release()
879 REPORTER_ASSERT(reporter, 0 == releaseChecker.fReleaseCount); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
DSurfaceTest.cpp908 ReleaseChecker() : fReleaseCount(0) {} in ReleaseChecker()
909 int fReleaseCount; member
911 static_cast<ReleaseChecker*>(self)->fReleaseCount++; in Release()
972 REPORTER_ASSERT(reporter, 0 == releaseChecker.fReleaseCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
974 REPORTER_ASSERT(reporter, 1 == releaseChecker.fReleaseCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp836 TextureReleaseChecker() : fReleaseCount(0) {} in TextureReleaseChecker()
837 int fReleaseCount; member
839 static_cast<TextureReleaseChecker*>(self)->fReleaseCount++; in Release()
/third_party/flutter/skia/tests/
DPromiseImageTest.cpp29 , fReleaseCount(0) in PromiseTextureChecker()
35 int fReleaseCount; member
55 checker->fReleaseCount++; in Release()
59 REPORTER_ASSERT(checker->fReporter, checker->fReleaseCount == checker->fFulfillCount); in Release()
89 REPORTER_ASSERT(reporter, !promiseChecker.fReleaseCount); in check_fulfill_and_release_cnts()
93 int releaseDiff = promiseChecker.fFulfillCount - promiseChecker.fReleaseCount; in check_fulfill_and_release_cnts()
480 int fReleaseCount = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() member
488 ++static_cast<Counts*>(ctx)->fReleaseCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
516 REPORTER_ASSERT(reporter, counts.fReleaseCount == 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageTest.cpp125 RasterDataHolder() : fReleaseCount(0) {} in RasterDataHolder()
127 int fReleaseCount; member
130 self->fReleaseCount++; in Release()
700 REPORTER_ASSERT(reporter, 1 == dataHolder.fReleaseCount); in DEF_TEST()
756 REPORTER_ASSERT(reporter, 1 == dataHolder.fReleaseCount); in DEF_TEST()
796 REPORTER_ASSERT(reporter, 1 == dataHolder.fReleaseCount); in DEF_TEST()
807 TextureReleaseChecker() : fReleaseCount(0) {} in TextureReleaseChecker()
808 int fReleaseCount; member
810 static_cast<TextureReleaseChecker*>(self)->fReleaseCount++; in Release()
848 REPORTER_ASSERT(reporter, 0 == releaseChecker.fReleaseCount); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
DSurfaceTest.cpp885 ReleaseChecker() : fReleaseCount(0) {} in ReleaseChecker()
886 int fReleaseCount; member
888 static_cast<ReleaseChecker*>(self)->fReleaseCount++; in Release()
943 REPORTER_ASSERT(reporter, 0 == releaseChecker.fReleaseCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
945 REPORTER_ASSERT(reporter, 1 == releaseChecker.fReleaseCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp664 TextureReleaseChecker() : fReleaseCount(0) {} in TextureReleaseChecker()
665 int fReleaseCount; member
667 static_cast<TextureReleaseChecker*>(self)->fReleaseCount++; in Release()