Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkGpu.cpp321 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() local
322 if (!vkTex) { in onWritePixels()
337 if (GrPixelConfigIsCompressed(vkTex->desc().fConfig)) { in onWritePixels()
339 SkASSERT(config == vkTex->desc().fConfig); in onWritePixels()
342 vkTex->unref(); in onWritePixels()
347 bool linearTiling = vkTex->isLinearTiled(); in onWritePixels()
353 if (VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels()
355 vkTex->setImageLayout(this, in onWritePixels()
362 success = this->uploadTexDataLinear(vkTex, left, top, width, height, config, in onWritePixels()
366 int currentMipLevels = vkTex->texturePriv().maxMipMapLevel() + 1; in onWritePixels()
[all …]