[Lima] GLES Extensions Support?

Erico Nunes nunes.erico at gmail.com
Wed Sep 1 15:07:03 UTC 2021


On Wed, Sep 1, 2021 at 3:46 PM <soonts at gmail.com> wrote:
>
> Hi.
>
> Which optional GLES extensions are supported by this driver when running on
> Mali 400 MP2 GPU?
>
> So far, I'm interested in GL_OES_mapbuffer, EXT_discard_framebuffer, and
> EXT_multisampled_render_to_texture extensions.
> I also need EGL_EXT_image_dma_buf_import and GL_OES_EGL_image_external
> extensions.
>
> A list of the supported ones would be nice.

With mesa 21.2.0:

$ es2_info
EGL_VERSION: 1.4
EGL_VENDOR: Mesa Project
EGL_EXTENSIONS:
    EGL_ANDROID_blob_cache, EGL_ANDROID_native_fence_sync,
    EGL_CHROMIUM_sync_control, EGL_EXT_buffer_age,
    EGL_EXT_image_dma_buf_import, EGL_EXT_image_dma_buf_import_modifiers,
    EGL_EXT_swap_buffers_with_damage, EGL_KHR_cl_event2,
    EGL_KHR_config_attribs, EGL_KHR_create_context,
    EGL_KHR_create_context_no_error, EGL_KHR_fence_sync,
    EGL_KHR_get_all_proc_addresses, EGL_KHR_gl_colorspace,
    EGL_KHR_gl_renderbuffer_image, EGL_KHR_gl_texture_2D_image,
    EGL_KHR_gl_texture_3D_image, EGL_KHR_gl_texture_cubemap_image,
    EGL_KHR_image, EGL_KHR_image_base, EGL_KHR_image_pixmap,
    EGL_KHR_no_config_context, EGL_KHR_partial_update, EGL_KHR_reusable_sync,
    EGL_KHR_surfaceless_context, EGL_KHR_swap_buffers_with_damage,
    EGL_EXT_pixel_format_float, EGL_KHR_wait_sync,
    EGL_MESA_configless_context, EGL_MESA_drm_image,
    EGL_MESA_image_dma_buf_export, EGL_MESA_query_driver,
    EGL_NOK_texture_from_pixmap
EGL_CLIENT_APIS: OpenGL OpenGL_ES
GL_VERSION: OpenGL ES 2.0 Mesa 21.2.0
GL_RENDERER: Mali450
GL_EXTENSIONS:
    GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays,
    GL_EXT_texture_format_BGRA8888, GL_OES_compressed_ETC1_RGB8_texture,
    GL_OES_depth24, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
    GL_OES_mapbuffer, GL_OES_rgb8_rgba8, GL_OES_standard_derivatives,
    GL_OES_stencil8, GL_OES_texture_3D, GL_OES_texture_half_float,
    GL_OES_texture_half_float_linear, GL_OES_texture_npot,
    GL_OES_vertex_half_float, GL_OES_EGL_image, GL_OES_depth_texture,
    GL_OES_packed_depth_stencil, GL_OES_get_program_binary,
    GL_APPLE_texture_max_level, GL_EXT_discard_framebuffer,
    GL_EXT_read_format_bgra, GL_EXT_frag_depth, GL_NV_fbo_color_attachments,
    GL_OES_EGL_image_external, GL_OES_EGL_sync, GL_OES_vertex_array_object,
    GL_ANGLE_pack_reverse_row_order, GL_EXT_occlusion_query_boolean,
    GL_EXT_texture_rg, GL_EXT_unpack_subimage, GL_NV_draw_buffers,
    GL_NV_read_buffer, GL_NV_read_depth, GL_NV_read_depth_stencil,
    GL_NV_read_stencil, GL_EXT_draw_buffers, GL_EXT_map_buffer_range,
    GL_KHR_debug, GL_KHR_texture_compression_astc_ldr,
    GL_NV_pixel_buffer_object, GL_OES_required_internalformat,
    GL_OES_surfaceless_context, GL_EXT_separate_shader_objects,
    GL_EXT_compressed_ETC1_RGB8_sub_texture, GL_EXT_draw_elements_base_vertex,
    GL_EXT_texture_border_clamp, GL_KHR_context_flush_control,
    GL_OES_draw_elements_base_vertex, GL_OES_texture_border_clamp,
    GL_KHR_no_error, GL_KHR_texture_compression_astc_sliced_3d,
    GL_KHR_parallel_shader_compile, GL_MESA_bgra

$ eglinfo
EGL client extensions string:
    EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query
    EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
    EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device
    EGL_EXT_platform_wayland EGL_KHR_platform_wayland
    EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb
    EGL_MESA_platform_gbm EGL_KHR_platform_gbm
    EGL_MESA_platform_surfaceless

