/third_party/vk-gl-cts/framework/common/ |
D | tcuPixelFormat.hpp | 37 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/ |
D | Format.h | 34 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()
|
D | d3d_format.cpp | 26 redBits(0), in D3DFormat() 39 GLuint redBits, in D3DFormat() argument 50 redBits(redBits), in D3DFormat()
|
D | d3d_format.h | 26 GLuint redBits, 41 GLuint redBits; 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() 127 glfwWindowHint(GLFW_RED_BITS, mode->redBits); in test_modes() 173 glGetIntegerv(GL_RED_BITS, ¤t.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/ |
D | gluRenderConfig.cpp | 35 DE_ASSERT(config->redBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName() 46 int redBits; in parseConfigBitsFromName() member 62 config->redBits = colorCfgs[ndx].redBits; in parseConfigBitsFromName()
|
D | gluRenderConfig.hpp | 84 int redBits; member 101 , redBits (DONT_CARE) in RenderConfig()
|
/third_party/vk-gl-cts/framework/platform/ohos/context/ |
D | tcuOhosNativeContext.cpp | 69 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/ |
D | mir_monitor.c | 94 mode->redBits = 5; in FillInRGBBitsFromPixelFormat() 99 mode->redBits = 5; in FillInRGBBitsFromPixelFormat() 104 mode->redBits = 4; in FillInRGBBitsFromPixelFormat() 115 mode->redBits = 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() 244 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseVideoMode() 245 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()
|
D | context.c | 219 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseFBConfig() 221 colorDiff += (desired->redBits - current->redBits) * in _glfwChooseFBConfig() 222 (desired->redBits - current->redBits); in _glfwChooseFBConfig()
|
D | win32_monitor.c | 112 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/ |
D | glcConfigList.hpp | 101 , redBits(redBits_) in AOSPConfig() 115 , redBits(0) in AOSPConfig() 128 deInt32 redBits; 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/skia/docs/examples/ |
D | Color_Type_RGB_101010.cpp | 17 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()
|
D | Color_Type_RGBA_1010102.cpp | 17 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/ |
D | rosen_context_impl.cpp | 192 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/ |
D | tcuWGL.hpp | 107 int redBits; member in tcu::wgl::PixelFormatInfo 148 , redBits (0) in PixelFormatInfo()
|
D | tcuWGL.cpp | 404 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()
|
D | tcuWin32EGLNativeDisplayFactory.cpp | 194 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/ |
D | tcuIOSPlatform.mm | 164 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/ |
D | tcuSurfacelessPlatform.cpp | 245 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/ |
D | glcTestRunner.cpp | 106 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/ |
D | es2fRasterizationTests.cpp | 270 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/ |
D | glconfig.h | 17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
|