/third_party/vk-gl-cts/framework/common/ |
H A D | tcuPixelFormat.hpp | 38 int greenBits; member 44 , greenBits(green) in PixelFormat() 52 , greenBits(0) in PixelFormat() 82 channelThreshold(greenBits), in getColorThreshold() 120 convertChannel(col.getGreen(), greenBits), in convertColor() 128 greenBits == other.greenBits && in operator ==()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | Format.h | 35 GLuint greenBits, 92 GLuint greenBits; member 118 GLuint greenBits, in GetChannelCount() 125 return (redBits > 0 ? 1 : 0) + (greenBits > 0 ? 1 : 0) + (blueBits > 0 ? 1 : 0) + in GetChannelCount() 139 GLuint greenBits, in Format() 162 greenBits(greenBits), in Format() 171 greenBits, in Format() 193 ASSERT(redBits > 0 || (greenBits == 0 && blueBits == 0)); in isLUMA() 117 GetChannelCount(GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits) GetChannelCount() argument 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
|
H A D | d3d_format.cpp | 27 greenBits(0), in D3DFormat() 40 GLuint greenBits, in D3DFormat() 51 greenBits(greenBits), 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 | 27 GLuint greenBits, 42 GLuint greenBits; 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() 146 glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits); in test_modes() 192 glGetIntegerv(GL_GREEN_BITS, ¤t.greenBits); in test_modes() 198 current.greenBits != mode->greenBits || 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 | 36 config->greenBits == RenderConfig::DONT_CARE && in parseConfigBitsFromName() 47 int greenBits; in parseConfigBitsFromName() member 63 config->greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName()
|
H A D | gluRenderConfig.hpp | 85 int greenBits; member 102 , greenBits (DONT_CARE) in RenderConfig()
|
/third_party/vk-gl-cts/framework/platform/ohos/context/ |
H A D | tcuOhosNativeContext.cpp | 70 printf("config.greenBits = %d\n", config.greenBits); in OhosRendContext() 115 .greenBits = 8, in OhosRendContext() 126 if (config.greenBits != -1) in OhosRendContext() 128 pf.greenBits = config.greenBits; in OhosRendContext()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcConfigList.hpp | 102 , greenBits(greenBits_) in AOSPConfig() 116 , greenBits(0) in AOSPConfig() 129 deInt32 greenBits; 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/vk-gl-cts/framework/platform/ohos/rosen_context/ |
H A D | rosen_context_impl.cpp | 197 if (pixelFormat_.greenBits != -1) in SetConfig() 200 frameBufferAttribs.push_back(pixelFormat_.greenBits); in SetConfig() 257 if (pixelFormat_.greenBits == -1) in SetConfig() 259 pixelFormat_.greenBits = green; in SetConfig() 261 else if (pixelFormat_.greenBits != green) 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 == 5 && pixelFormat_.greenBits == 6 && pixelFormat_.blueBits == 5 && pixelFormat_.alphaBits == 0) in InitNativeWindow() 326 else if (pixelFormat_.redBits == 4 && pixelFormat_.greenBits == 4 && pixelFormat_.blueBits == 4 && pixelFormat_.alphaBits == 4) in InitNativeWindow()
|
/third_party/vk-gl-cts/framework/platform/win32/ |
H A D | tcuWGL.hpp | 109 int greenBits; member in tcu::wgl::PixelFormatInfo 149 , greenBits (0) in PixelFormatInfo()
|
H A D | tcuWGL.cpp | 405 info.greenBits = values[WGL_GREEN_BITS_ARB]; in getPixelFormatInfo() 630 if (config.greenBits != glu::RenderConfig::DONT_CARE && in choosePixelFormat() 631 config.greenBits != info.greenBits) in choosePixelFormat()
|
H A D | tcuWin32EGLNativeDisplayFactory.cpp | 195 int greenBits = 0; in createPixmap() local 203 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &greenBits); in createPixmap() 208 bitSum = redBits+greenBits+blueBits+alphaBits; in createPixmap()
|
/third_party/glfw/src/ |
H A D | context.c | 248 if (desired->greenBits != GLFW_DONT_CARE) in _glfwChooseFBConfig() 250 colorDiff += (desired->greenBits - current->greenBits) * in _glfwChooseFBConfig() 251 (desired->greenBits - current->greenBits); 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() 242 if (desired->greenBits != GLFW_DONT_CARE) in _glfwChooseVideoMode() 243 colorDiff += abs(current->greenBits - desired->greenBits); in _glfwChooseVideoMode()
|
H A D | win32_monitor.c | 267 dm.dmBitsPerPel = best->redBits + best->greenBits + best->blueBits; in _glfwSetVideoModeWin32() 427 &mode.greenBits, in _glfwGetVideoModesWin32() 491 &mode->greenBits, in _glfwGetVideoModeWin32()
|
/third_party/vk-gl-cts/framework/platform/surfaceless/ |
H A D | tcuSurfacelessPlatform.cpp | 249 config.greenBits, in EglRenderContext() 316 frame_buffer_attribs.push_back(config.greenBits); in EglRenderContext() 355 (glu::RenderConfig::DONT_CARE == config.greenBits || green == config.greenBits) && in EglRenderContext()
|
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
H A D | glcTestRunner.cpp | 107 deInt32 greenBits; member 122 int greenBits; in parseConfigBitsFromName() member 133 cfgInfo.greenBits = colorCfgs[ndx].greenBits; 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() 506 (formatInfo.greenBits > 0 && !g) || (formatInfo.blueBits > 0 && !b) || in clearFramebuffer() 525 ((formatInfo.greenBits == 0 && nativeFormat.greenBits > 0) in clearFramebuffer()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | EGLWindow.cpp | 27 greenBits(-1), in ConfigParameters() 404 (mConfigParams.greenBits >= 0) ? mConfigParams.greenBits : EGL_DONT_CARE, in initializeSurface() 444 eglGetConfigAttrib(mDisplay, mConfig, EGL_GREEN_SIZE, &mConfigParams.greenBits); in initializeSurface()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglRenderTests.cpp | 343 de::inBounds(colorBits.greenBits, 0, 0xff) && in getColorFormat() 350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat() 384 (colorBits.greenBits > 0 && colorBits.greenBits < 8) || in getColorThreshold() 695 fmt.greenBits = eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE); in getPixelFormat() 757 log << TestLog::Message << "EGL_GREEN_SIZE = " << pixelFmt.greenBits << TestLog::EndMessage; in executeForContexts() 969 log << TestLog::Message << "EGL_GREEN_SIZE = " << pixelFmt.greenBits << TestLog::EndMessage; in executeForContexts()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fRasterizationTests.cpp | 271 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 368 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; 473 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate() 1133 const int thresholdGreen = 1 << (8 - m_context.getRenderTarget().getPixelFormat().greenBits); 1417 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; 1598 args.greenBits [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_format_utils.cpp | 213 (intendedFormat.greenBits == 0 && actualFormat.greenBits > 0) || in HasEmulatedImageChannels() 482 internalSwizzle.swizzleGreen = angleFormat.greenBits > 0 ? GL_GREEN : GL_ZERO; in GetFormatSwizzle()
|