Home
last modified time | relevance | path

Searched refs:vkRect (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp448 SkIRect vkRect; in onClearStencilClip() local
450 vkRect.setXYWH(0, 0, sb->width(), sb->height()); in onClearStencilClip()
452 vkRect = scissor.rect(); in onClearStencilClip()
454 vkRect.setLTRB(scissor.rect().fLeft, sb->height() - scissor.rect().fBottom, in onClearStencilClip()
458 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClearStencilClip()
459 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClearStencilClip()
496 SkIRect vkRect; in onClear() local
498 vkRect.setSize(dimensions); in onClear()
500 vkRect = scissor.rect(); in onClear()
502 vkRect.setLTRB(scissor.rect().fLeft, dimensions.height() - scissor.rect().fBottom, in onClear()
[all …]
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp381 SkIRect vkRect; in onClearStencilClip() local
383 vkRect.setXYWH(0, 0, fRenderTarget->width(), fRenderTarget->height()); in onClearStencilClip()
385 vkRect = clip.scissorRect(); in onClearStencilClip()
388 vkRect.setLTRB(scissor.fLeft, fRenderTarget->height() - scissor.fBottom, in onClearStencilClip()
392 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClearStencilClip()
393 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClearStencilClip()
465 SkIRect vkRect; in onClear() local
467 vkRect.setXYWH(0, 0, fRenderTarget->width(), fRenderTarget->height()); in onClear()
469 vkRect = clip.scissorRect(); in onClear()
472 vkRect.setLTRB(scissor.fLeft, fRenderTarget->height() - scissor.fBottom, in onClear()
[all …]