Home
last modified time | relevance | path

Searched refs:greenBits (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/vk-gl-cts/framework/common/
DtcuPixelFormat.hpp38 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/
DFormat.h35 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()
Dd3d_format.cpp27 greenBits(0), in D3DFormat()
40 GLuint greenBits, in D3DFormat() argument
51 greenBits(greenBits), in D3DFormat()
Dd3d_format.h27 GLuint greenBits,
42 GLuint greenBits; member
/third_party/glfw/tests/
Dmonitors.c59 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, &current.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/
DgluRenderConfig.cpp36 config->greenBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
47 int greenBits; in parseConfigBitsFromName() member
63 config->greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName()
DgluRenderConfig.hpp85 int greenBits; member
102 , greenBits (DONT_CARE) in RenderConfig()
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp70 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/
Dmir_monitor.c95 mode->greenBits = 6; in FillInRGBBitsFromPixelFormat()
100 mode->greenBits = 5; in FillInRGBBitsFromPixelFormat()
105 mode->greenBits = 4; in FillInRGBBitsFromPixelFormat()
116 mode->greenBits = 8; in FillInRGBBitsFromPixelFormat()
Dmonitor.c44 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()
Dcontext.c225 if (desired->greenBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
227 colorDiff += (desired->greenBits - current->greenBits) * in _glfwChooseFBConfig()
228 (desired->greenBits - current->greenBits); in _glfwChooseFBConfig()
Dwin32_monitor.c112 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/
DglcConfigList.hpp102 , greenBits(greenBits_) in AOSPConfig()
116 , greenBits(0) in AOSPConfig()
129 deInt32 greenBits; member
DglcConfigListWGL.cpp63 (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/
Drosen_context_impl.cpp197 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/
DtcuWGL.hpp109 int greenBits; member in tcu::wgl::PixelFormatInfo
149 , greenBits (0) in PixelFormatInfo()
DtcuWGL.cpp405 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()
DtcuWin32EGLNativeDisplayFactory.cpp195 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/
DtcuIOSPlatform.mm165 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/
DtcuSurfacelessPlatform.cpp246 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/
DglcTestRunner.cpp107 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/
Des2fRasterizationTests.cpp271 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/
Dglconfig.h17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp213 (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/
DClear11.cpp494 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()

123456