Home
last modified time | relevance | path

Searched refs:redBits (Results 1 - 25 of 143) sorted by relevance

123456

/third_party/vk-gl-cts/framework/common/
H A 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/
H A 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()
161 redBits(redBits), in Format()
170 channelCount(GetChannelCount(redBits, in Format()
193 ASSERT(redBits > 0 || (greenBits == 0 && blueBits == 0)); in isLUMA()
194 return redBits in isLUMA()
130 Format(FormatID id, GLenum glFormat, GLenum fboFormat, rx::MipGenerationFunction mipGen, const rx::FastCopyFunctionMap &fastCopyFunctions, rx::PixelReadFunction colorRead, rx::PixelWriteFunction colorWrite, GLenum componentType, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits, GLuint pixelBytes, GLuint componentAlignmentMask, bool isBlock, bool isFixed, bool isScaled, bool isSRGB, bool isYUV, gl::VertexAttribType vertexAttribType) Format() argument
[all...]
H A Dd3d_format.cpp26 redBits(0), in D3DFormat()
39 GLuint redBits, in D3DFormat()
50 redBits(redBits), in D3DFormat()
36 D3DFormat(GLuint bits, GLuint blockWidth, GLuint blockHeight, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint lumBits, GLuint depthBits, GLuint stencilBits, FormatID formatID) D3DFormat() argument
H A Dd3d_format.h26 GLuint redBits,
41 GLuint redBits; member
/third_party/glfw/tests/
H A Dmonitors.c68 mode->redBits + mode->greenBits + mode->blueBits, in format_mode()
70 mode->redBits, mode->greenBits, mode->blueBits, in format_mode()
145 glfwWindowHint(GLFW_RED_BITS, mode->redBits); in test_modes()
191 glGetIntegerv(GL_RED_BITS, &current.redBits); in test_modes()
197 if (current.redBits != mode->redBits || in test_modes()
202 current.redBits, current.greenBits, current.blueBits, in test_modes()
203 mode->redBits, mode->greenBits, mode->blueBits); in test_modes()
/third_party/vk-gl-cts/framework/opengl/
H A 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()
H A DgluRenderConfig.hpp84 int redBits; member
101 , redBits (DONT_CARE) in RenderConfig()
/third_party/vk-gl-cts/framework/platform/ohos/context/
H A 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/external/openglcts/modules/common/
H A DglcConfigList.hpp101 , redBits(redBits_) in AOSPConfig()
115 , redBits(0) in AOSPConfig()
128 deInt32 redBits; member
H A 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.blueBits, in getDefaultWglConfigList()
/third_party/skia/docs/examples/
H A DColor_Type_RGB_101010.cpp17 uint32_t redBits[] = { pack101010x(0x3FF, 0x000, 0x000), pack101010x(0x2ff, 0x000, 0x000), in REG_FIDDLE() local
21 if (bitmap.installPixels(imageInfo, (void*) redBits, imageInfo.minRowBytes())) { in REG_FIDDLE()
H A DColor_Type_RGBA_1010102.cpp17 uint32_t redBits[] = { pack1010102(0x3FF, 0x000, 0x000, 0x3), in REG_FIDDLE() local
25 if (bitmap.installPixels(imageInfo, (void*) redBits, imageInfo.minRowBytes())) { in REG_FIDDLE()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
H A 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()
263 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.greenBits, green); in SetConfig()
316 if (pixelFormat_.redBits == 8 && pixelFormat_.greenBits == 8 && pixelFormat_.blueBits == 8 && pixelFormat_.alphaBits == 8) in InitNativeWindow()
321 else if (pixelFormat_.redBits in InitNativeWindow()
[all...]
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWGL.hpp107 int redBits; member in tcu::wgl::PixelFormatInfo
148 , redBits (0) in PixelFormatInfo()
H A 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()
/third_party/glfw/src/
H A Dcontext.c242 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseFBConfig()
244 colorDiff += (desired->redBits - current->redBits) * in _glfwChooseFBConfig()
245 (desired->redBits - current->redBits); in _glfwChooseFBConfig()
H A 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()
240 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseVideoMode()
241 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()
H A Dwin32_monitor.c267 dm.dmBitsPerPel = best->redBits + best->greenBits + best->blueBits; in _glfwSetVideoModeWin32()
426 &mode.redBits, in _glfwGetVideoModesWin32()
490 &mode->redBits, in _glfwGetVideoModeWin32()
/third_party/vk-gl-cts/framework/platform/surfaceless/
H A DtcuSurfacelessPlatform.cpp248 config.redBits, in EglRenderContext()
313 frame_buffer_attribs.push_back(config.redBits); in EglRenderContext()
354 (glu::RenderConfig::DONT_CARE == config.redBits || red == config.redBits) && in EglRenderContext()
/third_party/vk-gl-cts/external/openglcts/modules/runner/
H A 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/mesa3d/src/mesa/main/
H A Dglconfig.h17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DClear11.cpp494 if ((formatInfo.redBits == 0 || !r) && (formatInfo.greenBits == 0 || !g) && in clearFramebuffer()
505 clearParams.colorType != GL_FLOAT || (formatInfo.redBits > 0 && !r) || in clearFramebuffer()
523 ((formatInfo.redBits == 0 && nativeFormat.redBits > 0) ? 0.0f in clearFramebuffer()
/third_party/skia/third_party/externals/angle2/util/
H A DEGLWindow.cpp26 : redBits(-1), in ConfigParameters()
402 (mConfigParams.redBits >= 0) ? mConfigParams.redBits : EGL_DONT_CARE, in initializeSurface()
443 eglGetConfigAttrib(mDisplay, mConfig, EGL_RED_SIZE, &mConfigParams.redBits); in initializeSurface()
/third_party/vk-gl-cts/modules/egl/
H A DteglRenderTests.cpp342 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) && in getColorFormat()
350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
383 if ((colorBits.redBits > 0 && colorBits.redBits < 8) || in getColorThreshold()
694 fmt.redBits = eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE); in getPixelFormat()
756 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts()
968 log << TestLog::Message << "EGL_RED_SIZE = " << pixelFmt.redBits << TestLog::EndMessage; in executeForContexts()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRasterizationTests.cpp270 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
367 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits;
472 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
1132 const int thresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat().redBits);
1416 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits;
1597 args.redBits
[all...]

Completed in 18 milliseconds

123456