Home
last modified time | relevance | path

Searched refs:redBits (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/vk-gl-cts/framework/common/
DtcuPixelFormat.hpp37 int redBits; member
43 : redBits(red) in PixelFormat()
51 : redBits(0) in PixelFormat()
81 channelThreshold(redBits), in getColorThreshold()
119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
127 return redBits == other.redBits && in operator ==()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h34 GLuint redBits,
91 GLuint redBits; member
117 constexpr GLuint GetChannelCount(GLuint redBits, in GetChannelCount() argument
125 return (redBits > 0 ? 1 : 0) + (greenBits > 0 ? 1 : 0) + (blueBits > 0 ? 1 : 0) + in GetChannelCount()
138 GLuint redBits, in Format() argument
161 redBits(redBits), in Format()
170 channelCount(GetChannelCount(redBits, in Format()
193 ASSERT(redBits > 0 || (greenBits == 0 && blueBits == 0)); in isLUMA()
194 return redBits == 0 && (luminanceBits > 0 || alphaBits > 0); in isLUMA()
Dd3d_format.cpp26 redBits(0), in D3DFormat()
39 GLuint redBits, in D3DFormat() argument
50 redBits(redBits), in D3DFormat()
Dd3d_format.h26 GLuint redBits,
41 GLuint redBits; 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()
127 glfwWindowHint(GLFW_RED_BITS, mode->redBits); in test_modes()
173 glGetIntegerv(GL_RED_BITS, &current.redBits); in test_modes()
179 if (current.redBits != mode->redBits || 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.cpp35 DE_ASSERT(config->redBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName()
46 int redBits; in parseConfigBitsFromName() member
62 config->redBits = colorCfgs[ndx].redBits; in parseConfigBitsFromName()
DgluRenderConfig.hpp84 int redBits; member
101 , redBits (DONT_CARE) in RenderConfig()
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp69 printf("config.redBits = %d\n", config.redBits); in OhosRendContext()
114 .redBits = 8, in OhosRendContext()
122 if (config.redBits != -1) in OhosRendContext()
124 pf.redBits = config.redBits; in OhosRendContext()
/third_party/glfw/src/
Dmir_monitor.c94 mode->redBits = 5; in FillInRGBBitsFromPixelFormat()
99 mode->redBits = 5; in FillInRGBBitsFromPixelFormat()
104 mode->redBits = 4; in FillInRGBBitsFromPixelFormat()
115 mode->redBits = 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()
244 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseVideoMode()
245 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()
Dcontext.c219 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
221 colorDiff += (desired->redBits - current->redBits) * in _glfwChooseFBConfig()
222 (desired->redBits - current->redBits); in _glfwChooseFBConfig()
Dwin32_monitor.c112 dm.dmBitsPerPel = best->redBits + best->greenBits + best->blueBits; in _glfwSetVideoModeWin32()
280 &mode.redBits, in _glfwPlatformGetVideoModes()
341 &mode->redBits, in _glfwPlatformGetVideoMode()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigList.hpp101 , redBits(redBits_) in AOSPConfig()
115 , redBits(0) in AOSPConfig()
128 deInt32 redBits; 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/skia/docs/examples/
DColor_Type_RGB_101010.cpp17 uint32_t redBits[] = { pack101010x(0x3FF, 0x000, 0x000), pack101010x(0x2ff, 0x000, 0x000), in draw() local
21 if (bitmap.installPixels(imageInfo, (void*) redBits, imageInfo.minRowBytes())) { in draw()
DColor_Type_RGBA_1010102.cpp17 uint32_t redBits[] = { pack1010102(0x3FF, 0x000, 0x000, 0x3), in draw() local
25 if (bitmap.installPixels(imageInfo, (void*) redBits, imageInfo.minRowBytes())) { in draw()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
Drosen_context_impl.cpp192 if (pixelFormat_.redBits != -1) in SetConfig()
195 frameBufferAttribs.push_back(pixelFormat_.redBits); in SetConfig()
247 if (pixelFormat_.redBits == -1) in SetConfig()
249 pixelFormat_.redBits = red; in SetConfig()
251 else if (pixelFormat_.redBits != red) in SetConfig()
253 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.redBits, red); 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.hpp107 int redBits; member in tcu::wgl::PixelFormatInfo
148 , redBits (0) in PixelFormatInfo()
DtcuWGL.cpp404 info.redBits = values[WGL_RED_BITS_ARB]; in getPixelFormatInfo()
626 if (config.redBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat()
627 config.redBits != info.redBits) in choosePixelFormat()
DtcuWin32EGLNativeDisplayFactory.cpp194 int redBits = 0; in createPixmap() local
202 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &redBits); in createPixmap()
208 bitSum = redBits+greenBits+blueBits+alphaBits; in createPixmap()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSPlatform.mm164 const bool cr = config.redBits != glu::RenderConfig::DONT_CARE;
169 if ((!cr || config.redBits == 8) &&
175 if ((!cr || config.redBits == 5) &&
244 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_RED_SIZE, &pixelFormat.redBits);
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp245 config.redBits, in EglRenderContext()
311 frame_buffer_attribs.push_back(config.redBits); in EglRenderContext()
352 (glu::RenderConfig::DONT_CARE == config.redBits || red == config.redBits) && in EglRenderContext()
/third_party/vk-gl-cts/external/openglcts/modules/runner/
DglcTestRunner.cpp106 deInt32 redBits; member
121 int redBits; in parseConfigBitsFromName() member
132 cfgInfo.redBits = colorCfgs[ndx].redBits; in parseConfigBitsFromName()
271 return cfgInfo.redBits == config.redBits && cfgInfo.greenBits == config.greenBits && in isGLConfigCompatible()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRasterizationTests.cpp270 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
367 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
472 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1132 const int thresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat().redBits); in iterate()
1416 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1597 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1795 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
/third_party/mesa3d/src/mesa/main/
Dglconfig.h17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member

123456