Searched defs:depthBits (Results 1 - 25 of 27) sorted by relevance

12

/external/deqp/framework/common/
H A DtcuRenderTarget.cpp39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) argument
43 , m_depthBits (depthBits)
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp70 static void getDepthStencilBits (deUint32 depthStencilFormat, int* depthBits, int* stencilBits) argument
74 *depthBits = getNumDepthBits(combinedFormat);
135 const int depthBits = getNumDepthBits(combinedFormat); local
138 if (config.depthBits != glu::RenderConfig::DONT_CARE &&
139 config.depthBits != depthBits)
220 int depthBits = 0; local
255 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits);
277 if (depthBits > 0)
292 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBit
[all...]
H A DgluRenderConfig.hpp88 int depthBits; member in struct:glu::RenderConfig
105 , depthBits (DONT_CARE)
/external/deqp/external/openglcts/modules/common/
H A DglcConfigList.hpp105 , depthBits(depthBits_)
119 , depthBits(0)
132 deInt32 depthBits; member in struct:glcts::AOSPConfig
/external/deqp/framework/platform/win32/
H A DtcuWGL.hpp122 int depthBits; member in class:tcu::wgl::PixelFormatInfo
150 , depthBits (0)
/external/mesa3d/src/glx/
H A Dglxconfig.h48 GLint depthBits; member in struct:glx_config
/external/mesa3d/src/mesa/swrast/
H A Ds_linetemp.h79 const GLint depthBits = ctx->DrawBuffer->Visual.depthBits; local
80 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0;
86 const GLint depthBits = ctx->DrawBuffer->Visual.depthBits; local
247 if (depthBits <= 16) {
H A Ds_renderbuffer.c294 GLuint depthBits)
298 if (depthBits > 32) {
300 "Unsupported depthBits in add_depth_renderbuffer");
312 if (depthBits <= 16) {
315 else if (depthBits <= 24) {
507 if (depth && fb->Visual.depthBits == 24 &&
518 assert(fb->Visual.depthBits > 0);
519 add_depth_renderbuffer(NULL, fb, fb->Visual.depthBits);
293 add_depth_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLuint depthBits) argument
H A Ds_tritemp.h135 const GLint depthBits = ctx->DrawBuffer->Visual.depthBits; local
136 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0;
353 if (depthBits <= 16)
618 if (depthBits <= 16) {
/external/deqp/framework/egl/
H A DegluGLContextFactory.cpp441 EGLint width, height, depthBits, stencilBits, numSamples; local
452 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_DEPTH_SIZE, &depthBits);
458 m_glRenderTarget = tcu::RenderTarget(width, height, pixelFmt, depthBits, stencilBits, numSamples);
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilClearTests.cpp90 tcu::TextureFormat getDepthFormat (int depthBits) argument
92 switch (depthBits)
H A Des2fStencilTests.cpp177 virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) = DE_NULL;
277 int depthBits = renderTarget.getDepthBits(); local
305 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1));
308 genOps(ops[numStencilValues+0], stencilBits, depthBits, 1<<stencilBits);
309 genOps(ops[numStencilValues+1], stencilBits, depthBits, -1);
387 typedef void (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil);
398 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) argument
400 m_genOps(dst, stencilBits, depthBits, targetStencil);
412 static void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) \
414 DE_UNREF(stencilBits && depthBits); \
[all...]
H A Des2fDepthStencilTests.cpp209 int depthBits; member in struct:deqp::gles2::Functional::DepthStencilCaseUtil::TestRenderTarget
218 , depthBits (depthBits_)
226 , depthBits (0)
383 bool hasDepth = renderTarget.depthBits > 0;
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilClearTests.cpp90 tcu::TextureFormat getDepthFormat (int depthBits) argument
92 switch (depthBits)
H A Des3fStencilTests.cpp180 virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) = DE_NULL;
280 int depthBits = renderTarget.getDepthBits(); local
308 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1));
311 genOps(ops[numStencilValues+0], stencilBits, depthBits, 1<<stencilBits);
312 genOps(ops[numStencilValues+1], stencilBits, depthBits, -1);
390 typedef void (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil);
401 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) argument
403 m_genOps(dst, stencilBits, depthBits, targetStencil);
415 static void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) \
417 DE_UNREF(stencilBits && depthBits); \
[all...]
H A Des3fDepthStencilTests.cpp209 int depthBits; member in struct:deqp::gles3::Functional::DepthStencilCaseUtil::TestRenderTarget
218 , depthBits (depthBits_)
226 , depthBits (0)
383 bool hasDepth = renderTarget.depthBits > 0;
H A Des3fFboInvalidateTests.cpp119 const int depthBits = renderTargetInfo.getDepthBits(); local
121 const bool hasDepth = depthBits > 0;
127 if (depthBits == 32)
129 else if (depthBits == 24)
/external/deqp/external/openglcts/modules/runner/
H A DglcTestRunner.cpp108 deInt32 depthBits; member in struct:glcts::configInfo
143 int depthBits; member in struct:glcts::__anon4210
151 cfgInfo.depthBits = depthCfgs[ndx].depthBits;
271 cfgInfo.depthBits == config.depthBits && cfgInfo.stencilBits == config.stencilBits &&
/external/mesa3d/src/gallium/state_trackers/osmesa/
H A Dosmesa.c544 OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits, argument
552 attribs[n++] = depthBits;
577 int depthBits = 0, stencilBits = 0, accumBits = 0; local
607 depthBits = attribList[i+1];
608 if (depthBits < 0)
654 if (depthBits > 0 && stencilBits > 0) {
660 else if (depthBits >= 24) {
663 else if (depthBits >= 16) {
/external/mesa3d/src/mesa/drivers/osmesa/
H A Dosmesa.c228 && ctx->Visual.depthBits == DEFAULT_SOFTWARE_DEPTH_BITS) {
344 ctx->Visual.depthBits == DEFAULT_SOFTWARE_DEPTH_BITS) {
645 OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, argument
653 attribs[n++] = depthBits;
677 GLint depthBits = 0, stencilBits = 0, accumBits = 0; local
701 depthBits = attribList[i+1];
702 if (depthBits < 0)
815 depthBits,
1180 if (c->gl_visual->depthBits <= 16)
/external/mesa3d/src/mesa/main/
H A Dcontext.c192 * \param depthBits requested bits per depth buffer value. Any value in [0, 32]
218 GLint depthBits,
230 depthBits, stencilBits,
260 GLint depthBits,
270 if (depthBits < 0 || depthBits > 32) {
292 vis->depthBits = depthBits;
301 vis->haveDepthBuffer = depthBits > 0;
1510 check_component(depthBits);
212 _mesa_create_visual( GLboolean dbFlag, GLboolean stereoFlag, GLint redBits, GLint greenBits, GLint blueBits, GLint alphaBits, GLint depthBits, GLint stencilBits, GLint accumRedBits, GLint accumGreenBits, GLint accumBlueBits, GLint accumAlphaBits, GLint numSamples ) argument
253 _mesa_initialize_visual( struct gl_config *vis, GLboolean dbFlag, GLboolean stereoFlag, GLint redBits, GLint greenBits, GLint blueBits, GLint alphaBits, GLint depthBits, GLint stencilBits, GLint accumRedBits, GLint accumGreenBits, GLint accumBlueBits, GLint accumAlphaBits, GLint numSamples ) argument
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp195 tcu::TextureFormat getDepthFormat (int depthBits) argument
197 switch (depthBits)
290 ReferenceContextBuffers::ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int width, int height, int samples) argument
294 if (depthBits > 0)
295 m_depthbuffer.setStorage(getDepthFormat(depthBits), samples, width, height);
/external/deqp/framework/platform/null/
H A DtcuNullRenderContext.cpp747 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); local
751 return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits), depthBits, stencilBits, numSamples);
/external/deqp/modules/egl/
H A DteglRenderTests.cpp390 tcu::TextureFormat getDepthFormat (const int depthBits) argument
392 switch (depthBits)
413 void renderReference (const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depthBits, const int stencilBits, const int numSamples) argument
440 if (depthBits > 0)
442 depthBuffer.setStorage(getDepthFormat(depthBits), numSamples, width, height);
736 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE); local
754 log << TestLog::Message << "EGL_DEPTH_SIZE = " << depthBits << TestLog::EndMessage;
820 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1);
940 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE); local
963 log << TestLog::Message << "EGL_DEPTH_SIZE = " << depthBits << TestLo
[all...]
/external/mesa3d/src/amd/addrlib/core/
H A Daddrlib.cpp3775 UINT_32 depthBits = 0; local
3781 depthBits = 16;
3788 depthBits = 24;
3792 depthBits = 32;
3796 depthBits = 32;
3815 pOut->depthBits = depthBits;

Completed in 720 milliseconds

12