Home
last modified time | relevance | path

Searched refs:greenBits (Results 1 – 25 of 137) 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/platform/ohos/rosen_context/
Drosen_context_impl.cpp160 if (pixelFormat_.greenBits != -1) in SetConfig()
163 frameBufferAttribs.push_back(pixelFormat_.greenBits); in SetConfig()
220 if (pixelFormat_.greenBits == -1) in SetConfig()
222 pixelFormat_.greenBits = green; in SetConfig()
224 else if (pixelFormat_.greenBits != green) in SetConfig()
226 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.greenBits, green); in SetConfig()
279 …if (pixelFormat_.redBits == 8 && pixelFormat_.greenBits == 8 && pixelFormat_.blueBits == 8 && pixe… in InitNativeWindow()
283 …else if (pixelFormat_.redBits == 5 && pixelFormat_.greenBits == 6 && pixelFormat_.blueBits == 5 &&… in InitNativeWindow()
287 …else if (pixelFormat_.redBits == 4 && pixelFormat_.greenBits == 4 && pixelFormat_.blueBits == 4 &&… in InitNativeWindow()
/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/win32/
DtcuWGL.hpp109 int greenBits; member in tcu::wgl::PixelFormatInfo
149 , greenBits (0) in PixelFormatInfo()
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()
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()
/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.cpp260 config.greenBits, in EglRenderContext()
328 frame_buffer_attribs.push_back(config.greenBits); in EglRenderContext()
367 (glu::RenderConfig::DONT_CARE == config.greenBits || green == config.greenBits) && in EglRenderContext()
/third_party/mesa3d/src/mesa/main/
Dglconfig.h17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/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()
472 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
1132 …st int thresholdGreen = 1 << (8 - m_context.getRenderTarget().getPixelFormat().greenBits); in iterate()
1416 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
1597 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
1795 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
/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/util/
DEGLWindow.cpp27 greenBits(-1), in ConfigParameters()
404 (mConfigParams.greenBits >= 0) ? mConfigParams.greenBits : EGL_DONT_CARE, in initializeSurface()
444 eglGetConfigAttrib(mDisplay, mConfig, EGL_GREEN_SIZE, &mConfigParams.greenBits); in initializeSurface()

123456