Searched defs:clearRect (Results 1 - 25 of 27) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemAttachmentClearTests.cpp238 const vk::VkClearRect clearRect = local
244 vk.cmdClearAttachments(targetCmdBuffer, 1u, &pAttachments, 1u, &clearRect);
/external/skia/bench/
H A DGameBench.cpp128 SkRect clearRect = { -1.0f, -1.0f, width+1.0f, height+1.0f }; variable
162 canvas->drawRect(clearRect, clearPaint);
/external/skia/src/core/
H A DSkGpuBlurUtils.cpp200 SkIRect clearRect; local
324 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop,
326 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
359 clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom,
361 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
389 clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, srcRect.width() + 1, 1);
390 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
391 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop, 1, srcRect.height());
392 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
/external/skia/src/gpu/ccpr/
H A DGrCCAtlas.cpp160 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); local
161 rtc->clear(&clearRect, 0, GrRenderTargetContext::CanClearFullscreen::kYes);
/external/skqp/bench/
H A DGameBench.cpp128 SkRect clearRect = { -1.0f, -1.0f, width+1.0f, height+1.0f }; variable
162 canvas->drawRect(clearRect, clearPaint);
/external/skqp/src/core/
H A DSkGpuBlurUtils.cpp200 SkIRect clearRect; local
323 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop,
325 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
358 clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom,
360 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
388 clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, srcRect.width() + 1, 1);
389 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
390 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop, 1, srcRect.height());
391 dstRenderTargetContext->priv().absClear(&clearRect, 0x0);
/external/skqp/src/gpu/ccpr/
H A DGrCCAtlas.cpp151 SkIRect clearRect = SkIRect::MakeSize(fDrawBounds); local
152 rtc->clear(&clearRect, 0, GrRenderTargetContext::CanClearFullscreen::kYes);
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilClearTests.cpp424 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight()); local
427 if (!de::inBounds(y, clearRect.y(), clearRect.y()+clearRect.w()))
430 for (int x = clearRect.x(); x < clearRect.x()+clearRect.z(); x++)
468 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight()); local
471 if (!de::inBounds(y, clearRect.y(), clearRect
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilClearTests.cpp427 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight()); local
430 if (!de::inBounds(y, clearRect.y(), clearRect.y()+clearRect.w()))
433 for (int x = clearRect.x(); x < clearRect.x()+clearRect.z(); x++)
471 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight()); local
474 if (!de::inBounds(y, clearRect.y(), clearRect
[all...]
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DDevice.cpp175 sw::Rect clearRect = renderTarget->getRect(); local
179 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1);
182 clear(rgba, FORMAT_A32B32G32R32F, renderTarget, clearRect, rgbaMask);
193 sw::Rect clearRect = depthBuffer->getRect(); local
197 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1);
200 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height());
210 sw::Rect clearRect local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiGetMemoryCommitment.cpp488 const VkClearRect clearRect = local
556 vkd.cmdClearAttachments(*cmdBuffer, 1, &clearAttachment, 1u, &clearRect);
H A DvktApiCommandBuffersTests.cpp2153 const VkClearRect clearRect = local
2161 vkd.cmdClearAttachments(secondaryCommandBuffer, 1, &clearAttachment, 1, &clearRect);
/external/skia/src/effects/
H A DSkMorphologyImageFilter.cpp508 SkIRect clearRect = SkIRect::MakeXYWH(dstRect.fLeft, dstRect.fBottom, local
512 dstRTContext->clear(&clearRect, clearColor, GrRenderTargetContext::CanClearFullscreen::kNo);
/external/skia/src/gpu/vk/
H A DGrVkGpuCommandBuffer.cpp277 VkClearRect clearRect; local
290 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop };
291 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() };
293 clearRect.baseArrayLayer = 0;
294 clearRect.layerCount = 1;
304 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect);
359 VkClearRect clearRect; local
371 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop };
372 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() };
373 clearRect
[all...]
/external/skqp/src/effects/
H A DSkMorphologyImageFilter.cpp508 SkIRect clearRect = SkIRect::MakeXYWH(dstRect.fLeft, dstRect.fBottom, local
512 dstRTContext->clear(&clearRect, clearColor, GrRenderTargetContext::CanClearFullscreen::kNo);
/external/skqp/src/gpu/vk/
H A DGrVkGpuCommandBuffer.cpp296 VkClearRect clearRect; local
309 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop };
310 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() };
312 clearRect.baseArrayLayer = 0;
313 clearRect.layerCount = 1;
323 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect);
381 VkClearRect clearRect; local
393 clearRect.rect.offset = { vkRect.fLeft, vkRect.fTop };
394 clearRect.rect.extent = { (uint32_t)vkRect.width(), (uint32_t)vkRect.height() };
395 clearRect
[all...]
/external/swiftshader/src/OpenGL/libGL/
H A DDevice.cpp204 sw::Rect clearRect = renderTarget->getRect(); local
208 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1);
217 clear(rgba, FORMAT_A32B32G32R32F, renderTarget, clearRect, rgbaMask);
228 sw::Rect clearRect = depthStencil->getRect(); local
232 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1);
235 depthStencil->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height());
245 sw::Rect clearRect local
[all...]
/external/proguard/src/proguard/gui/splash/
H A DOverrideGraphics2D.java239 public void clearRect(int x, int y, int width, int height) method in class:OverrideGraphics2D
241 graphics.clearRect(x, y, width, height);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.cpp205 sw::Rect clearRect = renderTarget[i]->getRect(); local
209 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1);
212 clear(rgba, FORMAT_A32B32G32R32F, renderTarget[i], clearRect, rgbaMask);
225 sw::Rect clearRect = depthBuffer->getRect(); local
229 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1);
232 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height());
242 sw::Rect clearRect local
[all...]
/external/swiftshader/src/Renderer/
H A DRenderer.cpp680 void Renderer::clear(void *value, Format format, Surface *dest, const Rect &clearRect, unsigned int rgbaMask) argument
682 blitter->clear(value, format, dest, clearRect, rgbaMask);
/external/deqp/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp1542 VkClearRect clearRect = local
1549 m_device->cmdClearAttachments(*m_cmdBuffer, 1u, &clearAttachment, 1u, &clearRect);
1555 clearRect.rect = rect2D[1];
1557 m_device->cmdClearAttachments(*m_cmdBuffer, 1u, &clearAttachment, 1u, &clearRect);
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp1476 const VkClearRect clearRect = local
1486 vkd.cmdClearAttachments(*commandBuffer, 1, &clearAttachment, 1, &clearRect);
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp2650 const VkClearRect clearRect = local
2657 vk.cmdClearAttachments(cmdBuffer, 1, &clearAttachment, 1, &clearRect);
/external/skia/src/gpu/
H A DGrRenderTargetContext.cpp288 void GrRenderTargetContextPriv::absClear(const SkIRect* clearRect, const GrColor color) { argument
300 if (clearRect) {
301 if (clearRect->contains(rtRect)) {
302 clearRect = nullptr; // full screen
304 if (!rtRect.intersect(*clearRect)) {
316 std::unique_ptr<GrOp> op(GrClearOp::Make(rtRect, color, !clearRect));
/external/skqp/src/gpu/
H A DGrRenderTargetContext.cpp286 void GrRenderTargetContextPriv::absClear(const SkIRect* clearRect, const GrColor color) { argument
298 if (clearRect) {
299 if (clearRect->contains(rtRect)) {
300 clearRect = nullptr; // full screen
302 if (!rtRect.intersect(*clearRect)) {
314 std::unique_ptr<GrOp> op(GrClearOp::Make(rtRect, color, !clearRect));

Completed in 1320 milliseconds

12