Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

advertise EGL_MESA_platform_gbm client extension #8

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kwiboo
Copy link
Member

@Kwiboo Kwiboo commented May 1, 2019

This PR changes EGL_EXT_client_extensions to advertise EGL_MESA_platform_gbm (EGL 1.4) instead of EGL_KHR_platform_gbm (EGL 1.5).

A hex editor was used to modify the blobs, a padding 00-byte was repurposed to fit the extra byte needed.

t76x and t86x is unchanged as they advertise both EGL_KHR_platform_gbm and EGL_MESA_platform_gbm.

This has been tested on 450, g31 and g52, needs to be tested on 400 (H3), t620 (XU4) and t720 (H6) before it is ready to be merged.

Changes

aarch64-linux-gnu/libmali-utgard-450-r7p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_MESA_platform_gbm

aarch64-linux-gnu/libmali-bifrost-g31-r16p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm

aarch64-linux-gnu/libmali-bifrost-g52-r16p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm

arm-linux-gnueabihf/libmali-utgard-400-r7p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_MESA_platform_gbm

arm-linux-gnueabihf/libmali-utgard-450-r7p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_MESA_platform_gbm

arm-linux-gnueabihf/libmali-midgard-t620-r12p0-wayland-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm EGL_EXT_platform_wayland

arm-linux-gnueabihf/libmali-midgard-t720-r18p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm

arm-linux-gnueabihf/libmali-bifrost-g31-r16p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm

arm-linux-gnueabihf/libmali-bifrost-g52-r16p0-gbm.so
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm

@chewitt
Copy link
Member

chewitt commented Apr 30, 2020

@Kwiboo I tested t620 (XU4) and this works fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants