Home
last modified time | relevance | path

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

1234567

/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h35 GLuint greenBits,
88 GLuint greenBits; member
112 GLuint greenBits, in GetChannelCount() argument
119 return (redBits > 0 ? 1 : 0) + (greenBits > 0 ? 1 : 0) + (blueBits > 0 ? 1 : 0) + in GetChannelCount()
133 GLuint greenBits, in Format() argument
154 greenBits(greenBits), in Format()
163 greenBits, in Format()
183 ASSERT(redBits > 0 || (greenBits == 0 && blueBits == 0)); in isLUMA()
/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/flutter/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.cpp157 if (pixelFormat_.greenBits != -1) in SetConfig()
160 frameBufferAttribs.push_back(pixelFormat_.greenBits); in SetConfig()
217 if (pixelFormat_.greenBits == -1) in SetConfig()
219 pixelFormat_.greenBits = green; in SetConfig()
221 else if (pixelFormat_.greenBits != green) in SetConfig()
223 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.greenBits, green); in SetConfig()
276 …if (pixelFormat_.redBits == 8 && pixelFormat_.greenBits == 8 && pixelFormat_.blueBits == 8 && pixe… in InitNativeWindow()
280 …else if (pixelFormat_.redBits == 5 && pixelFormat_.greenBits == 6 && pixelFormat_.blueBits == 5 &&… in InitNativeWindow()
284 …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/flutter/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h38 GLuint greenBits,
53 GLuint greenBits; member
/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/flutter/skia/third_party/externals/angle2/util/
DEGLWindow.cpp22 greenBits(-1), in ConfigParameters()
204 (mConfigParams.greenBits >= 0) ? mConfigParams.greenBits : EGL_DONT_CARE, in initializeSurface()
243 eglGetConfigAttrib(mDisplay, mConfig, EGL_GREEN_SIZE, &mConfigParams.greenBits); in initializeSurface()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuANGLENativeDisplayFactory.cpp220 int greenBits = 0; in createPixmap() local
228 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &greenBits); in createPixmap()
233 bitSum = redBits + greenBits + blueBits + alphaBits; in createPixmap()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp187 (angleFmt.greenBits == 0 && textureFmt.greenBits > 0) || in hasEmulatedImageChannels()
387 internalSwizzle.swizzleGreen = angleFormat.greenBits > 0 ? GL_GREEN : GL_ZERO; in MapSwizzleState()

1234567