Home | History | Annotate | Download | only in tests

Lines Matching full:sk_sp

258     sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes);
404 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(context,
430 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendTextureAsRenderTarget(
447 static sk_sp<SkSurface> create_surf(GrContext* context, int width, int height) {
451 sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii);
456 static sk_sp<SkImage> upload(const sk_sp<SkSurface>& surf, SkColor color) {
485 sk_sp<SkSurface> dest = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, fullII);
496 sk_sp<GrTextureProxy> temp = proxyProvider->createProxy(desc, SkBackingFit::kApprox,
502 sk_sp<SkSurface> leftSurf = create_surf(context, kHalfSize, kFullSize);
503 sk_sp<SkSurface> rightSurf = create_surf(context, kHalfSize, kFullSize);
505 sk_sp<SkImage> leftImg = upload(std::move(leftSurf), kLeftColor);
508 sk_sp<SkImage> rightImg = upload(std::move(rightSurf), kRightColor);