Home
last modified time | relevance | path

Searched refs:texCopy (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/image/
DSkSurface_Gpu.cpp429 GrBackendTexture texCopy = tex; in MakeFromBackendTexture() local
430 if (!validate_backend_texture(context, texCopy, &texCopy.fConfig, in MakeFromBackendTexture()
438 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTexture()
444 texCopy, in MakeFromBackendTexture()
453 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), texCopy.width(), in MakeFromBackendTexture()
454 texCopy.height(), in MakeFromBackendTexture()
539 GrBackendTexture texCopy = tex; in MakeFromBackendTextureAsRenderTarget() local
540 if (!validate_backend_texture(context, texCopy, &texCopy.fConfig, in MakeFromBackendTextureAsRenderTarget()
545 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTextureAsRenderTarget()
551 texCopy, in MakeFromBackendTextureAsRenderTarget()
DSkImage_Gpu.cpp133 GrBackendTexture texCopy = tex; in MakeFromTexture() local
134 if (!SkImage_GpuBase::ValidateBackendTexture(ctx, texCopy, &texCopy.fConfig, ct, at, cs)) { in MakeFromTexture()
137 return new_wrapped_texture_common(ctx, texCopy, origin, at, std::move(cs), in MakeFromTexture()
149 GrBackendTexture texCopy = tex; in MakeFromAdoptedTexture() local
150 if (!SkImage_GpuBase::ValidateBackendTexture(ctx, texCopy, &texCopy.fConfig, ct, at, cs)) { in MakeFromAdoptedTexture()
153 return new_wrapped_texture_common(ctx, texCopy, origin, at, std::move(cs), in MakeFromAdoptedTexture()
/external/skia/src/image/
DSkSurface_Gpu.cpp446 GrBackendTexture texCopy = tex; in MakeFromBackendTexture() local
447 if (!validate_backend_texture(context, texCopy, &texCopy.fConfig, in MakeFromBackendTexture()
455 if (!SkSurface_Gpu::Valid(context->priv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTexture()
461 texCopy, in MakeFromBackendTexture()
472 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), texCopy.width(), in MakeFromBackendTexture()
473 texCopy.height(), in MakeFromBackendTexture()
560 GrBackendTexture texCopy = tex; in MakeFromBackendTextureAsRenderTarget() local
561 if (!validate_backend_texture(context, texCopy, &texCopy.fConfig, in MakeFromBackendTextureAsRenderTarget()
566 if (!SkSurface_Gpu::Valid(context->priv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTextureAsRenderTarget()
572 texCopy, in MakeFromBackendTextureAsRenderTarget()
DSkImage_Gpu.cpp143 GrBackendTexture texCopy = tex; in MakeFromTexture() local
144 if (!SkImage_GpuBase::ValidateBackendTexture(ctx, texCopy, &texCopy.fConfig, ct, at, cs)) { in MakeFromTexture()
147 return new_wrapped_texture_common(ctx, texCopy, origin, at, std::move(cs), in MakeFromTexture()
159 GrBackendTexture texCopy = tex; in MakeFromAdoptedTexture() local
160 if (!SkImage_GpuBase::ValidateBackendTexture(ctx, texCopy, &texCopy.fConfig, ct, at, cs)) { in MakeFromAdoptedTexture()
163 return new_wrapped_texture_common(ctx, texCopy, origin, at, std::move(cs), in MakeFromAdoptedTexture()