Searched refs:surface2 (Results 1 – 2 of 2) sorted by relevance
158 SkAutoTUnref<SkSurface> surface2(createSurface(kGpu_SurfaceType, context)); in Test_crbug263329() local160 SkCanvas* canvas2 = surface2->getCanvas(); in Test_crbug263329()171 SkAutoTUnref<SkImage> image3(surface2->newImageSnapshot()); in Test_crbug263329()175 SkAutoTUnref<SkImage> image4(surface2->newImageSnapshot()); in Test_crbug263329()
2444 typename Types::ContentLayerType* surface2 = this->CreateDrawingSurface( in RunMyTest() local2471 this->VisitLayer(surface2, &occlusion); in RunMyTest()2472 this->EnterContributingSurface(surface2, &occlusion); in RunMyTest()2477 this->LeaveContributingSurface(surface2, &occlusion); in RunMyTest()2579 typename Types::ContentLayerType* surface2 = in RunMyTest() local2586 surface2->SetOpaqueContentsRect(gfx::Rect(0, 0, 200, 200)); in RunMyTest()2593 this->VisitLayer(surface2, &occlusion); in RunMyTest()2594 this->VisitContributingSurface(surface2, &occlusion); in RunMyTest()