Searched refs:vkTex (Results 1 – 3 of 3) sorted by relevance
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 386 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() local 387 if (!vkTex) { in onWritePixels() 396 SkASSERT(!GrPixelConfigIsCompressed(vkTex->config())); in onWritePixels() 398 bool linearTiling = vkTex->isLinearTiled(); in onWritePixels() 404 if (VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels() 406 vkTex->setImageLayout(this, in onWritePixels() 413 success = this->uploadTexDataLinear(vkTex, left, top, width, height, srcColorType, in onWritePixels() 416 SkASSERT(mipLevelCount <= vkTex->texturePriv().maxMipMapLevel() + 1); in onWritePixels() 417 success = this->uploadTexDataOptimal(vkTex, left, top, width, height, srcColorType, texels, in onWritePixels() 434 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in onTransferPixels() local [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 389 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() local 390 if (!vkTex) { in onWritePixels() 399 SkASSERT(!GrPixelConfigIsCompressed(vkTex->config())); in onWritePixels() 401 bool linearTiling = vkTex->isLinearTiled(); in onWritePixels() 407 if (VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels() 409 vkTex->setImageLayout(this, in onWritePixels() 416 success = this->uploadTexDataLinear(vkTex, left, top, width, height, srcColorType, in onWritePixels() 419 SkASSERT(mipLevelCount <= vkTex->texturePriv().maxMipMapLevel() + 1); in onWritePixels() 420 success = this->uploadTexDataOptimal(vkTex, left, top, width, height, srcColorType, texels, in onWritePixels() 437 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in onTransferPixels() local [all …]
|
/external/skia/tests/ |
D | VkBackendSurfaceTest.cpp | 178 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 183 vkTex->setCurrentQueueFamilyToGraphicsQueue(gpu); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|