From 1818628ab3130e2591ae9c690a5b44b5f629cc81 Mon Sep 17 00:00:00 2001 From: Andrew0229 Date: Tue, 20 Dec 2022 10:16:35 +0800 Subject: [PATCH 1/2] remove log Change-Id: I4f3236f8dc6e5abf2391793edf176a352abf796e Signed-off-by: Andrew0229 --- src/egl/drivers/dri2/platform_ohos.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/egl/drivers/dri2/platform_ohos.c b/src/egl/drivers/dri2/platform_ohos.c index fedc7966687..93c5b8715b5 100644 --- a/src/egl/drivers/dri2/platform_ohos.c +++ b/src/egl/drivers/dri2/platform_ohos.c @@ -88,8 +88,6 @@ get_native_buffer_fds(struct NativeWindowBuffer *buf, int fds[3]) /* createImageFromFds requires fourcc format */ static int get_fourcc(int native) { - _eglLog(_EGL_WARNING, "get_fourcc native format is %d", native); - switch (native) { // [todo] why? case PIXEL_FMT_ARGB_8888: return DRM_FORMAT_ARGB8888; @@ -455,7 +453,6 @@ get_back_bo(struct dri2_egl_surface *dri2_surf) int bpp = get_format_bpp(bufferHandle->format); - _eglLog(_EGL_WARNING, " Andrew:: bpp format %d, bpp is %d", bufferHandle->format, bpp); pitch = bufferHandle->stride * bpp; if (fourcc == -1 || pitch == 0) { -- Gitee From 0ccc6603a80ef6febb7d6491d3ca3f0c6a89ff7e Mon Sep 17 00:00:00 2001 From: Andrew0229 Date: Tue, 20 Dec 2022 14:23:55 +0800 Subject: [PATCH 2/2] fix build script in aarch64 Change-Id: Icd8724d724132efa49e6a338507c311b31933ab3 Signed-off-by: Andrew0229 --- oewm/build_mesa3d.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oewm/build_mesa3d.py b/oewm/build_mesa3d.py index 81f7c49250f..595118ec2fb 100644 --- a/oewm/build_mesa3d.py +++ b/oewm/build_mesa3d.py @@ -45,6 +45,8 @@ os.environ['PKG_CONFIG_PATH'] = pkgconf_dir # Check platform if platform == "x86_64": target_platform_name = "x86_64" +elif platform == "aarch64": + target_platform_name = "aarch64" else: print(F"\033[91m[!] mesa building: Not support platform `{platform}` yet.\033[0m") sys.exit(-1) -- Gitee