/external/deqp/modules/gles2/functional/ |
D | es2fStencilTests.cpp | 177 …virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil… 181 void visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep); 254 void StencilCase::visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep) in visualizeStencil() argument 256 int endVal = 1<<stencilBits; in visualizeStencil() 278 int stencilBits = renderTarget.getStencilBits(); in iterate() local 280 int stencilStep = stencilBits == 8 ? 8 : 1; in iterate() 281 int numStencilValues = (1<<stencilBits)/stencilStep + 1; in iterate() 305 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1)); in iterate() 308 genOps(ops[numStencilValues+0], stencilBits, depthBits, 1<<stencilBits); in iterate() 309 genOps(ops[numStencilValues+1], stencilBits, depthBits, -1); in iterate() [all …]
|
D | es2fIntegerStateQueryTests.cpp | 78 …virtual void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits)… 113 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 303 …BooleanVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) in verifyStencilMaskInitial() argument 315 if (stencilBits > 0 && state != GL_TRUE) in verifyStencilMaskInitial() 336 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 471 …IntegerVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) in verifyStencilMaskInitial() argument 481 const GLint reference = (1 << stencilBits) - 1; in verifyStencilMaskInitial() 504 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 642 …etFloatVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) in verifyStencilMaskInitial() argument 646 const GLint reference = (1 << stencilBits) - 1; in verifyStencilMaskInitial() [all …]
|
D | es2fDepthStencilClearTests.cpp | 103 tcu::TextureFormat getStencilFormat (int stencilBits) in getStencilFormat() argument 105 switch (stencilBits) in getStencilFormat() 450 int stencilBits = renderTarget.getStencilBits(); in renderReference() local 451 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1); in renderReference() 453 deUint32 bufMask = (1u<<stencilBits)-1; in renderReference() 486 …float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_… in renderReference()
|
D | es2fDepthStencilTests.cpp | 210 int stencilBits; member 219 , stencilBits (stencilBits_) in TestRenderTarget() 227 , stencilBits (0) in TestRenderTarget() 232 void getStencilTestValues (int stencilBits, int numValues, int* values) in getStencilTestValues() argument 236 int maxVal = (1<<stencilBits)-1; in getStencilTestValues() 269 getStencilTestValues(target.stencilBits, numL0CellsX*numL0CellsY, &stencilValues[0]); in generateBaseClearAndDepthCommands() 342 getStencilTestValues(target.stencilBits, numValues, &stencilValues[0]); in generateStencilVisualizeCommands() 384 bool hasStencil = renderTarget.stencilBits > 0; in translateCommand() 399 dst.state.numStencilBits = renderTarget.stencilBits; in translateCommand() 481 … const tcu::PixelBufferAccess& dstColor, const tcu::PixelBufferAccess& dstStencil, int stencilBits) in renderReference() argument [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fStencilTests.cpp | 180 …virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil… 184 void visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep); 257 void StencilCase::visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep) in visualizeStencil() argument 259 int endVal = 1<<stencilBits; in visualizeStencil() 281 int stencilBits = renderTarget.getStencilBits(); in iterate() local 283 int stencilStep = stencilBits == 8 ? 8 : 1; in iterate() 284 int numStencilValues = (1<<stencilBits)/stencilStep + 1; in iterate() 308 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1)); in iterate() 311 genOps(ops[numStencilValues+0], stencilBits, depthBits, 1<<stencilBits); in iterate() 312 genOps(ops[numStencilValues+1], stencilBits, depthBits, -1); in iterate() [all …]
|
D | es3fDepthStencilClearTests.cpp | 103 tcu::TextureFormat getStencilFormat (int stencilBits) in getStencilFormat() argument 105 switch (stencilBits) in getStencilFormat() 453 int stencilBits = renderTarget.getStencilBits(); in renderReference() local 454 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1); in renderReference() 456 deUint32 bufMask = (1u<<stencilBits)-1; in renderReference() 489 …float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_… in renderReference()
|
D | es3fIntegerStateQueryTests.cpp | 79 …virtual void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits)… 115 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 335 …BooleanVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) in verifyStencilMaskInitial() argument 347 if (stencilBits > 0 && state != GL_TRUE) in verifyStencilMaskInitial() 369 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 522 …IntegerVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) in verifyStencilMaskInitial() argument 532 const GLint reference = (1 << stencilBits) - 1; in verifyStencilMaskInitial() 556 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 708 …teger64Verifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) in verifyStencilMaskInitial() argument 718 const GLint64 reference = (1ULL << stencilBits) - 1; in verifyStencilMaskInitial() [all …]
|
D | es3fDepthStencilTests.cpp | 210 int stencilBits; member 219 , stencilBits (stencilBits_) in TestRenderTarget() 227 , stencilBits (0) in TestRenderTarget() 232 void getStencilTestValues (int stencilBits, int numValues, int* values) in getStencilTestValues() argument 236 int maxVal = (1<<stencilBits)-1; in getStencilTestValues() 269 getStencilTestValues(target.stencilBits, numL0CellsX*numL0CellsY, &stencilValues[0]); in generateBaseClearAndDepthCommands() 342 getStencilTestValues(target.stencilBits, numValues, &stencilValues[0]); in generateStencilVisualizeCommands() 384 bool hasStencil = renderTarget.stencilBits > 0; in translateCommand() 399 dst.state.numStencilBits = renderTarget.stencilBits; in translateCommand() 481 … const tcu::PixelBufferAccess& dstColor, const tcu::PixelBufferAccess& dstStencil, int stencilBits) in renderReference() argument [all …]
|
/external/deqp/framework/opengl/ |
D | gluFboRenderContext.cpp | 70 static void getDepthStencilBits (deUint32 depthStencilFormat, int* depthBits, int* stencilBits) in getDepthStencilBits() argument 75 *stencilBits = getNumStencilBits(combinedFormat); in getDepthStencilBits() 136 const int stencilBits = getNumStencilBits(combinedFormat); in chooseDepthStencilFormat() local 142 if (config.stencilBits != glu::RenderConfig::DONT_CARE && in chooseDepthStencilFormat() 143 config.stencilBits != stencilBits) in chooseDepthStencilFormat() 216 int stencilBits = 0; in createFramebuffer() local 250 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits); in createFramebuffer() 275 if (stencilBits > 0) in createFramebuffer() 287 …m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numS… in createFramebuffer()
|
D | gluRenderConfig.hpp | 80 int stencilBits; member 95 , stencilBits (DONT_CARE) in RenderConfig()
|
D | gluRenderConfig.cpp | 40 config->stencilBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName() 108 config->stencilBits = stencilCfgs[ndx].stencilSize; in parseConfigBitsFromName()
|
/external/deqp/framework/common/ |
D | tcuRenderTarget.cpp | 39 … (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) in RenderTarget() argument 44 , m_stencilBits (stencilBits) in RenderTarget()
|
D | tcuRenderTarget.hpp | 39 … width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBits, int numSamples…
|
/external/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 55 int stencilBits) { in CreateWrapped() argument 57 if (stencilBits) { in CreateWrapped() 62 format.fStencilBits = stencilBits; in CreateWrapped() 63 format.fTotalBits = stencilBits; in CreateWrapped()
|
/external/deqp/framework/platform/win32/ |
D | tcuWGL.hpp | 122 int stencilBits; member in tcu::wgl::PixelFormatInfo 144 , stencilBits (0) in PixelFormatInfo()
|
D | tcuWGL.cpp | 344 info.stencilBits = values[11]; in getPixelFormatInfo() 489 if (config.stencilBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat() 490 config.stencilBits != info.stencilBits) in choosePixelFormat()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_renderbuffer.c | 341 GLuint stencilBits) in add_stencil_renderbuffer() argument 345 if (stencilBits > 16) { in add_stencil_renderbuffer() 359 assert(stencilBits <= 8); in add_stencil_renderbuffer() 510 stencil && fb->Visual.stencilBits == 8) { in _swrast_add_soft_renderbuffers() 525 assert(fb->Visual.stencilBits > 0); in _swrast_add_soft_renderbuffers() 526 add_stencil_renderbuffer(NULL, fb, fb->Visual.stencilBits); in _swrast_add_soft_renderbuffers()
|
D | s_stencil.c | 499 const GLuint stencilMax = (1 << fb->Visual.stencilBits) - 1; in _swrast_write_stencil_span() 553 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; in _swrast_clear_stencil_buffer() local 555 const GLuint stencilMax = (1 << stencilBits) - 1; in _swrast_clear_stencil_buffer()
|
/external/deqp/framework/platform/ios/ |
D | tcuIOSPlatform.mm | 220 int stencilBits = 0; 228 if ((config.depthBits > 0 || config.stencilBits > 0) && depthStencilFormat == 0) 256 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_STENCIL_SIZE, &stencilBits); 269 if (stencilBits > 0) 281 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, 0);
|
/external/mesa3d/src/glx/apple/ |
D | apple_visual.c | 143 if (mode->stencilBits > 0) { in apple_visual_create_pfobj() 145 attr[numattr++] = mode->stencilBits; in apple_visual_create_pfobj()
|
/external/mesa3d/src/mesa/main/ |
D | context.c | 217 GLint stencilBits, in _mesa_create_visual() argument 228 depthBits, stencilBits, in _mesa_create_visual() 259 GLint stencilBits, in _mesa_initialize_visual() argument 271 if (stencilBits < 0 || stencilBits > 8) { in _mesa_initialize_visual() 291 vis->stencilBits = stencilBits; in _mesa_initialize_visual() 300 vis->haveStencilBuffer = stencilBits > 0; in _mesa_initialize_visual() 1358 if (ctxvis->stencilBits && ctxvis->stencilBits != bufvis->stencilBits) in check_compatible()
|
D | context.h | 75 GLint stencilBits, 91 GLint stencilBits,
|
D | stencil.c | 139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFuncSeparateATI() 197 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFunc() 481 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_StencilFuncSeparate() 556 ctx->DrawBuffer->Visual.stencilBits > 0); in _mesa_update_stencil()
|
/external/deqp/modules/egl/ |
D | teglRenderTests.cpp | 372 tcu::TextureFormat getStencilFormat (int stencilBits) in getStencilFormat() argument 374 switch (stencilBits) in getStencilFormat() 382 …Ops, const tcu::PixelFormat& colorBits, const int depthBits, const int stencilBits, const int numS… in renderReference() argument 415 if (stencilBits > 0) in renderReference() 417 stencilBuffer.setStorage(getStencilFormat(stencilBits), numSamples, width, height); in renderReference() 706 const int stencilBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_STENCIL_SIZE); in executeForContexts() local 724 log << TestLog::Message << "EGL_STENCIL_SIZE = " << stencilBits << TestLog::EndMessage; in executeForContexts() 789 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1); in executeForContexts() 909 …const int stencilBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_STENCIL_SIZ… in executeForContexts() local 932 log << TestLog::Message << "EGL_STENCIL_SIZE = " << stencilBits << TestLog::EndMessage; in executeForContexts() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | utils.c | 358 modes->stencilBits = stencil_bits[k]; in driCreateConfigs() 386 modes->haveStencilBuffer = (modes->stencilBits > 0); in driCreateConfigs() 449 __ATTRIB(__DRI_ATTRIB_STENCIL_SIZE, stencilBits),
|