Home | History | Annotate | Download | only in tests

Lines Matching defs:context

57 void ValidateMemoryDumps(skiatest::Reporter* reporter, GrContext* context, size_t size,
60 context->dumpMemoryStatistics(&dump_with_wrapped);
65 context->dumpMemoryStatistics(&dump_no_wrapped);
76 GrContext* context = ctxInfo.grContext();
77 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu());
82 ValidateMemoryDumps(reporter, context, kMemorySize, true /* isOwned */);
86 GrContext* context = ctxInfo.grContext();
87 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu());
108 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), true /* isOwned */);
112 GrContext* context = ctxInfo.grContext();
113 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu());
133 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), false /* isOwned */);
137 GrContext* context = ctxInfo.grContext();
138 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu());
155 ValidateMemoryDumps(reporter, context, rt->gpuMemorySize(), true /* isOwned */);
159 GrContext* context = ctxInfo.grContext();
160 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu());
177 ValidateMemoryDumps(reporter, context, rt->gpuMemorySize(), false /* isOwned */);