/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | Format.h | 39 GLuint depthBits, 96 GLuint depthBits; member 122 GLuint depthBits, in GetChannelCount() 126 (alphaBits > 0 ? 1 : 0) + (luminanceBits > 0 ? 1 : 0) + (depthBits > 0 ? 1 : 0) + in GetChannelCount() 143 GLuint depthBits, in Format() 166 depthBits(depthBits), in Format() 175 depthBits, in Format() 187 return depthBits > 0 || stencilBits > 0; in hasDepthOrStencilBits() 117 GetChannelCount(GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits) GetChannelCount() argument 130 Format(FormatID id, GLenum glFormat, GLenum fboFormat, rx::MipGenerationFunction mipGen, const rx::FastCopyFunctionMap &fastCopyFunctions, rx::PixelReadFunction colorRead, rx::PixelWriteFunction colorWrite, GLenum componentType, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits, GLuint pixelBytes, GLuint componentAlignmentMask, bool isBlock, bool isFixed, bool isScaled, bool isSRGB, bool isYUV, gl::VertexAttribType vertexAttribType) Format() argument
|
H A D | d3d_format.cpp | 31 depthBits(0), in D3DFormat() 44 GLuint depthBits, in D3DFormat() 55 depthBits(depthBits), in D3DFormat() 36 D3DFormat(GLuint bits, GLuint blockWidth, GLuint blockHeight, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint lumBits, GLuint depthBits, GLuint stencilBits, FormatID formatID) D3DFormat() argument
|
H A D | d3d_format.h | 31 GLuint depthBits, 47 GLuint depthBits; member
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluFboRenderContext.cpp | 70 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, stencilBit in createFramebuffer() [all...] |
H A D | gluRenderConfig.hpp | 88 int depthBits; member 105 , depthBits (DONT_CARE) in RenderConfig()
|
H A D | gluRenderConfig.cpp | 39 config->depthBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName() 87 config->depthBits = depthCfgs[ndx].depthSize; in parseConfigBitsFromName()
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
H A D | addrlib.cpp | 541 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/ |
H A D | tcuOhosNativeContext.cpp | 73 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/gles3/functional/ |
H A D | es3fStencilTests.cpp | 180 virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) = DE_NULL; 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 targetStencil); 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() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fStencilTests.cpp | 177 virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) = DE_NULL; 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 targetStencil); 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() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuRenderTarget.cpp | 39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) in RenderTarget() argument 43 , m_depthBits (depthBits) in RenderTarget()
|
H A D | tcuRenderTarget.hpp | 39 RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBits, int numSamples);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcConfigList.hpp | 105 , depthBits(depthBits_) in AOSPConfig() 119 , depthBits(0) in AOSPConfig() 132 deInt32 depthBits; member
|
/third_party/glfw/src/ |
H A D | context.c | 211 if (desired->depthBits > 0 && current->depthBits == 0) in _glfwChooseFBConfig() 271 if (desired->depthBits != GLFW_DONT_CARE) in _glfwChooseFBConfig() 273 extraDiff += (desired->depthBits - current->depthBits) * in _glfwChooseFBConfig() 274 (desired->depthBits - current->depthBits); in _glfwChooseFBConfig()
|
/third_party/mesa3d/src/gallium/frontends/osmesa/ |
H A D | osmesa.c | 559 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/vk-gl-cts/framework/platform/win32/ |
H A D | tcuWGL.hpp | 122 int depthBits; member in tcu::wgl::PixelFormatInfo 153 , depthBits (0) in PixelFormatInfo()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | DepthStencilFormatsTest.cpp | 21 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() [all...] |
H A D | D3D11FormatTablesTest.cpp | 62 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/modules/egl/ |
H A D | teglRenderTests.cpp | 396 tcu::TextureFormat getDepthFormat (const int depthBits) in getDepthFormat() argument 398 switch (depthBits) in getDepthFormat() 419 void renderReference (const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depthBits, const int stencilBits, const int numSamples, const int subpixelBits) 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 << TestLo in executeForContexts() [all...] |
/third_party/mesa3d/src/glx/apple/ |
H A D | apple_visual.c | 142 if (mode->depthBits > 0) { in apple_visual_create_pfobj() 144 attr[numattr++] = mode->depthBits; in apple_visual_create_pfobj()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
H A D | mtl_format_utils.h | 80 return actualAngleFormat().depthBits && actualAngleFormat().stencilBits; in hasDepthAndStencilBits() 84 return actualAngleFormat().depthBits || actualAngleFormat().stencilBits; in hasDepthOrStencilBits()
|
/third_party/vk-gl-cts/framework/platform/surfaceless/ |
H A D | tcuSurfacelessPlatform.cpp | 252 config.depthBits, in EglRenderContext() 325 frame_buffer_attribs.push_back(config.depthBits); in EglRenderContext() 358 (glu::RenderConfig::DONT_CARE == config.depthBits || depth == config.depthBits) && in EglRenderContext()
|
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
H A D | glcTestRunner.cpp | 110 deInt32 depthBits; member 145 int depthBits; in parseConfigBitsFromName() member 153 cfgInfo.depthBits = depthCfgs[ndx].depthBits; in parseConfigBitsFromName() 273 cfgInfo.depthBits == config.depthBits && cfgInfo.stencilBits == config.stencilBits && in isGLConfigCompatible()
|
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/ |
H A D | rosen_context_impl.cpp | 212 if (pixelFormat_.depthBits != -1) in SetConfig() 215 frameBufferAttribs.push_back(pixelFormat_.depthBits); in SetConfig() 281 if (pixelFormat_.depthBits != depth) in SetConfig() 283 if (pixelFormat_.depthBits != -1) in SetConfig() 284 printf("Failed to eglChooseConfig depthBits %d != %d\n", pixelFormat_.depthBits, depth); in SetConfig() 285 pixelFormat_.depthBits = depth; in SetConfig()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | glconfig.h | 23 GLint depthBits; member
|