Lines Matching refs:getGpu
191 GrGpu* gpu = context->getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
359 TestResource* a = new TestResource(context->getGpu()); in test_no_key()
360 TestResource* b = new TestResource(context->getGpu()); in test_no_key()
361 TestResource* c = new TestResource(context->getGpu()); in test_no_key()
362 TestResource* d = new TestResource(context->getGpu()); in test_no_key()
419 TestResource::CreateScratch(context->getGpu(), TestResource::kB_SimulatedProperty); in test_budgeting()
421 TestResource* unique = new TestResource(context->getGpu()); in test_budgeting()
424 TestResource* wrapped = new TestResource(context->getGpu(), GrGpuResource::kBorrowed_LifeCycle); in test_budgeting()
427 new TestResource(context->getGpu(), GrGpuResource::kUncached_LifeCycle); in test_budgeting()
462 wrapped = new TestResource(context->getGpu(), GrGpuResource::kBorrowed_LifeCycle); in test_budgeting()
507 scratch = TestResource::CreateScratch(context->getGpu(), TestResource::kB_SimulatedProperty); in test_unbudgeted()
515 unique = new TestResource(context->getGpu()); in test_unbudgeted()
525 unbudgeted = new TestResource(context->getGpu(), large, GrGpuResource::kUncached_LifeCycle); in test_unbudgeted()
537 wrapped = new TestResource(context->getGpu(), large, GrGpuResource::kBorrowed_LifeCycle); in test_unbudgeted()
564 TestResource::CreateScratch(context->getGpu(), TestResource::kA_SimulatedProperty, false); in test_unbudgeted_to_scratch()
623 TestResource* a = TestResource::CreateScratch(context->getGpu(), in test_duplicate_scratch_key()
625 TestResource* b = TestResource::CreateScratch(context->getGpu(), in test_duplicate_scratch_key()
668 TestResource* a = TestResource::CreateScratch(context->getGpu(), in test_remove_scratch_key()
670 TestResource* b = TestResource::CreateScratch(context->getGpu(), in test_remove_scratch_key()
727 TestResource* a = TestResource::CreateScratch(context->getGpu(), in test_scratch_key_consistency()
729 TestResource* b = TestResource::CreateScratch(context->getGpu(), in test_scratch_key_consistency()
789 TestResource* a = new TestResource(context->getGpu()); in test_duplicate_unique_key()
806 TestResource* b = new TestResource(context->getGpu()); in test_duplicate_unique_key()
826 TestResource* c = new TestResource(context->getGpu()); in test_duplicate_unique_key()
863 SkAutoTUnref<TestResource> d(new TestResource(context->getGpu())); in test_duplicate_unique_key()
887 TestResource* a = new TestResource(context->getGpu()); in test_purge_invalidated()
888 TestResource* b = new TestResource(context->getGpu()); in test_purge_invalidated()
889 TestResource* c = TestResource::CreateScratch(context->getGpu(), in test_purge_invalidated()
953 TestResource* a = new TestResource(context->getGpu()); in test_cache_chained_purge()
954 TestResource* b = new TestResource(context->getGpu()); in test_cache_chained_purge()
991 TestResource* a = new TestResource(context->getGpu()); in test_resource_size_changed()
995 TestResource* b = new TestResource(context->getGpu()); in test_resource_size_changed()
1020 TestResource* a = new TestResource(context->getGpu()); in test_resource_size_changed()
1025 TestResource* b = new TestResource(context->getGpu()); in test_resource_size_changed()
1074 TestResource* r = new TestResource(context->getGpu()); in test_timestamp_wrap()
1123 TestResource* r = new TestResource(context->getGpu()); in test_flush()
1154 TestResource* r = new TestResource(context->getGpu()); in test_flush()
1209 resource = new TestResource(context->getGpu()); in test_large_resource_count()
1214 resource = new TestResource(context->getGpu()); in test_large_resource_count()
1269 SkAutoTUnref<GrGpuResource> resource(new TestResource(context->getGpu())); in test_abandoned()