Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkGpuBlurUtils.cpp165 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 …]
DSkMorphologyImageFilter.cpp540 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()
DSkGpuBlurUtils.h38 GrTexture* srcTexture,
DSkLightingImageFilter.cpp414 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/
DImageFilterCacheTest.cpp191 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/
DvktPipelineImageUtil.cpp329 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/
DSkImageFilter.cpp323 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/
DGrGLGpu.cpp3284 const GrGLTexture* srcTexture = static_cast<const GrGLTexture*>(src->asTexture()); in initCopySurfaceDstDesc() local
3285 if (srcTexture && srcTexture->target() != GR_GL_TEXTURE_2D) { in initCopySurfaceDstDesc()