Searched refs:vkTex (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1411 auto* vkTex = static_cast<GrVkTexture*>(tex)->textureImage(); in onRegenerateMipMapLevels() local 1413 if (vkTex->isLinearTiled()) { in onRegenerateMipMapLevels() 1421 if (!caps.formatCanBeDstofBlit(vkTex->imageFormat(), false) || in onRegenerateMipMapLevels() 1422 !caps.formatCanBeSrcofBlit(vkTex->imageFormat(), false) || in onRegenerateMipMapLevels() 1434 SkASSERT(levelCount == vkTex->mipLevels()); in onRegenerateMipMapLevels() 1437 vkTex->setImageLayout(this, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_ACCESS_TRANSFER_WRITE_BIT, in onRegenerateMipMapLevels() 1441 SkASSERT(GrVkFormatIsSupported(vkTex->imageFormat())); in onRegenerateMipMapLevels() 1451 vkTex->image(), // image in onRegenerateMipMapLevels() 1464 this->addImageMemoryBarrier(vkTex->resource(), VK_PIPELINE_STAGE_TRANSFER_BIT, in onRegenerateMipMapLevels() 1474 vkTex->resource(), in onRegenerateMipMapLevels() [all …]
|
D | GrVkOpsRenderPass.cpp | 365 GrVkTexture* vkTex = static_cast<GrVkTexture*>(sampledProxies[i]->peekTexture()); in set() local 366 SkASSERT(vkTex); in set() 367 GrVkImage* texture = vkTex->textureImage(); in set() 681 auto vkTex = static_cast<GrVkTexture*>(tex)->textureImage(); in check_sampled_texture() local 682 SkASSERT(vkTex->currentLayout() == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in check_sampled_texture()
|
/third_party/skia/tests/ |
D | VkBackendSurfaceTest.cpp | 224 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); 228 vkTex->setImageLayout(vkGpu, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, 0,
|