GBM platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2
    EGL_KHR_config_attribs EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
    EGL_KHR_no_config_context EGL_KHR_partial_update
    EGL_KHR_reusable_sync EGL_KHR_surfaceless_context
    EGL_EXT_pixel_format_float EGL_KHR_wait_sync
    EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_WL_bind_wayland_display
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x34325241--         y  y  y     win
0x02 32  0  8  8  8  8 24  0  0 0 0x34325241--         y  y  y     win
0x03 32  0  8  8  8  8 24  8  0 0 0x34325241--         y  y  y     win
0x04 32  0  8  8  8  8  0  0  4 1 0x34325241--         y  y  y     win
0x05 32  0  8  8  8  8 24  0  4 1 0x34325241--         y  y  y     win
0x06 32  0  8  8  8  8 24  8  4 1 0x34325241--         y  y  y     win
0x07 24  0  8  8  8  0  0  0  0 0 0x34325258--         y  y  y     win
0x08 24  0  8  8  8  0 24  0  0 0 0x34325258--         y  y  y     win
0x09 24  0  8  8  8  0 24  8  0 0 0x34325258--         y  y  y     win
0x0a 24  0  8  8  8  0  0  0  4 1 0x34325258--         y  y  y     win
0x0b 24  0  8  8  8  0 24  0  4 1 0x34325258--         y  y  y     win
0x0c 24  0  8  8  8  0 24  8  4 1 0x34325258--         y  y  y     win
0x0d 16  0  5  6  5  0  0  0  0 0 0x36314752--         y  y  y     win
0x0e 16  0  5  6  5  0 16  0  0 0 0x36314752--         y  y  y     win
0x0f 16  0  5  6  5  0  0  0  4 1 0x36314752--         y  y  y     win
0x10 16  0  5  6  5  0 16  0  4 1 0x36314752--         y  y  y     win

Wayland platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2
    EGL_KHR_config_attribs EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_partial_update
    EGL_KHR_reusable_sync EGL_KHR_surfaceless_context
    EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
    EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x00--         y  y  y     win
0x02 32  0  8  8  8  8 24  0  0 0 0x00--         y  y  y     win
0x03 32  0  8  8  8  8 24  8  0 0 0x00--         y  y  y     win
0x04 32  0  8  8  8  8  0  0  4 1 0x00--         y  y  y     win
0x05 32  0  8  8  8  8 24  0  4 1 0x00--         y  y  y     win
0x06 32  0  8  8  8  8 24  8  4 1 0x00--         y  y  y     win
0x07 24  0  8  8  8  0  0  0  0 0 0x00--         y  y  y     win
0x08 24  0  8  8  8  0 24  0  0 0 0x00--         y  y  y     win
0x09 24  0  8  8  8  0 24  8  0 0 0x00--         y  y  y     win
0x0a 24  0  8  8  8  0  0  0  4 1 0x00--         y  y  y     win
0x0b 24  0  8  8  8  0 24  0  4 1 0x00--         y  y  y     win
0x0c 24  0  8  8  8  0 24  8  4 1 0x00--         y  y  y     win
0x0d 16  0  5  6  5  0  0  0  0 0 0x00--         y  y  y     win
0x0e 16  0  5  6  5  0 16  0  0 0 0x00--         y  y  y     win
0x0f 16  0  5  6  5  0  0  0  4 1 0x00--         y  y  y     win
0x10 16  0  5  6  5  0 16  0  4 1 0x00--         y  y  y     win

X11 platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_CHROMIUM_sync_control EGL_EXT_buffer_age
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2
    EGL_KHR_config_attribs EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
    EGL_KHR_no_config_context EGL_KHR_partial_update
    EGL_KHR_reusable_sync EGL_KHR_surfaceless_context
    EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
    EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_NOK_texture_from_pixmap
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x3aTC      a  y  y  y     win,pb,pix
0x02 32  0  8  8  8  8 24  0  0 0 0x3aTC      a  y  y  y     win,pb,pix
0x03 32  0  8  8  8  8 24  8  0 0 0x3aTC      a  y  y  y     win,pb,pix
0x04 32  0  8  8  8  8  0  0  4 1 0x3aTC      a  y  y  y     win,pix
0x05 32  0  8  8  8  8 24  0  4 1 0x3aTC      a  y  y  y     win,pix
0x06 32  0  8  8  8  8 24  8  4 1 0x3aTC      a  y  y  y     win,pix
0x07 24  0  8  8  8  0  0  0  0 0 0x3aTC      y  y  y  y     win,pb,pix
0x08 24  0  8  8  8  0 24  0  0 0 0x3aTC      y  y  y  y     win,pb,pix
0x09 24  0  8  8  8  0 24  8  0 0 0x3aTC      y  y  y  y     win,pb,pix
0x0a 24  0  8  8  8  0  0  0  4 1 0x3aTC      y  y  y  y     win,pix
0x0b 24  0  8  8  8  0 24  0  4 1 0x3aTC      y  y  y  y     win,pix
0x0c 24  0  8  8  8  0 24  8  4 1 0x3aTC      y  y  y  y     win,pix
0x0d 32  0  8  8  8  8  0  0  0 0 0x3bDC      a  y  y  y     win,pb,pix
0x0e 32  0  8  8  8  8 24  0  0 0 0x3bDC      a  y  y  y     win,pb,pix
0x0f 32  0  8  8  8  8 24  8  0 0 0x3bDC      a  y  y  y     win,pb,pix
0x10 32  0  8  8  8  8  0  0  4 1 0x3bDC      a  y  y  y     win,pix
0x11 32  0  8  8  8  8 24  0  4 1 0x3bDC      a  y  y  y     win,pix
0x12 32  0  8  8  8  8 24  8  4 1 0x3bDC      a  y  y  y     win,pix
0x13 24  0  8  8  8  0  0  0  0 0 0x3bDC      y  y  y  y     win,pb,pix
0x14 24  0  8  8  8  0 24  0  0 0 0x3bDC      y  y  y  y     win,pb,pix
0x15 24  0  8  8  8  0 24  8  0 0 0x3bDC      y  y  y  y     win,pb,pix
0x16 24  0  8  8  8  0  0  0  4 1 0x3bDC      y  y  y  y     win,pix
0x17 24  0  8  8  8  0 24  0  4 1 0x3bDC      y  y  y  y     win,pix
0x18 24  0  8  8  8  0 24  8  4 1 0x3bDC      y  y  y  y     win,pix


More information about the lima mailing list