/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/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 | 3476 sw::Rect clearRect = colorbuffer->getRect(); in clearColorBuffer() local 3480 …clearRect.clip(mState.scissorX, mState.scissorY, mState.scissorX + mState.scissorWidth, mState.sci… in clearColorBuffer() 3483 device->clear(value, format, colorbuffer, clearRect, rgbaMask); in clearColorBuffer() 3519 sw::Rect clearRect = depthbuffer->getRect(); in clearDepthBuffer() local 3523 …clearRect.clip(mState.scissorX, mState.scissorY, mState.scissorX + mState.scissorWidth, mState.sci… in clearDepthBuffer() 3526 … depthbuffer->clearDepth(depth, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepthBuffer() 3547 sw::Rect clearRect = stencilbuffer->getRect(); in clearStencilBuffer() local 3551 …clearRect.clip(mState.scissorX, mState.scissorY, mState.scissorX + mState.scissorWidth, mState.sci… in clearStencilBuffer() 3554 …c_cast<unsigned char>(mState.stencilWritemask), clearRect.x0, clearRect.y0, clearRect.width(), cle… in clearStencilBuffer()
|
/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/skia/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/skia/src/core/ |
D | SkGpuBlurUtils.cpp | 360 SkIRect clearRect = SkIRect::MakeXYWH(contentRect->fRight, contentRect->fTop, in decimate() local 362 dstRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in decimate() 368 SkIRect clearRect = SkIRect::MakeXYWH(contentRect->fLeft, contentRect->fBottom, in decimate() local 370 dstRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in decimate() 391 SkIRect clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, srcRect.width() + 1, 1); in reexpand() local 392 srcRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in reexpand() 393 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop, 1, srcRect.height()); in reexpand() 394 srcRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in reexpand() 530 SkIRect clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, in GaussianBlur() local 532 dstRenderTargetContext->priv().absClear(&clearRect, SK_PMColor4fTRANSPARENT); in GaussianBlur()
|
/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/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 376 VkClearRect clearRect; in onClearStencilClip() local 389 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClearStencilClip() 390 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClearStencilClip() 392 clearRect.baseArrayLayer = 0; in onClearStencilClip() 393 clearRect.layerCount = 1; in onClearStencilClip() 403 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect); in onClearStencilClip() 460 VkClearRect clearRect; in onClear() local 472 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop }; in onClear() 473 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() }; in onClear() 474 clearRect.baseArrayLayer = 0; in onClear() [all …]
|
/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/skia/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 207 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); in makeRenderTargetContext() local 208 rtc->clear(&clearRect, SK_PMColor4fTRANSPARENT, in makeRenderTargetContext()
|
/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/skia/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/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/v8/benchmarks/spinning-balls/ |
D | v.js | 273 this.ctx.clearRect(0, 0, this.width, this.height); 354 this.ctx.clearRect(0, 0, this.width, this.height);
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiGetMemoryCommitment.cpp | 285 const VkClearRect clearRect = in iterate() local 319 vkd.cmdClearAttachments(*cmdBuffer, 1, &clearAttachment, 1u, &clearRect); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemAttachmentClearTests.cpp | 214 const vk::VkClearRect clearRect = in iterate() local 220 vk.cmdClearAttachments(targetCmdBuffer, 1u, &pAttachments, 1u, &clearRect); in iterate()
|
/external/skqp/experimental/docs/ |
D | canvasBackend.js | 20 ctx.clearRect(0, 0, canvas.width, canvas.height);
|
/external/skia/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/swiftshader/src/D3D8/ |
D | Direct3DDevice8.cpp | 368 sw::Rect clearRect(rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2); in Clear() local 370 … clearRect.clip(viewport.X, viewport.Y, viewport.X + viewport.Width, viewport.Y + viewport.Height); in Clear() 385 renderer->clear(rgba, sw::FORMAT_A32B32G32R32F, renderTarget, clearRect, 0xF); in Clear() 392 depthStencil->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in Clear() 397 …depthStencil->clearStencil(stencil, 0xFF, clearRect.x0, clearRect.y0, clearRect.width(), clearRect… in Clear()
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 532 const VkClearRect clearRect = in clearColorWithClearAttachments() local 539 m_vkd.cmdClearAttachments(*m_cmdBufferPrimary, 1, &clearAttachment, 1, &clearRect); in clearColorWithClearAttachments() 560 const VkClearRect clearRect = in clearDepthWithClearAttachments() local 566 m_vkd.cmdClearAttachments(*m_cmdBufferPrimary, 1, &clearAttachment, 1, &clearRect); in clearDepthWithClearAttachments()
|
/external/skqp/src/gpu/ |
D | GrRenderTargetContext.cpp | 363 void GrRenderTargetContextPriv::absClear(const SkIRect* clearRect, const SkPMColor4f& color) { in absClear() argument 375 if (clearRect) { in absClear() 376 if (clearRect->contains(rtRect)) { in absClear() 377 clearRect = nullptr; // full screen in absClear() 379 if (!rtRect.intersect(*clearRect)) { in absClear() 389 if (clearRect) { in absClear()
|
/external/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 359 void GrRenderTargetContextPriv::absClear(const SkIRect* clearRect, const SkPMColor4f& color) { in absClear() argument 371 if (clearRect) { in absClear() 372 if (clearRect->contains(rtRect)) { in absClear() 373 clearRect = nullptr; // full screen in absClear() 375 if (!rtRect.intersect(*clearRect)) { in absClear() 385 if (clearRect) { in absClear()
|