Home
last modified time | relevance | path

Searched refs:GL_BGRA (Results 1 – 25 of 55) sorted by relevance

123

/external/virglrenderer/src/
Dvrend_formats.c53 { VIRGL_FORMAT_B8G8R8X8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, RGB1_SWIZZLE },
54 { VIRGL_FORMAT_B8G8R8A8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, NO_SWIZZLE },
59 { VIRGL_FORMAT_A8R8G8B8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, NO_SWIZZLE },
60 { VIRGL_FORMAT_X8R8G8B8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, NO_SWIZZLE },
64 { VIRGL_FORMAT_B4G4R4X4_UNORM, GL_RGBA4, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4_REV, RGB1_SWIZZLE },
66 … { VIRGL_FORMAT_B5G5R5X1_UNORM, GL_RGB5_A1, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV, RGB1_SWIZZLE },
78 { VIRGL_FORMAT_B4G4R4A4_UNORM, GL_RGBA4, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4_REV, NO_SWIZZLE },
79 { VIRGL_FORMAT_B5G5R5A1_UNORM, GL_RGB5_A1, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV, NO_SWIZZLE },
257 { VIRGL_FORMAT_B8G8R8X8_SRGB, GL_SRGB8_ALPHA8, GL_BGRA, GL_UNSIGNED_BYTE, RGB1_SWIZZLE },
258 { VIRGL_FORMAT_B8G8R8A8_SRGB, GL_SRGB8_ALPHA8, GL_BGRA, GL_UNSIGNED_BYTE, NO_SWIZZLE },
[all …]
/external/mesa3d/src/mesa/main/
Dglformats.c180 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()
579 case GL_BGRA: in _mesa_is_enum_format_unsized()
683 case GL_BGRA: in _mesa_is_enum_format_unorm()
1031 case GL_BGRA: in _mesa_is_color_format()
1476 return GL_BGRA; in _mesa_unpack_format_to_base_format()
[all …]
Dformats.c1473 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8_REV && in _mesa_format_matches_format_and_type()
1477 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes) in _mesa_format_matches_format_and_type()
1480 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type()
1487 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes) in _mesa_format_matches_format_and_type()
1490 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8_REV && in _mesa_format_matches_format_and_type()
1494 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type()
1525 return format == GL_BGRA && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && in _mesa_format_matches_format_and_type()
1540 return format == GL_BGRA && type == GL_UNSIGNED_SHORT_1_5_5_5_REV && in _mesa_format_matches_format_and_type()
1544 return format == GL_BGRA && type == GL_UNSIGNED_SHORT_5_5_5_1 && in _mesa_format_matches_format_and_type()
1601 return format == GL_BGRA && type == GL_UNSIGNED_INT_10_10_10_2; in _mesa_format_matches_format_and_type()
[all …]
Dframebuffer.c705 case GL_BGRA: in renderbuffer_exists()
841 return GL_BGRA; in _mesa_get_color_read_format()
Dvarray.c271 *size == GL_BGRA) { in get_array_format()
272 format = GL_BGRA; in get_array_format()
379 if (format == GL_BGRA) { in validate_array_format()
1241 return (array->Format == GL_BGRA) ? GL_BGRA : array->Size; in get_vertex_array_attrib()
Dreadpix.c76 dstBaseFormat == GL_BGRA); in _mesa_need_luminance_to_rgb_conversion()
931 case GL_BGRA: in read_pixels_es3_error_check()
Dtexformat.c764 case GL_BGRA: in _mesa_choose_tex_format()
/external/webrtc/webrtc/test/gl/
Dgl_renderer.cc68 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_BGRA, in ResizeVideo()
85 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width_, height_, GL_BGRA, in RenderFrame()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c309 if (glarray->Format == GL_BGRA) { in brw_get_vertex_surface_type()
333 return glarray->Format == GL_BGRA in brw_get_vertex_surface_type()
341 return glarray->Format == GL_BGRA in brw_get_vertex_surface_type()
358 return glarray->Format == GL_BGRA in brw_get_vertex_surface_type()
366 return glarray->Format == GL_BGRA in brw_get_vertex_surface_type()
Dintel_tiled_memcpy.c826 !(format == GL_RGBA || format == GL_BGRA)) in intel_get_memcpy()
838 if (format == GL_BGRA) { in intel_get_memcpy()
848 if (format == GL_BGRA) { in intel_get_memcpy()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c245 assert(format == GL_RGBA || format == GL_BGRA); in st_pipe_vertex_format()
255 if (format == GL_BGRA) { in st_pipe_vertex_format()
271 if (format == GL_BGRA) { in st_pipe_vertex_format()
289 if (format == GL_BGRA) { in st_pipe_vertex_format()
Dst_format.c1140 { GL_BGRA, 0 },
2023 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, PIPE_FORMAT_ARGB8888_UNORM },
2024 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, PIPE_FORMAT_BGRA8888_UNORM },
2027 { GL_BGRA, GL_UNSIGNED_BYTE, PIPE_FORMAT_B8G8R8A8_UNORM },
2037 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, PIPE_FORMAT_XRGB8888_UNORM },
2038 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, PIPE_FORMAT_BGRX8888_UNORM },
2041 { GL_BGRA, GL_UNSIGNED_BYTE, PIPE_FORMAT_B8G8R8X8_UNORM },
2255 internalFormat == GL_BGRA || in st_ChooseTextureFormat()
2272 if (iformat == GL_BGRA) in st_ChooseTextureFormat()
Dst_cb_drawpixels.c483 if ((format == GL_RGBA || format == GL_BGRA) in make_texture()
1018 if ((format == GL_RGBA || format == GL_BGRA) && type == GL_UNSIGNED_BYTE) { in setup_sampler_swizzle()
1036 assert(format == GL_BGRA); in setup_sampler_swizzle()
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES2/
Dgl2extimg.h31 #define GL_BGRA 0x80E1 macro
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp52 const bool bgraComponentOrder = (size == GL_BGRA); in mapGLFloatVertexAttributeType()
138 case GL_BGRA: return 4; in mapGLSize()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp314 { 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_BGRA, GL_UNSIGNED_INT_8_8_8_8, 4, true },
495 { GL_BGRA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, 4, true },
499 { GL_BGRA, GL_BGRA, GL_UNSIGNED_INT_10_10_10_2, 4, true },
503 { GL_BGRA, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV, 4, true },
2819 format.format == GL_BGR || format.format == GL_BGRA || format.format == GL_RED_INTEGER || in getBits()
[all …]
/external/mesa3d/src/glx/
Dcompsize.c82 case GL_BGRA: in __glElementsPerGroup()
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp211 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()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp222 format = internalformat = GL_BGRA; in PVRTGetOGLES2TextureFormat()
693 if(eTextureFormat==GL_BGRA) in PVRTTextureLoadFromPointer()
1203 case GL_BGRA: in PVRTTextureFormatGetBPP()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_pixel_read.c66 case GL_BGRA: in gl_format_and_type_to_mesa_format()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c66 case GL_BGRA: in gl_format_and_type_to_mesa_format()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp95 …(format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in isDepthFormat()
123 …(format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in isStencilFormat()
151 …(format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in getFormatChannelClass()
315 …= GL_LUMINANCE || texFormat == GL_LUMINANCE_ALPHA || texFormat == GL_ALPHA || texFormat == GL_BGRA) in genDummyTexture()
469 const bool isUnsizedColorFormat = (format == GL_BGRA); in isCoreFilterableFormat()
665 …if (m_texFormat == GL_BGRA && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_for… in init()
2083 …if (m_texFormat == GL_BGRA && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_for… in init()
2315 { "bgra", GL_BGRA, tcu::Sampler::MODE_LAST }, in init()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp151 if (glFormat != GL_RGBA && glFormat != GL_BGRA && glFormat != GL_RGB) in getFormatInfo()
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp871 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()
3909 glVertexAttribIFormat(0, GL_BGRA, GL_INT, 0); in Run()
3919 glVertexAttribLFormat(0, GL_BGRA, GL_DOUBLE, 0); in Run()
3950 glVertexAttribFormat(0, GL_BGRA, GL_FLOAT, GL_TRUE, 0); in Run()
3964 glVertexAttribFormat(0, GL_BGRA, GL_UNSIGNED_BYTE, GL_FALSE, 0); in Run()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c193 if (input->Format == GL_BGRA) { in _tnl_import_array()

123