/third_party/mesa3d/src/mesa/main/ |
H A D | glformats.c | 180 case GL_BGRA: in get_map_idx() 403 case GL_BGRA: in _mesa_components_in_format() 463 if (format == GL_RGBA || format == GL_BGRA || format == GL_ABGR_EXT || in _mesa_bytes_per_pixel() 470 if (format == GL_RGBA || format == GL_BGRA || in _mesa_bytes_per_pixel() 477 if (format == GL_RGBA || format == GL_BGRA || format == GL_ABGR_EXT || in _mesa_bytes_per_pixel() 485 if (format == GL_RGBA || format == GL_BGRA || in _mesa_bytes_per_pixel() 581 case GL_BGRA: in _mesa_is_enum_format_unsized() 685 case GL_BGRA: in _mesa_is_enum_format_unorm() 1033 case GL_BGRA: in _mesa_is_color_format() 1488 return GL_BGRA; in _mesa_unpack_format_to_base_format() [all...] |
H A D | framebuffer.c | 718 case GL_BGRA: in renderbuffer_exists() 863 return GL_BGRA; in _mesa_get_color_read_format()
|
H A D | varray.c | 483 assert(format == GL_RGBA || format == GL_BGRA); in vertex_format_to_pipe_format() 497 if (format == GL_BGRA) { in vertex_format_to_pipe_format() 513 if (format == GL_BGRA) { in vertex_format_to_pipe_format() 531 if (format == GL_BGRA) { in vertex_format_to_pipe_format() 622 * If sizeMax = BGRA_OR_4 it means that size = GL_BGRA is legal and in get_array_format() 626 *size == GL_BGRA) { in get_array_format() 627 format = GL_BGRA; in get_array_format() 639 * \param format Either GL_RGBA or GL_BGRA. 733 if (format == GL_BGRA) { in validate_array_format() 755 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(size=GL_BGRA an in validate_array_format() [all...] |
H A D | debug.c | 563 else if (format == GL_BGRA && type == GL_UNSIGNED_BYTE) { in _mesa_dump_image()
|
H A D | readpix.c | 80 dstBaseFormat == GL_BGRA); in _mesa_need_luminance_to_rgb_conversion() 981 case GL_BGRA: in read_pixels_es3_error_check()
|
H A D | texstorage.c | 233 case GL_BGRA: in _mesa_is_legal_tex_storage_format()
|
H A D | glthread_varray.c | 338 if (size == GL_BGRA) in element_size()
|
H A D | get.c | 1058 v->value_int = array->Format.Format == GL_BGRA ? GL_BGRA : array->Format.Size; in find_custom_value() 1062 v->value_int = array->Format.Format == GL_BGRA ? GL_BGRA : array->Format.Size; in find_custom_value()
|
H A D | formatquery.c | 682 case GL_BGRA: in _mesa_query_internal_format_default()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/ |
H A D | IOSurfaceSurfaceCGL.cpp | 56 {GL_RGB, GL_UNSIGNED_BYTE, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV }, 57 {GL_BGRA_EXT, GL_UNSIGNED_BYTE, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV }, 58 {GL_RGB10_A2, GL_UNSIGNED_INT_2_10_10_10_REV, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV},
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | format_map_desktop.cpp | 33 case GL_BGRA: in ValidDesktopFormat()
|
/third_party/mesa3d/src/glx/ |
H A D | compsize.c | 82 case GL_BGRA: in __glElementsPerGroup()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceUtils.cpp | 52 const bool bgraComponentOrder = (size == GL_BGRA); in mapGLFloatVertexAttributeType() 138 case GL_BGRA: return 4; in mapGLSize()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedPixelsTests.cpp | 314 { GL_BGRA, 4, FORMAT_COLOR, GL_COLOR_ATTACHMENT0, { { 2, 1, 0, 3,-1,-1,-1,-1,-1} } }, 478 { GL_BGRA, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4_REV, 4, true }, 479 { GL_BGRA, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4, 4, true }, 483 { GL_BGRA, GL_BGRA, GL_UNSIGNED_SHORT_5_5_5_1, 4, true }, 487 { GL_BGRA, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV, 4, true }, 491 { GL_BGRA, GL_BGR [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fReadPixelsTests.cpp | 211 if (m_format != GL_RGBA && m_format != GL_BGRA && m_format != GL_RGB) in getFormatInfo() 249 else if (m_format == GL_RGBA || m_format == GL_BGRA || m_format == GL_RGB) in clearColor() 259 if (m_format == GL_RGBA || m_format == GL_BGRA || m_format == GL_RGB) in clearColor()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_format.c | 210 { GL_BGRA, 0 }, 1286 internalFormat == GL_BGRA || in st_ChooseTextureFormat() 1322 /* Treat GL_BGRA as GL_RGBA. */ in st_ChooseTextureFormat() 1323 if (iformat == GL_BGRA) in st_ChooseTextureFormat()
|
H A D | st_cb_drawpixels.c | 681 if ((format == GL_RGBA || format == GL_BGRA) in make_texture() 1237 if ((format == GL_RGBA || format == GL_BGRA) && type == GL_UNSIGNED_BYTE) { in setup_sampler_swizzle() 1255 assert(format == GL_BGRA); in setup_sampler_swizzle()
|
/third_party/astc-encoder/Source/ |
H A D | astcenccli_image_load_store.cpp | 717 #define GL_BGRA 0x80E1 macro 1000 case GL_BGRA: in load_ktx_uncompressed_image() 1043 case GL_BGRA: in load_ktx_uncompressed_image() 1076 case GL_BGRA: in load_ktx_uncompressed_image() 1109 case GL_BGRA: in load_ktx_uncompressed_image() 1142 case GL_BGRA: in load_ktx_uncompressed_image()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureBorderClampTests.cpp | 95 if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in isDepthFormat() 123 if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in isStencilFormat() 151 if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in getFormatChannelClass() 315 if (texFormat == GL_LUMINANCE || texFormat == GL_LUMINANCE_ALPHA || texFormat == GL_ALPHA || texFormat == GL_BGRA) in genDefaultTexture() 469 const bool isUnsizedColorFormat = (format == GL_BGRA); 666 if (m_texFormat == GL_BGRA && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_format_BGRA8888")) 2086 if (m_texFormat == GL_BGRA && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_format_BGRA8888")) 2327 { "bgra", GL_BGRA, tcu::Sampler::MODE_LAST },
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | GLFormat.cpp | 75 AddFormat(wgpu::TextureFormat::BGRA8Unorm, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 151 if (glFormat != GL_RGBA && glFormat != GL_BGRA && glFormat != GL_RGB) in getFormatInfo()
|
H A D | es2fIntegerStateQueryTests.cpp | 1940 validColorFormats.push_back(GL_BGRA); in test() 1944 validColorFormats.push_back(GL_BGRA); in test() 1951 validColorFormats.push_back(GL_BGRA); in test()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureUtil.cpp | 90 format = GL_BGRA; in getTransferFormat() 448 case GL_BGRA: return TextureFormat(TextureFormat::BGRA, mapGLChannelType(dataType, true));
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cVertexAttribBindingTests.cpp | 871 glVertexAttribFormat(8, GL_BGRA, GL_UNSIGNED_BYTE, GL_TRUE, 104); in Run() 873 glVertexAttribFormat(10, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_TRUE, 108); in Run() 875 glVertexAttribFormat(12, GL_BGRA, GL_INT_2_10_10_10_REV, GL_TRUE, 112); in Run() 3910 glVertexAttribIFormat(0, GL_BGRA, GL_INT, 0); in Run() 3914 //two possible errors here: INVALID_VALUE because GL_BGRA used in *IFormat in Run() 3915 //function AND INVALID_OPERATION because GL_BGRA used with GL_INT in Run() 3920 glVertexAttribLFormat(0, GL_BGRA, GL_DOUBLE, 0); in Run() 3924 //two possible errors here: INVALID_VALUE because GL_BGRA used in *IFormat in Run() 3925 //function AND INVALID_OPERATION because GL_BGRA used with GL_DOUBLE in Run() 3951 glVertexAttribFormat(0, GL_BGRA, GL_FLOA in Run() [all...] |
H A D | gl4cDirectStateAccessBuffersTests.cpp | 2746 GL_RGBA, GL_BGRA, in TestErrorsOfClearNamedBufferData() 2766 "(one of GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, " in TestErrorsOfClearNamedBufferData() 2776 GL_RGBA, GL_BGRA, in TestErrorsOfClearNamedBufferData() 3029 GL_RGBA, GL_BGRA, in TestErrorsOfClearNamedBufferSubData() 3050 "(one of GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, " in TestErrorsOfClearNamedBufferSubData() 3060 GL_RGBA, GL_BGRA, in TestErrorsOfClearNamedBufferSubData()
|