/external/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 165 GrTexture* srcTexture, in GaussianBlur() argument 199 SkASSERT(kBGRA_8888_GrPixelConfig == srcTexture->config() || in GaussianBlur() 200 kRGBA_8888_GrPixelConfig == srcTexture->config() || in GaussianBlur() 201 kAlpha_8_GrPixelConfig == srcTexture->config()); in GaussianBlur() 207 desc.fConfig = srcTexture->config(); in GaussianBlur() 216 tempTexture = srcTexture; in GaussianBlur() 231 matrix.setIDiv(srcTexture->width(), srcTexture->height()); in GaussianBlur() 236 domain.inset((i < scaleFactorX) ? SK_ScalarHalf / srcTexture->width() : 0.0f, in GaussianBlur() 237 (i < scaleFactorY) ? SK_ScalarHalf / srcTexture->height() : 0.0f); in GaussianBlur() 239 srcTexture, in GaussianBlur() [all …]
|
D | SkMorphologyImageFilter.cpp | 540 SkAutoTUnref<GrTexture> srcTexture(SkRef(input.getTexture())); in apply_morphology() local 541 SkASSERT(srcTexture); in apply_morphology() 542 GrContext* context = srcTexture->getContext(); in apply_morphology() 545 GrClip clip(SkRect::MakeWH(SkIntToScalar(srcTexture->width()), in apply_morphology() 546 SkIntToScalar(srcTexture->height()))); in apply_morphology() 567 apply_morphology_pass(dstDrawContext, clip, srcTexture, in apply_morphology() 577 srcTexture.reset(scratch); in apply_morphology() 591 apply_morphology_pass(dstDrawContext, clip, srcTexture, in apply_morphology() 595 srcTexture.reset(scratch); in apply_morphology() 597 GrWrapTextureInBitmap(srcTexture, rect.width(), rect.height(), false, dst); in apply_morphology()
|
D | SkGpuBlurUtils.h | 38 GrTexture* srcTexture,
|
D | SkLightingImageFilter.cpp | 414 GrTexture* srcTexture = input.getTexture(); in filterImageGPUDeprecated() local 415 GrContext* context = srcTexture->getContext(); in filterImageGPUDeprecated() 453 this->drawRect(drawContext, srcTexture, matrix, clip, topLeft, kTopLeft_BoundaryMode, in filterImageGPUDeprecated() 455 this->drawRect(drawContext, srcTexture, matrix, clip, top, kTop_BoundaryMode, in filterImageGPUDeprecated() 457 this->drawRect(drawContext, srcTexture, matrix, clip, topRight, kTopRight_BoundaryMode, in filterImageGPUDeprecated() 459 this->drawRect(drawContext, srcTexture, matrix, clip, left, kLeft_BoundaryMode, in filterImageGPUDeprecated() 461 this->drawRect(drawContext, srcTexture, matrix, clip, interior, kInterior_BoundaryMode, in filterImageGPUDeprecated() 463 this->drawRect(drawContext, srcTexture, matrix, clip, right, kRight_BoundaryMode, in filterImageGPUDeprecated() 465 this->drawRect(drawContext, srcTexture, matrix, clip, bottomLeft, kBottomLeft_BoundaryMode, in filterImageGPUDeprecated() 467 this->drawRect(drawContext, srcTexture, matrix, clip, bottom, kBottom_BoundaryMode, in filterImageGPUDeprecated() [all …]
|
/external/skia/tests/ |
D | ImageFilterCacheTest.cpp | 191 SkAutoTUnref<GrTexture> srcTexture(create_texture(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 192 if (!srcTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 202 backendDesc.fTextureHandle = srcTexture->getTextureHandle(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 214 SkAutoTUnref<GrTexture> srcTexture(create_texture(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 215 if (!srcTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 224 srcTexture)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 231 srcTexture)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 329 const TestTexture& srcTexture, in uploadTestTexture() argument 341 bufferSize = (srcTexture.isCompressed())? srcTexture.getCompressedSize(): srcTexture.getSize(); in uploadTestTexture() 426 (deUint32)srcTexture.getNumLevels(), // deUint32 mipLevels; in uploadTestTexture() 428 (deUint32)srcTexture.getArraySize(), // deUint32 arraySize; in uploadTestTexture() 446 (deUint32)srcTexture.getNumLevels(), // deUint32 mipLevels; in uploadTestTexture() 448 (deUint32)srcTexture.getArraySize(), // deUint32 arraySize; in uploadTestTexture() 460 const std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTexture() 463 srcTexture.write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr())); in uploadTestTexture()
|
/external/skia/src/core/ |
D | SkImageFilter.cpp | 323 GrTexture* srcTexture = input.getTexture(); in filterImageGPUDeprecated() local 328 GrContext* context = srcTexture->getContext(); in filterImageGPUDeprecated() 348 if (this->asFragmentProcessor(&fp, srcTexture, matrix, bounds)) { in filterImageGPUDeprecated()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 3284 const GrGLTexture* srcTexture = static_cast<const GrGLTexture*>(src->asTexture()); in initCopySurfaceDstDesc() local 3285 if (srcTexture && srcTexture->target() != GR_GL_TEXTURE_2D) { in initCopySurfaceDstDesc()
|