Searched refs:vkRT (Results 1 – 2 of 2) sorted by relevance
190 const GrVkRenderTarget* vkRT, in setup_viewport_scissor_state() argument201 viewport->width = SkIntToScalar(vkRT->width()); in setup_viewport_scissor_state()202 viewport->height = SkIntToScalar(vkRT->height()); in setup_viewport_scissor_state()210 !scissorState.rect().contains(0, 0, vkRT->width(), vkRT->height())) { in setup_viewport_scissor_state()215 if (kTopLeft_GrSurfaceOrigin == vkRT->origin()) { in setup_viewport_scissor_state()218 SkASSERT(kBottomLeft_GrSurfaceOrigin == vkRT->origin()); in setup_viewport_scissor_state()219 scissor->offset.y = vkRT->height() - scissorState.rect().fBottom; in setup_viewport_scissor_state()226 SkASSERT(scissor->offset.x + scissor->extent.width <= (uint32_t)vkRT->width()); in setup_viewport_scissor_state()228 SkASSERT(scissor->offset.y + scissor->extent.height <= (uint32_t)vkRT->height()); in setup_viewport_scissor_state()230 scissor->extent.width = vkRT->width(); in setup_viewport_scissor_state()[all …]
892 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(target); in onClear() local893 VkImageLayout origDstLayout = vkRT->currentLayout(); in onClear()899 GrVkMemory::LayoutToPipelineStageFlags(vkRT->currentLayout()); in onClear()901 vkRT->setImageLayout(this, in onClear()917 const GrVkRenderPass* renderPass = vkRT->simpleRenderPass(); in onClear()919 fCurrentCmdBuffer->beginRenderPass(this, renderPass, *vkRT); in onClear()940 vkRT->setImageLayout(this, in onClear()962 vkRT, in onClear()1200 GrVkRenderTarget* vkRT = static_cast<GrVkRenderTarget*>(rt); in onDraw() local1201 const GrVkRenderPass* renderPass = vkRT->simpleRenderPass(); in onDraw()[all …]