/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 44 static void getDepthStencilBits (deUint32 depthStencilFormat, int* depthBits, int* stencilBits) 48 *stencilBits = bits[3]; 113 if (config.stencilBits != glu::RenderConfig::DONT_CARE && 114 config.stencilBits != bits[3]) 187 int stencilBits = 0; 221 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits); 246 if (stencilBits > 0) 258 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples);
|
gluRenderConfig.hpp | 80 int stencilBits; 95 , stencilBits (DONT_CARE)
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
glxconfig.h | 49 GLint stencilBits;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_depth.c | 656 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; 658 const GLuint stencilMax = (1 << stencilBits) - 1;
|
s_stencil.c | 499 const GLuint stencilMax = (1 << fb->Visual.stencilBits) - 1; 553 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; 555 const GLuint stencilMax = (1 << stencilBits) - 1;
|
/external/deqp/framework/platform/win32/ |
tcuWGL.hpp | 122 int stencilBits; 144 , stencilBits (0)
|
/external/mesa3d/src/glx/ |
glxconfig.h | 49 GLint stencilBits;
|
/external/mesa3d/src/mesa/swrast/ |
s_depth.c | 656 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; 658 const GLuint stencilMax = (1 << stencilBits) - 1;
|
s_stencil.c | 499 const GLuint stencilMax = (1 << fb->Visual.stencilBits) - 1; 553 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; 555 const GLuint stencilMax = (1 << stencilBits) - 1;
|
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilClearTests.cpp | 103 tcu::TextureFormat getStencilFormat (int stencilBits) 105 switch (stencilBits) 450 int stencilBits = renderTarget.getStencilBits(); 451 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1); 453 deUint32 bufMask = (1u<<stencilBits)-1; 486 float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_STEPS-1);
|
es2fStencilTests.cpp | 177 virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) = DE_NULL; 181 void visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep); 254 void StencilCase::visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep) 256 int endVal = 1<<stencilBits; 278 int stencilBits = renderTarget.getStencilBits(); 280 int stencilStep = stencilBits == 8 ? 8 : 1; 281 int numStencilValues = (1<<stencilBits)/stencilStep + 1; 305 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1)); 308 genOps(ops[numStencilValues+0], stencilBits, depthBits, 1<<stencilBits) [all...] |
es2fDepthStencilTests.cpp | 210 int stencilBits; 219 , stencilBits (stencilBits_) 227 , stencilBits (0) 232 void getStencilTestValues (int stencilBits, int numValues, int* values) 236 int maxVal = (1<<stencilBits)-1; 269 getStencilTestValues(target.stencilBits, numL0CellsX*numL0CellsY, &stencilValues[0]); 342 getStencilTestValues(target.stencilBits, numValues, &stencilValues[0]); 384 bool hasStencil = renderTarget.stencilBits > 0; 399 dst.state.numStencilBits = renderTarget.stencilBits; 481 void renderReference (const vector<ClearCommand>& clears, const tcu::PixelBufferAccess& dstColor, const tcu::PixelBufferAccess& dstStencil, int stencilBits) [all...] |
es2fIntegerStateQueryTests.cpp | 72 virtual void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) = DE_NULL; 107 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 297 void GetBooleanVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) 299 // if stencilBits == 0, the mask is allowed to be either GL_TRUE or GL_FALSE 309 if (stencilBits > 0 && state != GL_TRUE) 330 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); 465 void GetIntegerVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits) 475 const GLint reference = (1 << stencilBits) - 1; 477 if ((state & reference) != reference) // the least significant stencilBits bits should be on 498 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fDepthStencilClearTests.cpp | 103 tcu::TextureFormat getStencilFormat (int stencilBits) 105 switch (stencilBits) 453 int stencilBits = renderTarget.getStencilBits(); 454 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1); 456 deUint32 bufMask = (1u<<stencilBits)-1; 489 float step = (float)(stencil / ((1u<<stencilBits) / (deUint32)STENCIL_STEPS)) / (float)(STENCIL_STEPS-1);
|
es3fStencilTests.cpp | 180 virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) = DE_NULL; 184 void visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep); 257 void StencilCase::visualizeStencil (sglr::Context& context, int stencilBits, int stencilStep) 259 int endVal = 1<<stencilBits; 281 int stencilBits = renderTarget.getStencilBits(); 283 int stencilStep = stencilBits == 8 ? 8 : 1; 284 int numStencilValues = (1<<stencilBits)/stencilStep + 1; 308 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1)); 311 genOps(ops[numStencilValues+0], stencilBits, depthBits, 1<<stencilBits) [all...] |
es3fFboInvalidateTests.cpp | 120 const int stencilBits = renderTargetInfo.getStencilBits(); 122 const bool hasStencil = stencilBits > 0; 124 if (!hasDepth || !hasStencil || (stencilBits != 8)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
DrawingBuffer.cpp | 424 blink::WGC3Dint stencilBits = 0; 425 m_context->getIntegerv(GL_STENCIL_BITS, &stencilBits); 426 m_actualAttributes.stencil = stencilBits > 0; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/ |
glcore.h | 88 GLint stencilBits;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrClipMaskManager.cpp | [all...] |
/external/deqp/framework/egl/ |
egluGLContextFactory.cpp | 271 { &glu::RenderConfig::stencilBits, EGL_STENCIL_SIZE }, 590 EGLint width, height, depthBits, stencilBits, numSamples; 602 eglGetConfigAttrib(m_eglDisplay, m_eglConfig, EGL_STENCIL_SIZE, &stencilBits); 607 m_glRenderTarget = tcu::RenderTarget(width, height, pixelFmt, depthBits, stencilBits, numSamples);
|
/external/deqp/framework/platform/null/ |
tcuNullRenderContext.cpp | 595 const int stencilBits = getValueOrDefault(renderCfg, &RenderConfig::stencilBits, 8); 598 return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits), depthBits, stencilBits, numSamples);
|
/external/deqp/modules/gles31/functional/ |
es31fStencilTexturingTests.cpp | 166 const int stencilBits = tcu::getTextureFormatBitDepth(dst.getFormat()).w(); 167 const deUint32 stencilMask = (1u<<stencilBits)-1u; [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
glcore.h | 88 GLint stencilBits;
|
/external/skia/src/gpu/ |
GrClipMaskManager.cpp | [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 336 tcu::TextureFormat getStencilFormat (int stencilBits) 338 switch (stencilBits) 346 void renderReference (const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depthBits, const int stencilBits, const int numSamples) 379 if (stencilBits > 0) 381 stencilBuffer.setStorage(getStencilFormat(stencilBits), numSamples, width, height); 703 const int stencilBits = display.getConfigAttrib(config, EGL_STENCIL_SIZE); 721 log << TestLog::Message << "EGL_STENCIL_SIZE = " << stencilBits << TestLog::EndMessage; 785 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1); 888 const int stencilBits = display.getConfigAttrib(config, EGL_STENCIL_SIZE); 911 log << TestLog::Message << "EGL_STENCIL_SIZE = " << stencilBits << TestLog::EndMessage [all...] |