Home
last modified time | relevance | path

Searched refs:srcTexture (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/effects/
DSkGpuBlurUtils.cpp120 GrTexture* srcTexture, in GaussianBlur() argument
148 SkASSERT(kBGRA_8888_GrPixelConfig == srcTexture->config() || in GaussianBlur()
149 kRGBA_8888_GrPixelConfig == srcTexture->config() || in GaussianBlur()
150 kAlpha_8_GrPixelConfig == srcTexture->config()); in GaussianBlur()
156 desc.fConfig = srcTexture->config(); in GaussianBlur()
160 GrTexture* tempTexture = canClobberSrc ? srcTexture : temp2.set(context, desc); in GaussianBlur()
168 matrix.setIDiv(srcTexture->width(), srcTexture->height()); in GaussianBlur()
175 domain.inset(i < scaleFactorX ? SK_ScalarHalf / srcTexture->width() : 0.0f, in GaussianBlur()
176 i < scaleFactorY ? SK_ScalarHalf / srcTexture->height() : 0.0f); in GaussianBlur()
178 srcTexture, in GaussianBlur()
[all …]
DSkMorphologyImageFilter.cpp487 GrTexture* srcTexture = input.getTexture(); in apply_morphology() local
488 SkASSERT(NULL != srcTexture); in apply_morphology()
489 GrContext* context = srcTexture->getContext(); in apply_morphology()
490 srcTexture->ref(); in apply_morphology()
491 SkAutoTUnref<GrTexture> src(srcTexture); in apply_morphology()
496 GrContext::AutoClip acs(context, SkRect::MakeWH(SkIntToScalar(srcTexture->width()), in apply_morphology()
497 SkIntToScalar(srcTexture->height()))); in apply_morphology()
DSkGpuBlurUtils.h36 GrTexture* srcTexture,
DSkBicubicImageFilter.cpp176 GrTexture* srcTexture = srcBM.getTexture(); in filterImageGPU() local
177 GrContext* context = srcTexture->getContext(); in filterImageGPU()
195 paint.addColorEffect(GrBicubicEffect::Create(srcTexture, fCoefficients))->unref(); in filterImageGPU()
/external/chromium_org/third_party/skia/src/effects/
DSkGpuBlurUtils.cpp143 GrTexture* srcTexture, in GaussianBlur() argument
171 SkASSERT(kBGRA_8888_GrPixelConfig == srcTexture->config() || in GaussianBlur()
172 kRGBA_8888_GrPixelConfig == srcTexture->config() || in GaussianBlur()
173 kAlpha_8_GrPixelConfig == srcTexture->config()); in GaussianBlur()
179 desc.fConfig = srcTexture->config(); in GaussianBlur()
183 GrTexture* tempTexture = canClobberSrc ? srcTexture : temp2.set(context, desc); in GaussianBlur()
191 matrix.setIDiv(srcTexture->width(), srcTexture->height()); in GaussianBlur()
198 domain.inset(i < scaleFactorX ? SK_ScalarHalf / srcTexture->width() : 0.0f, in GaussianBlur()
199 i < scaleFactorY ? SK_ScalarHalf / srcTexture->height() : 0.0f); in GaussianBlur()
201 srcTexture, in GaussianBlur()
[all …]
DSkMorphologyImageFilter.cpp505 GrTexture* srcTexture = input.getTexture(); in apply_morphology() local
506 SkASSERT(srcTexture); in apply_morphology()
507 GrContext* context = srcTexture->getContext(); in apply_morphology()
508 srcTexture->ref(); in apply_morphology()
509 SkAutoTUnref<GrTexture> src(srcTexture); in apply_morphology()
514 GrContext::AutoClip acs(context, SkRect::MakeWH(SkIntToScalar(srcTexture->width()), in apply_morphology()
515 SkIntToScalar(srcTexture->height()))); in apply_morphology()
DSkGpuBlurUtils.h36 GrTexture* srcTexture,
/external/skia/src/core/
DSkImageFilter.cpp179 GrTexture* srcTexture = input.getTexture(); in filterImageGPU() local
186 GrContext* context = srcTexture->getContext(); in filterImageGPU()
205 this->asNewEffect(&effect, srcTexture, matrix, bounds); in filterImageGPU()
/external/chromium_org/third_party/skia/src/core/
DSkImageFilter.cpp243 GrTexture* srcTexture = input.getTexture(); in filterImageGPU() local
250 GrContext* context = srcTexture->getContext(); in filterImageGPU()
272 this->asFragmentProcessor(&fp, srcTexture, matrix, bounds); in filterImageGPU()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DTextureStorage11.cpp289 bool TextureStorage11::updateSubresourceLevel(ID3D11Resource *srcTexture, unsigned int sourceSubres… in updateSubresourceLevel() argument
293 if (srcTexture) in updateSubresourceLevel()
318 return blitter->copyDepthStencil(srcTexture, sourceSubresource, copyArea, texSize, in updateSubresourceLevel()
337srcTexture, sourceSubresource, fullCopy ? NULL : &srcBox); in updateSubresourceLevel()
351 ID3D11Resource *srcTexture = getResource(); in copySubresourceLevel() local
354 ASSERT(srcTexture); in copySubresourceLevel()
359 srcTexture, srcSubresource, NULL); in copySubresourceLevel()
DBuffer11.cpp484 gl::Error Buffer11::packPixels(ID3D11Texture2D *srcTexture, UINT srcSubresource, const PackPixelsPa… in packPixels() argument
492 gl::Error error = packStorage->packPixels(srcTexture, srcSubresource, params); in packPixels()