/third_party/vk-gl-cts/framework/common/ |
D | tcuPixelFormat.hpp | 38 int greenBits; member 44 , greenBits(green) in PixelFormat() 52 , greenBits(0) in PixelFormat() 82 channelThreshold(greenBits), in getColorThreshold() 120 convertChannel(col.getGreen(), greenBits), in convertColor() 128 greenBits == other.greenBits && in operator ==()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | Format.h | 35 GLuint greenBits, 92 GLuint greenBits; member 118 GLuint greenBits, in GetChannelCount() argument 125 return (redBits > 0 ? 1 : 0) + (greenBits > 0 ? 1 : 0) + (blueBits > 0 ? 1 : 0) + in GetChannelCount() 139 GLuint greenBits, in Format() argument 162 greenBits(greenBits), in Format() 171 greenBits, in Format() 193 ASSERT(redBits > 0 || (greenBits == 0 && blueBits == 0)); in isLUMA()
|
D | d3d_format.cpp | 27 greenBits(0), in D3DFormat() 40 GLuint greenBits, in D3DFormat() argument 51 greenBits(greenBits), in D3DFormat()
|
D | d3d_format.h | 27 GLuint greenBits, 42 GLuint greenBits; member
|
/third_party/glfw/tests/ |
D | monitors.c | 59 mode->redBits + mode->greenBits + mode->blueBits, in format_mode() 60 mode->redBits, mode->greenBits, mode->blueBits, in format_mode() 128 glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits); in test_modes() 174 glGetIntegerv(GL_GREEN_BITS, ¤t.greenBits); in test_modes() 180 current.greenBits != mode->greenBits || in test_modes() 184 current.redBits, current.greenBits, current.blueBits, in test_modes() 185 mode->redBits, mode->greenBits, mode->blueBits); in test_modes()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluRenderConfig.cpp | 36 config->greenBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName() 47 int greenBits; in parseConfigBitsFromName() member 63 config->greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName()
|
D | gluRenderConfig.hpp | 85 int greenBits; member 102 , greenBits (DONT_CARE) in RenderConfig()
|
/third_party/vk-gl-cts/framework/platform/ohos/context/ |
D | tcuOhosNativeContext.cpp | 70 printf("config.greenBits = %d\n", config.greenBits); in OhosRendContext() 115 .greenBits = 8, in OhosRendContext() 126 if (config.greenBits != -1) in OhosRendContext() 128 pf.greenBits = config.greenBits; in OhosRendContext()
|
/third_party/glfw/src/ |
D | mir_monitor.c | 95 mode->greenBits = 6; in FillInRGBBitsFromPixelFormat() 100 mode->greenBits = 5; in FillInRGBBitsFromPixelFormat() 105 mode->greenBits = 4; in FillInRGBBitsFromPixelFormat() 116 mode->greenBits = 8; in FillInRGBBitsFromPixelFormat()
|
D | monitor.c | 44 const int fbpp = fm->redBits + fm->greenBits + fm->blueBits; in compareVideoModes() 45 const int sbpp = sm->redBits + sm->greenBits + sm->blueBits; in compareVideoModes() 246 if (desired->greenBits != GLFW_DONT_CARE) in _glfwChooseVideoMode() 247 colorDiff += abs(current->greenBits - desired->greenBits); in _glfwChooseVideoMode()
|
D | context.c | 225 if (desired->greenBits != GLFW_DONT_CARE) in _glfwChooseFBConfig() 227 colorDiff += (desired->greenBits - current->greenBits) * in _glfwChooseFBConfig() 228 (desired->greenBits - current->greenBits); in _glfwChooseFBConfig()
|
D | win32_monitor.c | 112 dm.dmBitsPerPel = best->redBits + best->greenBits + best->blueBits; in _glfwSetVideoModeWin32() 281 &mode.greenBits, in _glfwPlatformGetVideoModes() 342 &mode->greenBits, in _glfwPlatformGetVideoMode()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcConfigList.hpp | 102 , greenBits(greenBits_) in AOSPConfig() 116 , greenBits(0) in AOSPConfig() 129 deInt32 greenBits; member
|
D | glcConfigListWGL.cpp | 63 (fmtInfo.redBits > 8 || fmtInfo.greenBits > 8 || fmtInfo.blueBits > 8 || fmtInfo.alphaBits > 8)) in getDefaultWglConfigList() 80 …CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW, fmtInfo.redBits, fmtInfo.greenBits, fmtInfo.blueB… in getDefaultWglConfigList()
|
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/ |
D | rosen_context_impl.cpp | 197 if (pixelFormat_.greenBits != -1) in SetConfig() 200 frameBufferAttribs.push_back(pixelFormat_.greenBits); in SetConfig() 257 if (pixelFormat_.greenBits == -1) in SetConfig() 259 pixelFormat_.greenBits = green; in SetConfig() 261 else if (pixelFormat_.greenBits != green) in SetConfig() 263 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.greenBits, green); in SetConfig() 316 …if (pixelFormat_.redBits == 8 && pixelFormat_.greenBits == 8 && pixelFormat_.blueBits == 8 && pixe… in InitNativeWindow() 321 …else if (pixelFormat_.redBits == 5 && pixelFormat_.greenBits == 6 && pixelFormat_.blueBits == 5 &&… in InitNativeWindow() 326 …else if (pixelFormat_.redBits == 4 && pixelFormat_.greenBits == 4 && pixelFormat_.blueBits == 4 &&… in InitNativeWindow()
|
/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWGL.hpp | 109 int greenBits; member in tcu::wgl::PixelFormatInfo 149 , greenBits (0) in PixelFormatInfo()
|
D | tcuWGL.cpp | 405 info.greenBits = values[WGL_GREEN_BITS_ARB]; in getPixelFormatInfo() 630 if (config.greenBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat() 631 config.greenBits != info.greenBits) in choosePixelFormat()
|
D | tcuWin32EGLNativeDisplayFactory.cpp | 195 int greenBits = 0; in createPixmap() local 203 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &greenBits); in createPixmap() 208 bitSum = redBits+greenBits+blueBits+alphaBits; in createPixmap()
|
/third_party/vk-gl-cts/framework/platform/ios/ |
D | tcuIOSPlatform.mm | 165 const bool cg = config.greenBits != glu::RenderConfig::DONT_CARE; 170 (!cg || config.greenBits == 8) && 176 (!cg || config.greenBits == 6) && 245 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_GREEN_SIZE, &pixelFormat.greenBits);
|
/third_party/vk-gl-cts/framework/platform/surfaceless/ |
D | tcuSurfacelessPlatform.cpp | 246 config.greenBits, in EglRenderContext() 314 frame_buffer_attribs.push_back(config.greenBits); in EglRenderContext() 353 (glu::RenderConfig::DONT_CARE == config.greenBits || green == config.greenBits) && in EglRenderContext()
|
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
D | glcTestRunner.cpp | 107 deInt32 greenBits; member 122 int greenBits; in parseConfigBitsFromName() member 133 cfgInfo.greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName() 271 return cfgInfo.redBits == config.redBits && cfgInfo.greenBits == config.greenBits && in isGLConfigCompatible()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 271 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 368 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 473 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 1133 …st int thresholdGreen = 1 << (8 - m_context.getRenderTarget().getPixelFormat().greenBits); in iterate() 1417 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 1598 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 1796 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
|
/third_party/mesa3d/src/mesa/main/ |
D | glconfig.h | 17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.cpp | 213 (intendedFormat.greenBits == 0 && actualFormat.greenBits > 0) || in HasEmulatedImageChannels() 482 internalSwizzle.swizzleGreen = angleFormat.greenBits > 0 ? GL_GREEN : GL_ZERO; in GetFormatSwizzle()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 494 if ((formatInfo.redBits == 0 || !r) && (formatInfo.greenBits == 0 || !g) && in clearFramebuffer() 506 (formatInfo.greenBits > 0 && !g) || (formatInfo.blueBits > 0 && !b) || in clearFramebuffer() 525 ((formatInfo.greenBits == 0 && nativeFormat.greenBits > 0) in clearFramebuffer()
|