Home
last modified time | relevance | path

Searched refs:texAttachment (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkPipelineState.cpp154 auto texAttachment = texture->textureAttachment(); in setAndBindTextures() local
159 commandBuffer->addResource(texAttachment->textureView()); in setAndBindTextures()
160 commandBuffer->addResource(texAttachment->resource()); in setAndBindTextures()
179 auto texAttachment = texture->textureAttachment(); in setAndBindTextures() local
181 const GrVkImageView* textureView = texAttachment->textureView(); in setAndBindTextures()
187 state, texAttachment->ycbcrConversionInfo()); in setAndBindTextures()
221 commandBuffer->addResource(texAttachment->resource()); in setAndBindTextures()
DGrVkGpu.cpp486 GrVkAttachment* texAttachment = texture->textureAttachment(); in onWritePixels() local
493 SkASSERT(!GrVkFormatIsCompressed(texAttachment->imageFormat())); in onWritePixels()
495 bool linearTiling = texAttachment->isLinearTiled(); in onWritePixels()
501 if (VK_IMAGE_LAYOUT_PREINITIALIZED != texAttachment->currentLayout()) { in onWritePixels()
503 texAttachment->setImageLayout(this, in onWritePixels()
512 success = this->uploadTexDataLinear(texAttachment, left, top, width, height, srcColorType, in onWritePixels()
515 SkASSERT(mipLevelCount <= (int)texAttachment->mipLevels()); in onWritePixels()
516 success = this->uploadTexDataOptimal(texAttachment, left, top, width, height, srcColorType, in onWritePixels()
524 texAttachment->setImageLayout(this, in onWritePixels()
732 bool GrVkGpu::uploadTexDataLinear(GrVkAttachment* texAttachment, int left, int top, int width, in uploadTexDataLinear() argument
[all …]
DGrVkCaps.cpp1555 auto texAttachment = tex->textureAttachment(); in surfaceSupportsReadPixels() local
1557 if (texAttachment->ycbcrConversionInfo().isValid()) { in surfaceSupportsReadPixels()
1561 if (GrVkFormatIsCompressed(texAttachment->imageFormat())) { in surfaceSupportsReadPixels()