Lines Matching full:sk_sp
268 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes);
416 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctxInfo.grContext(),
442 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendTextureAsRenderTarget(
457 static sk_sp<SkSurface> create_surf(GrContext* context, int width, int height) {
461 sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii);
466 static sk_sp<SkImage> upload(const sk_sp<SkSurface>& surf, SkColor color) {
495 sk_sp<SkSurface> dest = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, fullII);
506 sk_sp<GrTextureProxy> temp = proxyProvider->createProxy(desc, SkBackingFit::kApprox,
512 sk_sp<SkSurface> leftSurf = create_surf(context, kHalfSize, kFullSize);
513 sk_sp<SkSurface> rightSurf = create_surf(context, kHalfSize, kFullSize);
515 sk_sp<SkImage> leftImg = upload(std::move(leftSurf), kLeftColor);
518 sk_sp<SkImage> rightImg = upload(std::move(rightSurf), kRightColor);