Home
last modified time | relevance | path

Searched refs:clearMask (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp153 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 …]
Des3fDepthStencilClearTests.cpp69 : 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/
Des2fColorClearTest.cpp153 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 …]
Des2fDepthStencilClearTests.cpp69 : 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/mesa3d/src/gallium/drivers/swr/
Dswr_clear.cpp37 UINT clearMask = 0; in swr_clear() local
48 clearMask |= (SWR_ATTACHMENT_COLOR0_BIT << i); in swr_clear()
55 clearMask |= SWR_ATTACHMENT_DEPTH_BIT; in swr_clear()
61 clearMask |= SWR_ATTACHMENT_STENCIL_BIT; in swr_clear()
81 ctx->api.pfnSwrClearRenderTarget(ctx->swrContext, clearMask, i, in swr_clear()
88 clearMask &= ~(SWR_ATTACHMENT_DEPTH_BIT | SWR_ATTACHMENT_STENCIL_BIT); in swr_clear()
92 clearMask &= ~(SWR_ATTACHMENT_COLOR0_BIT << c); in swr_clear()
/external/skia/src/pathops/
DSkIntersections.cpp61 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/
DSkIntersections.cpp61 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()