Home
last modified time | relevance | path

Searched refs:stencilBits (Results 1 – 25 of 129) sorted by relevance

123456

/external/deqp/modules/gles2/functional/
Des2fStencilTests.cpp177 …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 …]
Des2fIntegerStateQueryTests.cpp78 …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 …]
Des2fDepthStencilClearTests.cpp103 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()
Des2fDepthStencilTests.cpp210 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/
Des3fStencilTests.cpp180 …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 …]
Des3fDepthStencilClearTests.cpp103 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()
Des3fDepthStencilTests.cpp210 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 …]
Des3fIntegerStateQueryTests.cpp79 …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 …]
/external/angle/src/libANGLE/renderer/
DFormat.h40 GLuint stencilBits,
98 GLuint stencilBits; member
124 GLuint stencilBits) in GetChannelCount() argument
128 (stencilBits > 0 ? 1 : 0); in GetChannelCount()
145 GLuint stencilBits, in Format() argument
168 stencilBits(stencilBits), in Format()
177 stencilBits)), in Format()
188 return depthBits > 0 || stencilBits > 0; in hasDepthOrStencilBits()
193 return depthBits > 0 && stencilBits > 0; in hasDepthAndStencilBits()
Dd3d_format.cpp32 stencilBits(0), in D3DFormat()
45 GLuint stencilBits, in D3DFormat() argument
56 stencilBits(stencilBits), in D3DFormat()
Dd3d_format.h32 GLuint stencilBits,
48 GLuint stencilBits; member
/external/deqp/framework/opengl/
DgluFboRenderContext.cpp70 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()
221 int stencilBits = 0; in createFramebuffer() local
255 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits); in createFramebuffer()
280 if (stencilBits > 0) in createFramebuffer()
292 …m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numS… in createFramebuffer()
DgluRenderConfig.hpp89 int stencilBits; member
106 , stencilBits (DONT_CARE) in RenderConfig()
/external/skia/src/gpu/ganesh/gl/
DGrGLRenderTarget.cpp66 GrGLFormat stencil_bits_to_format(int stencilBits) { in stencil_bits_to_format() argument
67 SkASSERT(stencilBits); in stencil_bits_to_format()
68 switch (stencilBits) { in stencil_bits_to_format()
87 int stencilBits, in MakeWrapped() argument
90 if (stencilBits) { in MakeWrapped()
96 GrGLFormat sFmt = stencil_bits_to_format(stencilBits); in MakeWrapped()
/external/deqp/external/openglcts/modules/common/
DglcConfigList.hpp106 , stencilBits(stencilBits_) in AOSPConfig()
120 , stencilBits(0) in AOSPConfig()
133 deInt32 stencilBits; member
/external/deqp/framework/common/
DtcuRenderTarget.cpp39 … (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) in RenderTarget() argument
44 , m_stencilBits (stencilBits) in RenderTarget()
/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib.cpp532 UINT_32 stencilBits = 0; in Flt32ToDepthPixel() local
545 stencilBits = 8; in Flt32ToDepthPixel()
553 stencilBits = 8; in Flt32ToDepthPixel()
572 pOut->stencilBits = stencilBits; in Flt32ToDepthPixel()
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c340 GLuint stencilBits) in add_stencil_renderbuffer() argument
344 if (stencilBits > 16) { in add_stencil_renderbuffer()
358 assert(stencilBits <= 8); in add_stencil_renderbuffer()
509 stencil && fb->Visual.stencilBits == 8) { in _swrast_add_soft_renderbuffers()
524 assert(fb->Visual.stencilBits > 0); in _swrast_add_soft_renderbuffers()
525 add_stencil_renderbuffer(NULL, fb, fb->Visual.stencilBits); in _swrast_add_soft_renderbuffers()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm220 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/gallium/frontends/osmesa/
Dosmesa.c562 OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits, in OSMesaCreateContextExt() argument
572 attribs[n++] = stencilBits; in OSMesaCreateContextExt()
595 int depthBits = 0, stencilBits = 0, accumBits = 0; in OSMesaCreateContextAttribs() local
630 stencilBits = attribList[i+1]; in OSMesaCreateContextAttribs()
631 if (stencilBits < 0) in OSMesaCreateContextAttribs()
672 if (depthBits > 0 && stencilBits > 0) { in OSMesaCreateContextAttribs()
675 else if (stencilBits > 0) { in OSMesaCreateContextAttribs()
/external/deqp/framework/platform/win32/
DtcuWGL.hpp123 int stencilBits; member in tcu::wgl::PixelFormatInfo
154 , stencilBits (0) in PixelFormatInfo()
/external/skia/include/gpu/
DGrBackendSurface.h487 int stencilBits,
496 int stencilBits,
527 int stencilBits,
539 int stencilBits() const { return fStencilBits; } in stencilBits() function
/external/angle/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp22 int stencilBits; member
280 if (type.depthBits > 0 && type.stencilBits > 0 && !supportPackedDepthStencilFramebuffer) in depthStencilReadbackCase()
301 GLint stencilBits = 0; in depthStencilReadbackCase() local
302 glGetIntegerv(GL_STENCIL_BITS, &stencilBits); in depthStencilReadbackCase()
303 EXPECT_GE(stencilBits, type.stencilBits); in depthStencilReadbackCase()
586 int stencilBits; in TEST_P() member
691 if (type.depthBits > 0 && type.stencilBits > 0 && !supportPackedDepthStencilFramebuffer) in TEST_P()
713 GLint stencilBits = 0; in TEST_P() local
714 glGetIntegerv(GL_STENCIL_BITS, &stencilBits); in TEST_P()
715 EXPECT_GE(stencilBits, type.stencilBits); in TEST_P()
/external/skia/tools/sk_app/mac/
DGLWindowContext_mac.mm129 GLint stencilBits;
130 [fPixelFormat getValues:&stencilBits forAttribute:NSOpenGLPFAStencilSize forVirtualScreen:0];
131 fStencilBits = stencilBits;
/external/mesa3d/src/glx/apple/
Dapple_visual.c147 if (mode->stencilBits > 0) { in apple_visual_create_pfobj()
149 attr[numattr++] = mode->stencilBits; in apple_visual_create_pfobj()

123456