Home
last modified time | relevance | path

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

12345678

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h40 GLuint stencilBits,
93 GLuint stencilBits; member
117 GLuint stencilBits) in GetChannelCount() argument
121 (stencilBits > 0 ? 1 : 0); in GetChannelCount()
138 GLuint stencilBits, in Format() argument
159 stencilBits(stencilBits), in Format()
168 stencilBits)), in Format()
177 return depthBits > 0 || stencilBits > 0; in hasDepthOrStencilBits()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h40 GLuint stencilBits,
97 GLuint stencilBits; member
123 GLuint stencilBits) in GetChannelCount() argument
127 (stencilBits > 0 ? 1 : 0); in GetChannelCount()
144 GLuint stencilBits, in Format() argument
167 stencilBits(stencilBits), in Format()
176 stencilBits)), in Format()
187 return depthBits > 0 || stencilBits > 0; in hasDepthOrStencilBits()
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
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
Drosen_context_impl.cpp177 if (pixelFormat_.stencilBits != -1) in SetConfig()
180 frameBufferAttribs.push_back(pixelFormat_.stencilBits); in SetConfig()
248 if (pixelFormat_.stencilBits != stencil) in SetConfig()
250 if (pixelFormat_.stencilBits != -1) in SetConfig()
251 … printf("Failed to eglChooseConfig stencilBits %d != %d\n", pixelFormat_.stencilBits, stencil); in SetConfig()
252 pixelFormat_.stencilBits = stencil; in SetConfig()
272 if (pixelFormat_.stencilBits != -1) in InitNativeWindow()
274 NativeWindowHandleOpt(nativeWindow_, SET_STRIDE, pixelFormat_.stencilBits); in InitNativeWindow()
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp74 printf("config.stencilBits = %d\n", config.stencilBits); in OhosRendContext()
119 .stencilBits = 8, in OhosRendContext()
142 if (config.stencilBits != -1) in OhosRendContext()
144 pf.stencilBits = config.stencilBits; in OhosRendContext()
/third_party/skia/src/gpu/gl/
DGrGLRenderTarget.cpp64 GrGLFormat stencil_bits_to_format(int stencilBits) { in stencil_bits_to_format() argument
65 SkASSERT(stencilBits); in stencil_bits_to_format()
66 switch (stencilBits) { in stencil_bits_to_format()
85 int stencilBits) { in MakeWrapped() argument
87 if (stencilBits) { in MakeWrapped()
93 GrGLFormat sFmt = stencil_bits_to_format(stencilBits); in MakeWrapped()
/third_party/flutter/skia/include/gpu/
DGrBackendSurface.h329 int stencilBits,
336 int stencilBits,
344 int stencilBits,
358 int stencilBits,
369 int stencilBits() const { return fStencilBits; } in stencilBits() function
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigList.hpp106 , stencilBits(stencilBits_) in AOSPConfig()
120 , stencilBits(0) in AOSPConfig()
133 deInt32 stencilBits; member
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib.cpp537 UINT_32 stencilBits = 0; in Flt32ToDepthPixel() local
550 stencilBits = 8; in Flt32ToDepthPixel()
558 stencilBits = 8; in Flt32ToDepthPixel()
577 pOut->stencilBits = stencilBits; in Flt32ToDepthPixel()
/third_party/flutter/glfw/src/
Dcontext.c194 if (desired->stencilBits > 0 && current->stencilBits == 0) in _glfwChooseFBConfig()
254 if (desired->stencilBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
256 extraDiff += (desired->stencilBits - current->stencilBits) * in _glfwChooseFBConfig()
257 (desired->stencilBits - current->stencilBits); in _glfwChooseFBConfig()
/third_party/flutter/skia/third_party/externals/sdl/src/video/uikit/
DSDL_uikitopenglview.h39 stencilBits:(int)stencilBits
/third_party/flutter/skia/src/gpu/gl/
DGrGLRenderTarget.cpp69 int stencilBits) { in MakeWrapped() argument
71 if (stencilBits) { in MakeWrapped()
76 format.fStencilBits = stencilBits; in MakeWrapped()
77 format.fTotalBits = stencilBits; in MakeWrapped()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h43 GLuint stencilBits,
59 GLuint stencilBits; member
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp22 int stencilBits; member
275 if (type.depthBits > 0 && type.stencilBits > 0 && !supportPackedDepthStencilFramebuffer) in depthStencilReadbackCase()
296 GLint stencilBits = 0; in depthStencilReadbackCase() local
297 glGetIntegerv(GL_STENCIL_BITS, &stencilBits); in depthStencilReadbackCase()
298 EXPECT_GE(stencilBits, type.stencilBits); in depthStencilReadbackCase()
507 int stencilBits; in TEST_P() member
608 if (type.depthBits > 0 && type.stencilBits > 0 && !supportPackedDepthStencilFramebuffer) in TEST_P()
630 GLint stencilBits = 0; in TEST_P() local
631 glGetIntegerv(GL_STENCIL_BITS, &stencilBits); in TEST_P()
632 EXPECT_GE(stencilBits, type.stencilBits); in TEST_P()
/third_party/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()
464 stencil && fb->Visual.stencilBits == 8) { in _swrast_add_soft_renderbuffers()
479 assert(fb->Visual.stencilBits > 0); in _swrast_add_soft_renderbuffers()
480 add_stencil_renderbuffer(NULL, fb, fb->Visual.stencilBits); in _swrast_add_soft_renderbuffers()
/third_party/flutter/skia/src/gpu/
DGrBackendSurface.cpp633 int stencilBits, in GrBackendRenderTarget() argument
639 , fStencilBits(stencilBits) in GrBackendRenderTarget()
647 int stencilBits, in GrBackendRenderTarget() argument
651 SkASSERT(0 == stencilBits); in GrBackendRenderTarget()
697 int stencilBits, in GrBackendRenderTarget() argument
702 , fStencilBits(stencilBits) in GrBackendRenderTarget()
711 int stencilBits, in GrBackendRenderTarget() argument
717 , fStencilBits(stencilBits) in GrBackendRenderTarget()
/third_party/vk-gl-cts/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);
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGL.hpp123 int stencilBits; member in tcu::wgl::PixelFormatInfo
154 , stencilBits (0) in PixelFormatInfo()

12345678