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

/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)
215 int depthBits = 0; local
250 getDepthStencilBits(depthStencilFormat, &depthBits, &stencilBits);
272 if (depthBits > 0)
287 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBit
[all...]
H A DgluRenderConfig.hpp79 int depthBits; member in struct:glu::RenderConfig
94 , depthBits (DONT_CARE)
/external/deqp/framework/platform/win32/
H A DtcuWGL.hpp121 int depthBits; member in class:tcu::wgl::PixelFormatInfo
143 , depthBits (0)
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_dri2.c109 unsigned depthBits = (format != 0) ? format : pDraw->depth; local
113 switch(depthBits) {
/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.c296 GLuint depthBits)
300 if (depthBits > 32) {
302 "Unsupported depthBits in add_depth_renderbuffer");
314 if (depthBits <= 16) {
317 else if (depthBits <= 24) {
509 if (depth && fb->Visual.depthBits == 24 &&
520 assert(fb->Visual.depthBits > 0);
521 add_depth_renderbuffer(NULL, fb, fb->Visual.depthBits);
295 add_depth_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLuint depthBits) argument
H A Ds_tritemp.h130 const GLint depthBits = ctx->DrawBuffer->Visual.depthBits; local
131 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0;
348 if (depthBits <= 16)
613 if (depthBits <= 16) {
/external/deqp/framework/egl/
H A DegluGLContextFactory.cpp409 EGLint width, height, depthBits, stencilBits, numSamples; local
420 egl.getConfigAttrib(m_eglDisplay, m_eglConfig, EGL_DEPTH_SIZE, &depthBits);
426 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;
672 renderReference(m_baseClears, m_refColorBuffer->getAccess(), m_refStencilBuffer->getAccess(), m_renderTarget.depthBits);
/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;
672 renderReference(m_baseClears, m_refColorBuffer->getAccess(), m_refStencilBuffer->getAccess(), m_renderTarget.depthBits);
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/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dglcore.h87 GLint depthBits; member in struct:__GLcontextModesRec
/external/mesa3d/src/mesa/drivers/osmesa/
H A Dosmesa.c211 && ctx->Visual.depthBits == DEFAULT_SOFTWARE_DEPTH_BITS) {
312 ctx->Visual.depthBits == DEFAULT_SOFTWARE_DEPTH_BITS) {
612 OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, argument
692 depthBits,
1044 if (c->gl_visual->depthBits <= 16)
/external/mesa3d/src/mesa/main/
H A Dcontext.c190 * \param depthBits requested bits per depth buffer value. Any value in [0, 32]
216 GLint depthBits,
228 depthBits, stencilBits,
258 GLint depthBits,
268 if (depthBits < 0 || depthBits > 32) {
290 vis->depthBits = depthBits;
299 vis->haveDepthBuffer = depthBits > 0;
1355 if (ctxvis->depthBits
210 _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
251 _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...]
H A Dmtypes.h529 GLint depthBits; member in struct:gl_config
/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.cpp732 const int depthBits = getValueOrDefault(renderCfg, &RenderConfig::depthBits, 24); local
736 return tcu::RenderTarget(width, height, tcu::PixelFormat(redBits, greenBits, blueBits, alphaBits), depthBits, stencilBits, numSamples);
/external/deqp/modules/egl/
H A DteglRenderTests.cpp359 tcu::TextureFormat getDepthFormat (const int depthBits) argument
361 switch (depthBits)
382 void renderReference (const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depthBits, const int stencilBits, const int numSamples) argument
409 if (depthBits > 0)
411 depthBuffer.setStorage(getDepthFormat(depthBits), numSamples, width, height);
705 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE); local
723 log << TestLog::Message << "EGL_DEPTH_SIZE = " << depthBits << TestLog::EndMessage;
789 renderReference(refFrame.getAccess(), drawOps, pixelFmt, depthBits, stencilBits, 1);
908 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE); local
931 log << TestLog::Message << "EGL_DEPTH_SIZE = " << depthBits << TestLo
[all...]

Completed in 1724 milliseconds