Home
last modified time | relevance | path

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

12345678

/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h34 GLuint redBits,
87 GLuint redBits; member
111 constexpr GLuint GetChannelCount(GLuint redBits, in GetChannelCount() argument
119 return (redBits > 0 ? 1 : 0) + (greenBits > 0 ? 1 : 0) + (blueBits > 0 ? 1 : 0) + in GetChannelCount()
132 GLuint redBits, in Format() argument
153 redBits(redBits), in Format()
162 channelCount(GetChannelCount(redBits, in Format()
183 ASSERT(redBits > 0 || (greenBits == 0 && blueBits == 0)); in isLUMA()
184 return redBits == 0 && (luminanceBits > 0 || alphaBits > 0); in isLUMA()
/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/flutter/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/platform/ohos/rosen_context/
Drosen_context_impl.cpp152 if (pixelFormat_.redBits != -1) in SetConfig()
155 frameBufferAttribs.push_back(pixelFormat_.redBits); in SetConfig()
207 if (pixelFormat_.redBits == -1) in SetConfig()
209 pixelFormat_.redBits = red; in SetConfig()
211 else if (pixelFormat_.redBits != red) in SetConfig()
213 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.redBits, red); 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/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/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/flutter/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/flutter/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/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h37 GLuint redBits,
52 GLuint redBits; member
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGL.hpp107 int redBits; member in tcu::wgl::PixelFormatInfo
148 , redBits (0) in PixelFormatInfo()
/third_party/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c403 GLuint redBits, GLuint greenBits, in add_accum_renderbuffer() argument
408 if (redBits > 16 || greenBits > 16 || blueBits > 16 || alphaBits > 16) { in add_accum_renderbuffer()
450 assert(fb->Visual.redBits == fb->Visual.greenBits); in _swrast_add_soft_renderbuffers()
451 assert(fb->Visual.redBits == fb->Visual.blueBits); in _swrast_add_soft_renderbuffers()
453 fb->Visual.redBits, in _swrast_add_soft_renderbuffers()
/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.cpp259 config.redBits, in EglRenderContext()
325 frame_buffer_attribs.push_back(config.redBits); in EglRenderContext()
366 (glu::RenderConfig::DONT_CARE == config.redBits || red == config.redBits) && in EglRenderContext()

12345678