Lines Matching refs:vkTex
264 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() local
265 if (!vkTex) { in onWritePixels()
275 if (GrPixelConfigIsCompressed(vkTex->desc().fConfig)) { in onWritePixels()
277 SkASSERT(config == vkTex->desc().fConfig); in onWritePixels()
280 vkTex->unref(); in onWritePixels()
285 bool linearTiling = vkTex->isLinearTiled(); in onWritePixels()
286 if (linearTiling && VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels()
288 VkImageLayout layout = vkTex->currentLayout(); in onWritePixels()
293 vkTex->setImageLayout(this, in onWritePixels()
301 success = this->uploadTexData(vkTex, left, top, width, height, config, in onWritePixels()
306 vkTex->texturePriv().dirtyMipMaps(true); in onWritePixels()