/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 153 deUint8 clearMask; in iterate() local 155 clearMask = 0xF; in iterate() 157 clearMask = (rnd.getUint32() & 0xF); in iterate() 158 …gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != … in iterate() 162 …clearOps.push_back(ClearInfo(tcu::IVec4(clearX, clearY, clearWidth, clearHeight), clearMask, clear… in iterate() 201 deUint8 clearMask = op.m_colorMask; in iterate() local 202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate() 203 if ((clearMask & 0x2) && !(spanKnownMask & 0x2)) spanColor.setGreen(clearCol.getGreen()); in iterate() 204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate() 205 if ((clearMask & 0x8) && !(spanKnownMask & 0x8)) spanColor.setAlpha(clearCol.getAlpha()); in iterate() [all …]
|
D | es2fDepthStencilClearTests.cpp | 69 : clearMask (0) in Clear() 79 deUint32 clearMask; member 261 case 0: clear->clearMask = GL_DEPTH_BUFFER_BIT; break; in generateClears() 262 case 1: clear->clearMask = GL_STENCIL_BUFFER_BIT; break; in generateClears() 263 case 2: clear->clearMask = GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT; break; in generateClears() 267 clear->clearMask = GL_DEPTH_BUFFER_BIT; in generateClears() 271 clear->clearMask = GL_STENCIL_BUFFER_BIT; in generateClears() 308 gl.clear (clear->clearMask); in renderGL() 421 if ((clear->clearMask & GL_DEPTH_BUFFER_BIT) == 0 || !clear->depthMask) in renderReference() 465 if ((clear->clearMask & GL_STENCIL_BUFFER_BIT) == 0 || clear->stencilMask == 0) in renderReference()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 153 deUint8 clearMask; in iterate() local 155 clearMask = 0xF; in iterate() 157 clearMask = (rnd.getUint32() & 0xF); in iterate() 158 …gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != … in iterate() 162 …clearOps.push_back(ClearInfo(tcu::IVec4(clearX, clearY, clearWidth, clearHeight), clearMask, clear… in iterate() 201 deUint8 clearMask = op.m_colorMask; in iterate() local 202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate() 203 if ((clearMask & 0x2) && !(spanKnownMask & 0x2)) spanColor.setGreen(clearCol.getGreen()); in iterate() 204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate() 205 if ((clearMask & 0x8) && !(spanKnownMask & 0x8)) spanColor.setAlpha(clearCol.getAlpha()); in iterate() [all …]
|
D | es3fDepthStencilClearTests.cpp | 69 : clearMask (0) in Clear() 79 deUint32 clearMask; member 264 case 0: clear->clearMask = GL_DEPTH_BUFFER_BIT; break; in generateClears() 265 case 1: clear->clearMask = GL_STENCIL_BUFFER_BIT; break; in generateClears() 266 case 2: clear->clearMask = GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT; break; in generateClears() 270 clear->clearMask = GL_DEPTH_BUFFER_BIT; in generateClears() 274 clear->clearMask = GL_STENCIL_BUFFER_BIT; in generateClears() 311 gl.clear (clear->clearMask); in renderGL() 424 if ((clear->clearMask & GL_DEPTH_BUFFER_BIT) == 0 || !clear->depthMask) in renderReference() 468 if ((clear->clearMask & GL_STENCIL_BUFFER_BIT) == 0 || clear->stencilMask == 0) in renderReference()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFramebuffer.cpp | 87 VkImageAspectFlags clearMask = 0; in executeLoadOp() local 92 clearMask |= VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT; in executeLoadOp() 106 clearMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in executeLoadOp() 118 clearMask &= Format(attachment.format).getAspects(); in executeLoadOp() 120 if(!clearMask || !renderPass->isAttachmentUsed(i)) in executeLoadOp() 127 attachments[i]->clearWithLayerMask(pClearValues[i], clearMask, renderArea, in executeLoadOp() 132 attachments[i]->clear(pClearValues[i], clearMask, renderArea); in executeLoadOp()
|
/third_party/flutter/skia/src/pathops/ |
D | SkIntersections.cpp | 61 int clearMask = ~((1 << index) - 1); in insert() local 62 fIsCoincident[0] -= (fIsCoincident[0] >> 1) & clearMask; in insert() 63 fIsCoincident[1] -= (fIsCoincident[1] >> 1) & clearMask; in insert() 89 int clearMask = ~((1 << index) - 1); in insert() local 90 fIsCoincident[0] += fIsCoincident[0] & clearMask; in insert() 91 fIsCoincident[1] += fIsCoincident[1] & clearMask; in insert()
|
/third_party/skia/src/pathops/ |
D | SkIntersections.cpp | 61 int clearMask = ~((1 << index) - 1); in insert() local 62 fIsCoincident[0] -= (fIsCoincident[0] >> 1) & clearMask; in insert() 63 fIsCoincident[1] -= (fIsCoincident[1] >> 1) & clearMask; in insert() 89 int clearMask = ~((1 << index) - 1); in insert() local 90 fIsCoincident[0] += fIsCoincident[0] & clearMask; in insert() 91 fIsCoincident[1] += fIsCoincident[1] & clearMask; in insert()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BlitGL.cpp | 793 GLbitfield clearMask = 0; in clearRenderableTexture() local 795 &clearMask)); in clearRenderableTexture() 813 mFunctions->clear(clearMask); in clearRenderableTexture() 838 mFunctions->clear(clearMask); in clearRenderableTexture() 869 mFunctions->clear(clearMask); in clearRenderableTexture() 892 GLbitfield clearMask = 0; in clearRenderbuffer() local 894 &clearMask)); in clearRenderbuffer() 904 mFunctions->clear(clearMask); in clearRenderbuffer() 920 GLbitfield clearMask = 0; in clearFramebuffer() local 921 ANGLE_TRY(SetClearState(mStateManager, true, true, true, &clearMask)); in clearFramebuffer() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BlitGL.cpp | 868 GLbitfield clearMask = 0; in clearRenderableTexture() local 870 &clearMask)); in clearRenderableTexture() 888 ANGLE_GL_TRY(context, mFunctions->clear(clearMask)); in clearRenderableTexture() 915 ANGLE_GL_TRY(context, mFunctions->clear(clearMask)); in clearRenderableTexture() 947 ANGLE_GL_TRY(context, mFunctions->clear(clearMask)); in clearRenderableTexture() 972 GLbitfield clearMask = 0; in clearRenderbuffer() local 974 &clearMask)); in clearRenderbuffer() 985 ANGLE_GL_TRY(context, mFunctions->clear(clearMask)); in clearRenderbuffer() 1002 GLbitfield clearMask = 0; in clearFramebuffer() local 1003 ANGLE_TRY(SetClearState(mStateManager, true, true, true, &clearMask)); in clearFramebuffer() [all …]
|
/third_party/skia/src/gpu/v1/ |
D | ClipStack.cpp | 261 bool clearMask) { in draw_to_sw_mask() argument 266 if (clearMask) { in draw_to_sw_mask() 277 if (clearMask) { in draw_to_sw_mask()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2018 GrGLbitfield clearMask = 0; in beginCommandBuffer() local 2023 clearMask |= GR_GL_COLOR_BUFFER_BIT; in beginCommandBuffer() 2029 clearMask |= GR_GL_STENCIL_BUFFER_BIT; in beginCommandBuffer() 2031 if (clearMask) { in beginCommandBuffer() 2034 GL_CALL(Clear(clearMask)); in beginCommandBuffer()
|