Home
last modified time | relevance | path

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

123

/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/state_tracker/
Dst_format.c768 { GL_BGRA, 0 },
1445 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, PIPE_FORMAT_A8R8G8B8_UNORM },
1446 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, PIPE_FORMAT_B8G8R8A8_UNORM },
1449 { GL_BGRA, GL_UNSIGNED_BYTE, PIPE_FORMAT_B8G8R8A8_UNORM },
1455 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, PIPE_FORMAT_X8R8G8B8_UNORM },
1456 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, PIPE_FORMAT_B8G8R8X8_UNORM },
1457 { GL_BGRA, GL_UNSIGNED_BYTE, PIPE_FORMAT_B8G8R8X8_UNORM },
1471 { GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV, PIPE_FORMAT_B10G10R10A2_UNORM },
1642 internalFormat == GL_BGRA; in st_ChooseTextureFormat()
Dst_atom_array.c220 assert(format == GL_RGBA || format == GL_BGRA); in st_pipe_vertex_format()
227 if (format == GL_BGRA) { in st_pipe_vertex_format()
254 if (format == GL_BGRA) { in st_pipe_vertex_format()
/external/mesa3d/src/mesa/main/
Dglformats.c203 case GL_BGRA: in _mesa_components_in_format()
264 if (format == GL_RGBA || format == GL_BGRA || format == GL_ABGR_EXT || in _mesa_bytes_per_pixel()
273 if (format == GL_RGBA || format == GL_BGRA || format == GL_ABGR_EXT || in _mesa_bytes_per_pixel()
503 case GL_BGRA: in _mesa_is_color_format()
872 case GL_BGRA: in _mesa_base_format_to_integer_format()
1057 format == GL_BGRA || in _mesa_error_check_format_and_type()
1212 case GL_BGRA: in _mesa_error_check_format_and_type()
Dformats.c2615 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8_REV && in _mesa_format_matches_format_and_type()
2619 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes) in _mesa_format_matches_format_and_type()
2622 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type()
2628 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes) in _mesa_format_matches_format_and_type()
2631 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8_REV && in _mesa_format_matches_format_and_type()
2635 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type()
2665 return format == GL_BGRA && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && in _mesa_format_matches_format_and_type()
2676 return format == GL_BGRA && type == GL_UNSIGNED_SHORT_1_5_5_5_REV && in _mesa_format_matches_format_and_type()
2734 return format == GL_BGRA && type == GL_UNSIGNED_INT_2_10_10_10_REV && in _mesa_format_matches_format_and_type()
Dpack.c410 case GL_BGRA: in get_component_indexes()
614 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
645 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
676 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
707 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
738 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
769 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
800 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
831 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_uints()
1001 else if ((dstFormat == GL_BGRA) || (dstFormat == GL_BGRA_INTEGER)) { in _mesa_pack_rgba_span_from_ints()
[all …]
Dframebuffer.c783 case GL_BGRA: in renderbuffer_exists()
875 return GL_BGRA; in _mesa_get_color_read_format()
Dtexstorage.c259 case GL_BGRA: in tex_storage_error_check()
/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/mesa3d/src/glx/
Dcompsize.c79 case GL_BGRA: in __glElementsPerGroup()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel.c142 type == GL_UNSIGNED_BYTE) && format == GL_BGRA) { in intel_check_blit_format()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel.c142 type == GL_UNSIGNED_BYTE) && format == GL_BGRA) { in intel_check_blit_format()
Dintel_tex_image.c116 return (format == GL_BGRA && (type == GL_UNSIGNED_BYTE || in check_pbo_format()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel.c142 type == GL_UNSIGNED_BYTE) && format == GL_BGRA) { in intel_check_blit_format()
Dintel_tex_image.c116 return (format == GL_BGRA && (type == GL_UNSIGNED_BYTE || in check_pbo_format()
/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/nouveau/
Dnouveau_screen.c60 { GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV }, in nouveau_get_configs()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c66 case GL_BGRA: in gl_format_and_type_to_mesa_format()
/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/gallium/state_trackers/dri/common/
Ddri_screen.c196 configs_a8r8g8b8 = driCreateConfigs(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, in dri_fill_in_modes()
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_screen.c196 configs_a8r8g8b8 = driCreateConfigs(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, in dri_fill_in_modes()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp151 if (glFormat != GL_RGBA && glFormat != GL_BGRA && glFormat != GL_RGB) in getFormatInfo()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_screen.c196 configs_a8r8g8b8 = driCreateConfigs(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, in dri_fill_in_modes()

123