/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_clear.cpp | 38 UINT clearMask = 0; in swr_clear() local 49 clearMask |= (SWR_ATTACHMENT_COLOR0_BIT << i); in swr_clear() 56 clearMask |= SWR_ATTACHMENT_DEPTH_BIT; in swr_clear() 62 clearMask |= SWR_ATTACHMENT_STENCIL_BIT; in swr_clear() 80 ctx->api.pfnSwrClearRenderTarget(ctx->swrContext, clearMask, i, in swr_clear() 87 clearMask &= ~(SWR_ATTACHMENT_DEPTH_BIT | SWR_ATTACHMENT_STENCIL_BIT); in swr_clear() 91 clearMask &= ~(SWR_ATTACHMENT_COLOR0_BIT << c); in swr_clear()
|
/external/deqp/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()
|
/external/deqp/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()
|
/external/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()
|
/external/skqp/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()
|
/external/angle/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 …]
|
/external/skia/src/gpu/ |
D | GrClipStack.cpp | 276 static void draw_to_sw_mask(GrSWMaskHelper* helper, const GrClipStack::Element& e, bool clearMask) { in draw_to_sw_mask() argument 281 if (clearMask) { in draw_to_sw_mask() 292 if (clearMask) { in draw_to_sw_mask()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1985 GrGLbitfield clearMask = 0; in beginCommandBuffer() local 1990 clearMask |= GR_GL_COLOR_BUFFER_BIT; in beginCommandBuffer() 1996 clearMask |= GR_GL_STENCIL_BUFFER_BIT; in beginCommandBuffer() 1998 if (clearMask) { in beginCommandBuffer() 2001 GL_CALL(Clear(clearMask)); in beginCommandBuffer()
|