/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 175 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/ |
D | es2fDepthStencilClearTests.cpp | 424 …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/ |
D | es3fDepthStencilClearTests.cpp | 427 …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/ |
D | GrD3DOpsRenderPass.cpp | 300 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/ |
D | VkDrawableTest.cpp | 67 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/ |
D | VkDrawableTest.cpp | 64 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/ |
D | Device.cpp | 205 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()
|
D | Context.cpp | 3488 sw::Rect clearRect = colorbuffer->getRect(); in clearColorBuffer() local 3492 …clearRect.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 3535 …clearRect.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 3563 …clearRect.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/ |
D | GrVkOpsRenderPass.cpp | 446 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/ |
D | SkGpuBlurUtils.cpp | 358 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/ |
D | GrVkGpuCommandBuffer.cpp | 379 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/ |
D | color-handler.js | 33 context.clearRect(0, 0, 1, 1);
|
/external/skia/src/gpu/ |
D | GrDynamicAtlas.cpp | 201 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); in instantiate() local 202 rtc->clearAtLeast(clearRect, SK_PMColor4fTRANSPARENT); in instantiate()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 206 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); in makeRenderTargetContext() local 207 rtc->clear(&clearRect, SK_PMColor4fTRANSPARENT, in makeRenderTargetContext()
|
/external/skqp/bench/ |
D | GameBench.cpp | 128 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/ |
D | shared.js | 85 ctx.clearRect(0, 0, 500, 500);
|
/external/skia/bench/ |
D | GameBench.cpp | 130 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/ |
D | vktProtectedMemAttachmentClearTests.cpp | 219 const vk::VkClearRect clearRect = in iterate() local 225 vk.cmdClearAttachments(targetCmdBuffer, 1u, &pAttachments, 1u, &clearRect); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiGetMemoryCommitment.cpp | 301 const VkClearRect clearRect = in iterate() local 335 vkd.cmdClearAttachments(*cmdBuffer, 1, &clearAttachment, 1u, &clearRect); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp | 731 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/ |
D | canvasBackend.js | 20 ctx.clearRect(0, 0, canvas.width, canvas.height);
|
/external/skqp/experimental/docs/ |
D | canvasBackend.js | 20 ctx.clearRect(0, 0, canvas.width, canvas.height);
|
/external/proguard/src/proguard/gui/splash/ |
D | OverrideGraphics2D.java | 239 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/ |
D | canvas2d.spec.js | 458 ctx.clearRect(220, 30, 100, 100); 462 ctx.clearRect(330, 40, 80, 80);
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 530 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()
|