Searched refs:vkTex (Results 1 – 1 of 1) sorted by relevance
264 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() local265 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()[all …]