Home
last modified time | relevance | path

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

123

/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()
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()
1484 return GL_BGRA; in _mesa_unpack_format_to_base_format()
[all …]
Dframebuffer.c713 case GL_BGRA: in renderbuffer_exists()
858 return GL_BGRA; in _mesa_get_color_read_format()
/external/OpenCL-CTS/test_common/gles/
Dgl_headers.h50 #define GL_BGRA GL_BGRA_EXT macro
64 #define GL_BGRA GL_BGRA_EXT macro
Dhelpers.cpp155 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture2D()
242 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture3D()
554 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLRenderbuffer()
631 case GL_BGRA: in GetGLFormat()
831 case GL_BGRA: return "GL_BGRA"; in GetGLBaseFormatName()
894 case GL_BGRA: return "GL_BGRA"; in GetGLFormatName()
/external/virglrenderer/src/
Dvrend_formats.c60 { VIRGL_FORMAT_A8R8G8B8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, NO_SWIZZLE },
61 { VIRGL_FORMAT_X8R8G8B8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, NO_SWIZZLE },
65 { VIRGL_FORMAT_B4G4R4X4_UNORM, GL_RGBA4, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4_REV, RGB1_SWIZZLE },
67 … { VIRGL_FORMAT_B5G5R5X1_UNORM, GL_RGB5_A1, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV, RGB1_SWIZZLE },
79 { VIRGL_FORMAT_B4G4R4A4_UNORM, GL_RGBA4, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4_REV, NO_SWIZZLE },
80 { VIRGL_FORMAT_B5G5R5A1_UNORM, GL_RGB5_A1, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV, NO_SWIZZLE },
300 …{ VIRGL_FORMAT_B10G10R10X2_UNORM, GL_RGB10_A2, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV, RGB1_SWIZZ…
301 …{ VIRGL_FORMAT_B10G10R10A2_UNORM, GL_RGB10_A2, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV, NO_SWIZZLE…
324 { VIRGL_FORMAT_B8G8R8X8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, RGB1_SWIZZLE },
325 { VIRGL_FORMAT_B8G8R8A8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, NO_SWIZZLE },
[all …]
/external/webrtc/test/gl/
Dgl_renderer.cc69 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 OnFrame()
/external/OpenCL-CTS/test_common/gl/
Dhelpers.cpp110 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture1DArray()
127 else if( glType == GL_UNSIGNED_INT_8_8_8_8 && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture1DArray()
226 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture2DArray()
244 else if( glType == GL_UNSIGNED_INT_8_8_8_8 && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture2DArray()
323 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTextureBuffer()
340 else if( glType == GL_UNSIGNED_INT_8_8_8_8 && glFormat == GL_BGRA && allocateMem ) in CreateGLTextureBuffer()
432 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture1D()
449 else if( glType == GL_UNSIGNED_INT_8_8_8_8 && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture1D()
612 if( glType == GL_UNSIGNED_INT_8_8_8_8_REV && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture2D()
630 else if( glType == GL_UNSIGNED_INT_8_8_8_8 && glFormat == GL_BGRA && allocateMem ) in CreateGLTexture2D()
[all …]
/external/OpenCL-CTS/test_conformance/gl/
Dcommon.h38 { GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, kUChar },
39 { GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar },
Dtest_renderbuffer.cpp170 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_renderbuffer_read()
387 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_renderbuffer_write()
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp52 …{GL_RGB, GL_UNSIGNED_BYTE, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV …
53 …{GL_BGRA_EXT, GL_UNSIGNED_BYTE, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV …
54 …{GL_RGB10_A2, GL_UNSIGNED_INT_2_10_10_10_REV, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV…
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c309 if (glformat->Format == GL_BGRA) { in brw_get_vertex_surface_type()
333 return glformat->Format == GL_BGRA in brw_get_vertex_surface_type()
341 return glformat->Format == GL_BGRA in brw_get_vertex_surface_type()
358 return glformat->Format == GL_BGRA in brw_get_vertex_surface_type()
366 return glformat->Format == GL_BGRA in brw_get_vertex_surface_type()
/external/angle/src/libANGLE/
Dformat_map_desktop.cpp33 case GL_BGRA: in ValidDesktopFormat()
/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.c82 case GL_BGRA: in __glElementsPerGroup()
/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 },
2826 format.format == GL_BGR || format.format == GL_BGRA || format.format == GL_RED_INTEGER || in getBits()
[all …]
/external/webrtc/modules/desktop_capture/linux/wayland/
Degl_dmabuf.cc586 GLenum gl_format = GL_BGRA; in ImageFromDmaBuf()
595 gl_format = GL_BGRA; in ImageFromDmaBuf()
598 gl_format = GL_BGRA; in ImageFromDmaBuf()
/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/OpenCL-CTS/test_conformance/gles/
Dtest_images_2D.cpp295 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_images_read_cube()
577 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_images_write()
676 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_images_write_cube()
Dtest_images_3D_info.cpp99 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_images_3D_getinfo()
Dtest_images_2D_info.cpp181 { GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, kUChar }, in test_images_cube_getinfo()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c204 { GL_BGRA, 0 },
1280 internalFormat == GL_BGRA || in st_ChooseTextureFormat()
1301 if (iformat == GL_BGRA) in st_ChooseTextureFormat()
/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/mesa3d/docs/relnotes/
D10.1.6.rst81 - mesa: Make glGetIntegerv(GL_*_ARRAY_SIZE) return GL_BGRA.
/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm49 {GL_RGB, GL_UNSIGNED_BYTE, GL_RGBA, GL_BGRA, GL_UNSIGNED_BYTE },
50 {GL_BGRA_EXT, GL_UNSIGNED_BYTE, GL_RGBA, GL_BGRA, GL_UNSIGNED_BYTE },

123