Home
last modified time | relevance | path

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

12345

/external/angle/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.h28 GLuint depthBits,
44 GLuint depthBits; member
/external/deqp/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()
/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib.cpp531 UINT_32 depthBits = 0; in Flt32ToDepthPixel() local
537 depthBits = 16; in Flt32ToDepthPixel()
544 depthBits = 24; in Flt32ToDepthPixel()
548 depthBits = 32; in Flt32ToDepthPixel()
552 depthBits = 32; in Flt32ToDepthPixel()
571 pOut->depthBits = depthBits; in Flt32ToDepthPixel()
/external/deqp/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…
/external/deqp/external/openglcts/modules/common/
DglcConfigList.hpp105 , depthBits(depthBits_) in AOSPConfig()
119 , depthBits(0) in AOSPConfig()
132 deInt32 depthBits; member
/external/mesa3d/src/mesa/swrast/
Ds_linetemp.h79 const GLint depthBits = ctx->DrawBuffer->Visual.depthBits; in NAME() local
80 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()
86 const GLint depthBits = ctx->DrawBuffer->Visual.depthBits; in NAME() local
247 if (depthBits <= 16) { in NAME()
Ds_renderbuffer.c295 GLuint depthBits) in add_depth_renderbuffer() argument
299 if (depthBits > 32) { in add_depth_renderbuffer()
313 if (depthBits <= 16) { in add_depth_renderbuffer()
316 else if (depthBits <= 24) { in add_depth_renderbuffer()
508 if (depth && fb->Visual.depthBits == 24 && in _swrast_add_soft_renderbuffers()
519 assert(fb->Visual.depthBits > 0); in _swrast_add_soft_renderbuffers()
520 add_depth_renderbuffer(NULL, fb, fb->Visual.depthBits); in _swrast_add_soft_renderbuffers()
/external/deqp/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()
/external/deqp/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()
/external/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c562 OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits, in OSMesaCreateContextExt() argument
570 attribs[n++] = depthBits; in OSMesaCreateContextExt()
595 int depthBits = 0, stencilBits = 0, accumBits = 0; in OSMesaCreateContextAttribs() local
625 depthBits = attribList[i+1]; in OSMesaCreateContextAttribs()
626 if (depthBits < 0) in OSMesaCreateContextAttribs()
672 if (depthBits > 0 && stencilBits > 0) { in OSMesaCreateContextAttribs()
678 else if (depthBits >= 24) { in OSMesaCreateContextAttribs()
681 else if (depthBits >= 16) { in OSMesaCreateContextAttribs()
/external/angle/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()
/external/deqp/framework/platform/win32/
DtcuWGL.hpp122 int depthBits; member in tcu::wgl::PixelFormatInfo
153 , depthBits (0) in PixelFormatInfo()
/external/deqp/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);
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c234 && ctx->Visual.depthBits == DEFAULT_SOFTWARE_DEPTH_BITS) { in osmesa_choose_line_function()
350 ctx->Visual.depthBits == DEFAULT_SOFTWARE_DEPTH_BITS) { in osmesa_choose_triangle_function()
654 OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, in OSMesaCreateContextExt() argument
662 attribs[n++] = depthBits; in OSMesaCreateContextExt()
686 GLint depthBits = 0, stencilBits = 0, accumBits = 0; in OSMesaCreateContextAttribs() local
710 depthBits = attribList[i+1]; in OSMesaCreateContextAttribs()
711 if (depthBits < 0) in OSMesaCreateContextAttribs()
824 depthBits, in OSMesaCreateContextAttribs()
870 osmesa->gl_visual->depthBits > 0, in OSMesaCreateContextAttribs()
1185 if (c->gl_visual->depthBits <= 16) in OSMesaGetDepthBuffer()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c272 if (visual->depthBits == 24 && visual->stencilBits == 8) { in nouveau_create_buffer()
277 } else if (visual->depthBits == 24) { in nouveau_create_buffer()
281 } else if (visual->depthBits == 16) { in nouveau_create_buffer()
Dnv04_state_raster.c150 if (ctx->Depth.Test && fb->Visual.depthBits > 0) in nv04_emit_control()
152 if (ctx->Depth.Mask && fb->Visual.depthBits > 0) in nv04_emit_control()
/external/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()
/external/deqp/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 …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_format_utils.h78 return actualAngleFormat().depthBits && actualAngleFormat().stencilBits; in hasDepthAndStencilBits()
82 return actualAngleFormat().depthBits || actualAngleFormat().stencilBits; in hasDepthOrStencilBits()
/external/deqp/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp261 config.depthBits, in EglRenderContext()
335 frame_buffer_attribs.push_back(config.depthBits); in EglRenderContext()
368 (glu::RenderConfig::DONT_CARE == config.depthBits || depth == config.depthBits) && in EglRenderContext()

12345