Home
last modified time | relevance | path

Searched refs:clearRect (Results 1 – 25 of 54) sorted by relevance

123

/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp175 sw::Rect clearRect = renderTarget->getRect(); in clearColor() local
179 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor()
182 clear(rgba, FORMAT_A32B32G32R32F, renderTarget, clearRect, rgbaMask); in clearColor()
193 sw::Rect clearRect = depthBuffer->getRect(); in clearDepth() local
197 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth()
200 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepth()
210 sw::Rect clearRect = stencilBuffer->getRect(); in clearStencil() local
214 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil()
217 …stencilBuffer->clearStencil(stencil, mask, clearRect.x0, clearRect.y0, clearRect.width(), clearRec… in clearStencil()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp424 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference() local
427 if (!de::inBounds(y, clearRect.y(), clearRect.y()+clearRect.w())) in renderReference()
430 for (int x = clearRect.x(); x < clearRect.x()+clearRect.z(); x++) in renderReference()
468 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference() local
471 if (!de::inBounds(y, clearRect.y(), clearRect.y()+clearRect.w())) in renderReference()
474 for (int x = clearRect.x(); x < clearRect.x()+clearRect.z(); x++) in renderReference()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilClearTests.cpp427 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference() local
430 if (!de::inBounds(y, clearRect.y(), clearRect.y()+clearRect.w())) in renderReference()
433 for (int x = clearRect.x(); x < clearRect.x()+clearRect.z(); x++) in renderReference()
471 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference() local
474 if (!de::inBounds(y, clearRect.y(), clearRect.y()+clearRect.w())) in renderReference()
477 for (int x = clearRect.x(); x < clearRect.x()+clearRect.z(); x++) in renderReference()
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp300 D3D12_RECT clearRect; in scissor_to_d3d_clear_rect() local
311 clearRect.left = d3dRect.fLeft; in scissor_to_d3d_clear_rect()
312 clearRect.right = d3dRect.fRight; in scissor_to_d3d_clear_rect()
313 clearRect.top = d3dRect.fTop; in scissor_to_d3d_clear_rect()
314 clearRect.bottom = d3dRect.fBottom; in scissor_to_d3d_clear_rect()
315 return clearRect; in scissor_to_d3d_clear_rect()
319 D3D12_RECT clearRect = scissor_to_d3d_clear_rect(scissor, fRenderTarget, fOrigin); in onClear() local
322 fGpu->currentCommandList()->clearRenderTargetView(d3dRT, color, &clearRect); in onClear()
340 D3D12_RECT clearRect = scissor_to_d3d_clear_rect(scissor, fRenderTarget, fOrigin); in onClearStencilClip() local
343 fGpu->currentCommandList()->clearDepthStencilView(d3dStencil, stencilColor, &clearRect); in onClearStencilClip()
/external/skia/tests/
DVkDrawableTest.cpp67 VkClearRect clearRect; in draw() local
68 clearRect.rect.offset = { fWidth / 2, 0 }; in draw()
69 clearRect.rect.extent = { (uint32_t)fWidth / 2, (uint32_t)fHeight }; in draw()
70 clearRect.baseArrayLayer = 0; in draw()
71 clearRect.layerCount = 1; in draw()
82 &clearRect)); in draw()
/external/skqp/tests/
DVkDrawableTest.cpp64 VkClearRect clearRect; in draw() local
65 clearRect.rect.offset = { fWidth / 2, 0 }; in draw()
66 clearRect.rect.extent = { (uint32_t)fWidth / 2, (uint32_t)fHeight }; in draw()
67 clearRect.baseArrayLayer = 0; in draw()
68 clearRect.layerCount = 1; in draw()
79 &clearRect)); in draw()
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp205 sw::Rect clearRect = renderTarget[i]->getRect(); in clearColor() local
209 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor()
212 clear(rgba, FORMAT_A32B32G32R32F, renderTarget[i], clearRect, rgbaMask); in clearColor()
225 sw::Rect clearRect = depthBuffer->getRect(); in clearDepth() local
229 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth()
232 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepth()
242 sw::Rect clearRect = stencilBuffer->getRect(); in clearStencil() local
246 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil()
249 …stencilBuffer->clearStencil(stencil, mask, clearRect.x0, clearRect.y0, clearRect.width(), clearRec… in clearStencil()
DContext.cpp3488 sw::Rect clearRect = colorbuffer->getRect(); in clearColorBuffer() local
3492clearRect.clip(mState.scissorX, mState.scissorY, mState.scissorX + mState.scissorWidth, mState.sci… in clearColorBuffer()
3495 device->clear(value, format, colorbuffer, clearRect, rgbaMask); in clearColorBuffer()
3531 sw::Rect clearRect = depthbuffer->getRect(); in clearDepthBuffer() local
3535clearRect.clip(mState.scissorX, mState.scissorY, mState.scissorX + mState.scissorWidth, mState.sci… in clearDepthBuffer()
3538 … depthbuffer->clearDepth(depth, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepthBuffer()
3559 sw::Rect clearRect = stencilbuffer->getRect(); in clearStencilBuffer() local
3563clearRect.clip(mState.scissorX, mState.scissorY, mState.scissorX + mState.scissorWidth, mState.sci… in clearStencilBuffer()
3566 …c_cast<unsigned char>(mState.stencilWritemask), clearRect.x0, clearRect.y0, clearRect.width(), cle… in clearStencilBuffer()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp446 VkClearRect clearRect; in onClearStencilClip() local
458 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClearStencilClip()
459 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClearStencilClip()
461 clearRect.baseArrayLayer = 0; in onClearStencilClip()
462 clearRect.layerCount = 1; in onClearStencilClip()
472 this->currentCommandBuffer()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect); in onClearStencilClip()
494 VkClearRect clearRect; in onClear() local
505 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClear()
506 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClear()
507 clearRect.baseArrayLayer = 0; in onClear()
[all …]
/external/skqp/src/core/
DSkGpuBlurUtils.cpp358 SkIRect clearRect = SkIRect::MakeXYWH(contentRect->fRight, contentRect->fTop, in decimate() local
360 dstRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in decimate()
366 SkIRect clearRect = SkIRect::MakeXYWH(contentRect->fLeft, contentRect->fBottom, in decimate() local
368 dstRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in decimate()
389 SkIRect clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, srcRect.width() + 1, 1); in reexpand() local
390 srcRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in reexpand()
391 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop, 1, srcRect.height()); in reexpand()
392 srcRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in reexpand()
528 SkIRect clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, in GaussianBlur() local
530 dstRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in GaussianBlur()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp379 VkClearRect clearRect; in onClearStencilClip() local
392 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClearStencilClip()
393 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClearStencilClip()
395 clearRect.baseArrayLayer = 0; in onClearStencilClip()
396 clearRect.layerCount = 1; in onClearStencilClip()
406 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect); in onClearStencilClip()
463 VkClearRect clearRect; in onClear() local
475 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClear()
476 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClear()
477 clearRect.baseArrayLayer = 0; in onClear()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dcolor-handler.js33 context.clearRect(0, 0, 1, 1);
/external/skia/src/gpu/
DGrDynamicAtlas.cpp201 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); in instantiate() local
202 rtc->clearAtLeast(clearRect, SK_PMColor4fTRANSPARENT); in instantiate()
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.cpp206 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); in makeRenderTargetContext() local
207 rtc->clear(&clearRect, SK_PMColor4fTRANSPARENT, in makeRenderTargetContext()
/external/skqp/bench/
DGameBench.cpp128 SkRect clearRect = { -1.0f, -1.0f, width+1.0f, height+1.0f }; in onDraw() local
162 canvas->drawRect(clearRect, clearPaint); in onDraw()
/external/skia/demos.skia.org/demos/path_performance/
Dshared.js85 ctx.clearRect(0, 0, 500, 500);
/external/skia/bench/
DGameBench.cpp130 SkRect clearRect = { -1.0f, -1.0f, width+1.0f, height+1.0f }; in onDraw() local
160 canvas->drawRect(clearRect, clearPaint); in onDraw()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemAttachmentClearTests.cpp219 const vk::VkClearRect clearRect = in iterate() local
225 vk.cmdClearAttachments(targetCmdBuffer, 1u, &pAttachments, 1u, &clearRect); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiGetMemoryCommitment.cpp301 const VkClearRect clearRect = in iterate() local
335 vkd.cmdClearAttachments(*cmdBuffer, 1, &clearAttachment, 1u, &clearRect); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp731 const VkClearRect clearRect = in createCommandBuffer() local
756 vk.cmdClearAttachments(*m_cmdBufferA, 1u, &clearAttachment, 1u, &clearRect); in createCommandBuffer()
760 vk.cmdClearAttachments(*m_cmdBufferB, 1u, &clearAttachment, 1u, &clearRect); in createCommandBuffer()
/external/skia/experimental/docs/
DcanvasBackend.js20 ctx.clearRect(0, 0, canvas.width, canvas.height);
/external/skqp/experimental/docs/
DcanvasBackend.js20 ctx.clearRect(0, 0, canvas.width, canvas.height);
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java239 public void clearRect(int x, int y, int width, int height) in clearRect() method in OverrideGraphics2D
241 graphics.clearRect(x, y, width, height); in clearRect()
/external/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js458 ctx.clearRect(220, 30, 100, 100);
462 ctx.clearRect(330, 40, 80, 80);
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp530 const VkClearRect clearRect = in clearColorWithClearAttachments() local
537 m_vkd.cmdClearAttachments(*m_cmdBufferPrimary, 1, &clearAttachment, 1, &clearRect); in clearColorWithClearAttachments()
558 const VkClearRect clearRect = in clearDepthWithClearAttachments() local
564 m_vkd.cmdClearAttachments(*m_cmdBufferPrimary, 1, &clearAttachment, 1, &clearRect); in clearDepthWithClearAttachments()

123