Home
last modified time | relevance | path

Searched refs:inputProxy (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/
DGrTextureProducer.cpp19 sk_sp<GrTextureProxy> inputProxy, in CopyOnGpu() argument
28 if (GrPixelConfigIsSRGB(inputProxy->config())) { in CopyOnGpu()
32 SkBackingFit::kExact, dstRect.width(), dstRect.height(), inputProxy->config(), in CopyOnGpu()
33 std::move(colorSpace), 1, mipMapped, inputProxy->origin()); in CopyOnGpu()
41 SkRect localRect = SkRect::MakeWH(inputProxy->width(), inputProxy->height()); in CopyOnGpu()
47 needsDomain = resizing && !GrProxyProvider::IsFunctionallyExact(inputProxy.get()); in CopyOnGpu()
56 GrTextureDomainEffect::Make(std::move(inputProxy), SkMatrix::I(), domain, in CopyOnGpu()
60 paint.addColorTextureProcessor(std::move(inputProxy), SkMatrix::I(), samplerState); in CopyOnGpu()
DGrTextureProducer.h155 static sk_sp<GrTextureProxy> CopyOnGpu(GrContext*, sk_sp<GrTextureProxy> inputProxy,
/external/skqp/src/gpu/
DGrTextureProducer.cpp19 sk_sp<GrTextureProxy> inputProxy, in CopyOnGpu() argument
28 SkBackingFit::kExact, dstRect.width(), dstRect.height(), inputProxy->config(), nullptr, in CopyOnGpu()
29 1, mipMapped, inputProxy->origin()); in CopyOnGpu()
37 SkRect localRect = SkRect::MakeWH(inputProxy->width(), inputProxy->height()); in CopyOnGpu()
43 needsDomain = resizing && !GrProxyProvider::IsFunctionallyExact(inputProxy.get()); in CopyOnGpu()
52 GrTextureDomainEffect::Make(std::move(inputProxy), SkMatrix::I(), domain, in CopyOnGpu()
56 paint.addColorTextureProcessor(std::move(inputProxy), SkMatrix::I(), samplerState); in CopyOnGpu()
DGrTextureProducer.h126 static sk_sp<GrTextureProxy> CopyOnGpu(GrContext*, sk_sp<GrTextureProxy> inputProxy,
/external/skqp/src/effects/
DSkMagnifierImageFilter.cpp103 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in onFilterImage() local
104 SkASSERT(inputProxy); in onFilterImage()
110 GrPixelConfig inputConfig = inputProxy->config(); in onFilterImage()
111 auto fp = GrMagnifierEffect::Make(std::move(inputProxy), in onFilterImage()
DSkAlphaThresholdFilter.cpp159 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in onFilterImage() local
160 SkASSERT(inputProxy); in onFilterImage()
176 GrPixelConfig inputConfig = inputProxy->config(); in onFilterImage()
177 auto textureFP = GrSimpleTextureEffect::Make(std::move(inputProxy), SkMatrix::I()); in onFilterImage()
DSkMatrixConvolutionImageFilter.cpp316 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in onFilterImage() local
317 SkASSERT(inputProxy); in onFilterImage()
323 auto fp = GrMatrixConvolutionEffect::Make(std::move(inputProxy), in onFilterImage()
DSkLightingImageFilter.cpp466 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in filterImageGPU() local
467 SkASSERT(inputProxy); in filterImageGPU()
495 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, topLeft, in filterImageGPU()
497 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, top, in filterImageGPU()
499 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, topRight, in filterImageGPU()
501 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, left, in filterImageGPU()
503 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, interior, in filterImageGPU()
505 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, right, in filterImageGPU()
507 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, bottomLeft, in filterImageGPU()
509 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, bottom, in filterImageGPU()
[all …]
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp103 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in onFilterImage() local
104 SkASSERT(inputProxy); in onFilterImage()
110 GrPixelConfig inputConfig = inputProxy->config(); in onFilterImage()
111 auto fp = GrMagnifierEffect::Make(std::move(inputProxy), in onFilterImage()
DSkAlphaThresholdFilter.cpp159 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in onFilterImage() local
160 SkASSERT(inputProxy); in onFilterImage()
176 GrPixelConfig inputConfig = inputProxy->config(); in onFilterImage()
177 auto textureFP = GrSimpleTextureEffect::Make(std::move(inputProxy), SkMatrix::I()); in onFilterImage()
DSkMatrixConvolutionImageFilter.cpp316 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in onFilterImage() local
317 SkASSERT(inputProxy); in onFilterImage()
323 auto fp = GrMatrixConvolutionEffect::Make(std::move(inputProxy), in onFilterImage()
DSkLightingImageFilter.cpp466 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context)); in filterImageGPU() local
467 SkASSERT(inputProxy); in filterImageGPU()
495 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, topLeft, in filterImageGPU()
497 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, top, in filterImageGPU()
499 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, topRight, in filterImageGPU()
501 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, left, in filterImageGPU()
503 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, interior, in filterImageGPU()
505 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, right, in filterImageGPU()
507 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, bottomLeft, in filterImageGPU()
509 this->drawRect(renderTargetContext.get(), inputProxy, matrix, clip, bottom, in filterImageGPU()
[all …]