Lines Matching refs:wrapped
358 TestResource* wrapped = SkNEW_ARGS(TestResource, in test_budgeting() local
360 wrapped->setSize(12); in test_budgeting()
368 wrapped->resourcePriv().setUniqueKey(uniqueKey2); in test_budgeting()
374 wrapped->gpuMemorySize() + unbudgeted->gpuMemorySize() == in test_budgeting()
384 wrapped->gpuMemorySize() + unbudgeted->gpuMemorySize() == in test_budgeting()
391 wrapped->unref(); in test_budgeting()
397 wrapped = SkNEW_ARGS(TestResource, (context->getGpu(), GrGpuResource::kWrapped_LifeCycle)); in test_budgeting()
402 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + wrapped->gpuMemorySize() + in test_budgeting()
410 REPORTER_ASSERT(reporter, unbudgeted->gpuMemorySize() + wrapped->gpuMemorySize() == in test_budgeting()
415 wrapped->unref(); in test_budgeting()
438 TestResource* wrapped; in test_unbudgeted() local
473 wrapped = SkNEW_ARGS(TestResource, in test_unbudgeted()
480 wrapped->unref(); in test_unbudgeted()