Home
last modified time | relevance | path

Searched refs:depthBits (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h39 GLuint depthBits,
96 GLuint depthBits; member
122 GLuint depthBits, in GetChannelCount() argument
126 (alphaBits > 0 ? 1 : 0) + (luminanceBits > 0 ? 1 : 0) + (depthBits > 0 ? 1 : 0) + in GetChannelCount()
143 GLuint depthBits, in Format() argument
166 depthBits(depthBits), in Format()
175 depthBits, in Format()
187 return depthBits > 0 || stencilBits > 0; in hasDepthOrStencilBits()
Dd3d_format.cpp31 depthBits(0), in D3DFormat()
44 GLuint depthBits, in D3DFormat() argument
55 depthBits(depthBits), in D3DFormat()
Dd3d_format.h31 GLuint depthBits,
47 GLuint depthBits; member
/third_party/vk-gl-cts/framework/opengl/
DgluFboRenderContext.cpp70 static void getDepthStencilBits (deUint32 depthStencilFormat, int* depthBits, int* stencilBits) in getDepthStencilBits() argument
74 *depthBits = getNumDepthBits(combinedFormat); in getDepthStencilBits()
135 const int depthBits = getNumDepthBits(combinedFormat); in chooseDepthStencilFormat() local
138 if (config.depthBits != glu::RenderConfig::DONT_CARE && in chooseDepthStencilFormat()
139 config.depthBits != depthBits) in chooseDepthStencilFormat()
220 int depthBits = 0; in createFramebuffer() local
255 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits); in createFramebuffer()
277 if (depthBits > 0) in createFramebuffer()
292 …m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numS… in createFramebuffer()
DgluRenderConfig.hpp88 int depthBits; member
105 , depthBits (DONT_CARE) in RenderConfig()
DgluRenderConfig.cpp39 config->depthBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
87 config->depthBits = depthCfgs[ndx].depthSize; in parseConfigBitsFromName()
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib.cpp541 UINT_32 depthBits = 0; in Flt32ToDepthPixel() local
547 depthBits = 16; in Flt32ToDepthPixel()
554 depthBits = 24; in Flt32ToDepthPixel()
558 depthBits = 32; in Flt32ToDepthPixel()
562 depthBits = 32; in Flt32ToDepthPixel()
581 pOut->depthBits = depthBits; in Flt32ToDepthPixel()
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp73 printf("config.depthBits = %d\n", config.depthBits); in OhosRendContext()
118 .depthBits = 24, in OhosRendContext()
138 if (config.depthBits != -1) in OhosRendContext()
140 pf.depthBits = config.depthBits; in OhosRendContext()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fStencilTests.cpp177 …virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil…
277 int depthBits = renderTarget.getDepthBits(); in iterate() local
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()
387 typedef void (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targ…
398 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) in genOps() argument
400 m_genOps(dst, stencilBits, depthBits, targetStencil); in genOps()
412 static void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) \ in init()
414 DE_UNREF(stencilBits && depthBits); \ in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fStencilTests.cpp180 …virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil…
280 int depthBits = renderTarget.getDepthBits(); in iterate() local
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()
390 typedef void (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targ…
401 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) in genOps() argument
403 m_genOps(dst, stencilBits, depthBits, targetStencil); in genOps()
415 static void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) \ in init()
417 DE_UNREF(stencilBits && depthBits); \ in init()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigList.hpp105 , depthBits(depthBits_) in AOSPConfig()
119 , depthBits(0) in AOSPConfig()
132 deInt32 depthBits; member
/third_party/vk-gl-cts/framework/common/
DtcuRenderTarget.cpp39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int st… in RenderTarget() argument
43 , m_depthBits (depthBits) in RenderTarget()
DtcuRenderTarget.hpp39 …RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBi…
/third_party/glfw/src/
Dcontext.c191 if (desired->depthBits > 0 && current->depthBits == 0) in _glfwChooseFBConfig()
248 if (desired->depthBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
250 extraDiff += (desired->depthBits - current->depthBits) * in _glfwChooseFBConfig()
251 (desired->depthBits - current->depthBits); in _glfwChooseFBConfig()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
Drosen_context_impl.cpp175 if (pixelFormat_.depthBits != -1) in SetConfig()
178 frameBufferAttribs.push_back(pixelFormat_.depthBits); in SetConfig()
244 if (pixelFormat_.depthBits != depth) in SetConfig()
246 if (pixelFormat_.depthBits != -1) in SetConfig()
247 printf("Failed to eglChooseConfig depthBits %d != %d\n", pixelFormat_.depthBits, depth); in SetConfig()
248 pixelFormat_.depthBits = depth; in SetConfig()
/third_party/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c559 OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits, in OSMesaCreateContextExt() argument
567 attribs[n++] = depthBits; in OSMesaCreateContextExt()
592 int depthBits = 0, stencilBits = 0, accumBits = 0; in OSMesaCreateContextAttribs() local
622 depthBits = attribList[i+1]; in OSMesaCreateContextAttribs()
623 if (depthBits < 0) in OSMesaCreateContextAttribs()
669 if (depthBits > 0 && stencilBits > 0) { in OSMesaCreateContextAttribs()
675 else if (depthBits >= 24) { in OSMesaCreateContextAttribs()
678 else if (depthBits >= 16) { in OSMesaCreateContextAttribs()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp21 int depthBits; member
275 if (type.depthBits > 0 && type.stencilBits > 0 && !supportPackedDepthStencilFramebuffer) in depthStencilReadbackCase()
292 GLint depthBits = 0; in depthStencilReadbackCase() local
293 glGetIntegerv(GL_DEPTH_BITS, &depthBits); in depthStencilReadbackCase()
294 EXPECT_GE(depthBits, type.depthBits); in depthStencilReadbackCase()
506 int depthBits; in TEST_P() member
608 if (type.depthBits > 0 && type.stencilBits > 0 && !supportPackedDepthStencilFramebuffer) in TEST_P()
626 GLint depthBits = 0; in TEST_P() local
627 glGetIntegerv(GL_DEPTH_BITS, &depthBits); in TEST_P()
628 EXPECT_GE(depthBits, type.depthBits); in TEST_P()
DD3D11FormatTablesTest.cpp62 if (internalFormatInfo.depthBits == 0 && internalFormatInfo.stencilBits == 0) in TEST_P()
98 if (internalFormatInfo.depthBits > 0 || internalFormatInfo.stencilBits > 0) in TEST_P()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSPlatform.mm219 int depthBits = 0;
228 if ((config.depthBits > 0 || config.stencilBits > 0) && depthStencilFormat == 0)
255 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_DEPTH_SIZE, &depthBits);
266 if (depthBits > 0)
281 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, 0);
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGL.hpp122 int depthBits; member in tcu::wgl::PixelFormatInfo
153 , depthBits (0) in PixelFormatInfo()
DtcuWGL.cpp409 info.depthBits = values[WGL_DEPTH_BITS_ARB]; in getPixelFormatInfo()
642 if (config.depthBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
643 config.depthBits != info.depthBits) in choosePixelFormat()
/third_party/vk-gl-cts/modules/egl/
DteglRenderTests.cpp396 tcu::TextureFormat getDepthFormat (const int depthBits) in getDepthFormat() argument
398 switch (depthBits) in getDepthFormat()
419 …DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depthBits, const int stenc… in renderReference() argument
446 if (depthBits > 0) in renderReference()
448 depthBuffer.setStorage(getDepthFormat(depthBits), numSamples, width, height); in renderReference()
742 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE); in executeForContexts() local
760 log << TestLog::Message << "EGL_DEPTH_SIZE = " << depthBits << TestLog::EndMessage; in executeForContexts()
829 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1, subpixelBits); in executeForContexts()
949 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE); in executeForContexts() local
972 log << TestLog::Message << "EGL_DEPTH_SIZE = " << depthBits << TestLog::EndMessage; in executeForContexts()
[all …]
/third_party/mesa3d/src/glx/apple/
Dapple_visual.c142 if (mode->depthBits > 0) { in apple_visual_create_pfobj()
144 attr[numattr++] = mode->depthBits; in apple_visual_create_pfobj()
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp263 config.depthBits, in EglRenderContext()
337 frame_buffer_attribs.push_back(config.depthBits); in EglRenderContext()
370 (glu::RenderConfig::DONT_CARE == config.depthBits || depth == config.depthBits) && in EglRenderContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_format_utils.h80 return actualAngleFormat().depthBits && actualAngleFormat().stencilBits; in hasDepthAndStencilBits()
84 return actualAngleFormat().depthBits || actualAngleFormat().stencilBits; in hasDepthOrStencilBits()

12345