Lines Matching defs:stats

141     Stats* stats() { return &fStats; }
421 static GrOp::Owner Make(GrRecordingContext* rContext, TestHelper::Stats* stats,
426 rContext, rContext, stats, wh, id, failLookup, failFillingIn, isNewerBetter);
434 GrThreadSafeVertexTestOp(GrRecordingContext* rContext, TestHelper::Stats* stats, int wh, int id,
438 , fStats(stats)
631 Stats* stats) {
644 ++stats->fNumSWCreations;
648 bool TestHelper::FillInViewOnGpu(GrDirectContext* dContext, int wh, Stats* stats,
661 ++stats->fNumHWCreations;
675 Stats* stats) {
684 ++stats->fNumLazyCreations;
688 ++stats->fCacheHits;
697 ++stats->fCacheMisses;
705 if (!FillInViewOnGpu(dContext, wh, stats, lazyView, std::move(trampoline))) {
718 ++stats->fCacheHits;
722 ++stats->fCacheMisses;
724 view = CreateViewOnCpu(rContext, wh, stats);
754 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 0);
755 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 0);
756 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 1);
791 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
792 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 1);
793 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 0);
824 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
825 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 0);
826 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 1);
858 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 0);
859 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 0);
860 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 2);
887 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
888 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 1);
889 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 0);
897 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
898 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 1);
899 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 1);
929 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
930 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 0);
931 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 0);
940 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
941 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 0);
942 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 0);
1102 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
1103 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 1);
1104 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 0);
1147 REPORTER_ASSERT(reporter, helper.stats()->fNumLazyCreations == 1);
1148 REPORTER_ASSERT(reporter, helper.stats()->fNumHWCreations == 1);
1149 REPORTER_ASSERT(reporter, helper.stats()->fNumSWCreations == 0);