/third_party/vk-gl-cts/framework/common/ |
H A 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/ |
H A 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() 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 D | d3d_format.cpp | 26 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 D | d3d_format.h | 26 GLuint redBits, 41 GLuint redBits; member
|
/third_party/glfw/tests/ |
H A D | monitors.c | 68 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, ¤t.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 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()
|
H A D | gluRenderConfig.hpp | 84 int redBits; member 101 , redBits (DONT_CARE) in RenderConfig()
|
/third_party/vk-gl-cts/framework/platform/ohos/context/ |
H A 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/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcConfigList.hpp | 101 , redBits(redBits_) in AOSPConfig() 115 , redBits(0) in AOSPConfig() 128 deInt32 redBits; member
|
H A 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.blueBits, in getDefaultWglConfigList()
|
/third_party/skia/docs/examples/ |
H A D | Color_Type_RGB_101010.cpp | 17 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 D | Color_Type_RGBA_1010102.cpp | 17 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 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() 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 D | tcuWGL.hpp | 107 int redBits; member in tcu::wgl::PixelFormatInfo 148 , redBits (0) in PixelFormatInfo()
|
H A 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()
|
/third_party/glfw/src/ |
H A D | context.c | 242 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 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() 240 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseVideoMode() 241 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()
|
H A D | win32_monitor.c | 267 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 D | tcuSurfacelessPlatform.cpp | 248 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 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/mesa3d/src/mesa/main/ |
H A D | glconfig.h | 17 GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Clear11.cpp | 494 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 D | EGLWindow.cpp | 26 : 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 D | teglRenderTests.cpp | 342 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 D | es2fRasterizationTests.cpp | 270 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...] |