1. fixup time consuming on glclear, cause by dri2
2. fixup mmap failed, pixmap egl image must use gbm map
3. Use env RK_MALI_SURFACELESS_DISABLE to disable EGL_KHR_surfaceless_context
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I099343c4f82872420dfb34c3926beb6fa1ec0753
disable cache on DRM_IOCTL_MODE_CREATE_DUMB, on gbm_bo_create
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I6956c6943eab5c81b8d583b257e6a7d7154fbc1d
Add EGL_KHR_surfaceless_context support for GLES1 | GLES2 bit
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I6674c2372a977fdb2b0cdbb77ed32f764ad33eb2
Compared to g13p0-01eac0-6, the following changes are made:
- GBM: YUV format and wl_buffer importation support
- F: wayland: from 陈渐飞: Fix 2 bugs
Change-Id: I806f63818b3a75e61bba951440ae97817fdf1f5c
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
run `./scripts/normalize.sh`
note: The required patchelf version on PC.
patchelf > 0.9
Change-Id: I57b4ef6fd7c4b11e47df4a9a10e93e989d8d09d1
Signed-off-by: Jacob Chen <cc@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Include following changes:
gbm/wayland: add USE_RK_DRM to close authorize and busid
wayland: 移除wayland_server中对"authorize_allocator"接口的调用.
Change-Id: If1f396a6bc4c582ecd214bf8d9241bb7cdbbf2e6
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Major changes:
1/ Allow mixed platforms, e.g. x11-wayland-gbm.
2/ Move extra features, e.g. without-cl, from subversion to platform.
3/ Rename all libraries with GBM API to libmali-*-gbm.so
Change-Id: I9364f8298080788b41c5f3a3cf69aec9a2859ff5
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
1/ Support eglCreateImageKHR() with EGL_WAYLAND_BUFFER_WL.
2/ Fix crash when cleanup resources after eglTerminate().
Change-Id: I1d5f3f9a44f091e5bae2982348956bc10ff2bab9
Signed-off-by: Putin Lee <putin.li@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
It was built with gcc-linaro-4.9.4 as other libmali for g610 here.
Change-Id: I227599e28814ce31d3962368a5d741904e9a08dc
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
These libraries depends on new glibc and libstdc++(with GCC 10.3), which
is unusable for old systems.
Let's drop them, and replace with proper ones(with GCC 4.9) later.
Change-Id: Ia723592bfd5369811a306cad1d832773cd62284e
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Compared to version g6p0-01eac0-5, there is following important change:
1. wayland: 移除wayland_server中对"authorize_allocator"接口的调用.
Change-Id: I759a7321b3c824bd26e952c66eec120fdea6f64c
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Some pre-built mali libraries would have local symbol issue:
readelf -s <libmali.so>:
Warning: local symbol 9 found at index >= .dynsym's sh_info value of 9
Let's use lief to increase .dynsym section's sh_info to workaround it.
Change-Id: Icf2037824d9c1312c5b24b982f628319a118988a
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>