Commit Graph

16 Commits

Author SHA1 Message Date
Ziyang Zhou
6247210078 [mesa3d] upgrade -> 22.3.3 2023-01-12 15:38:17 +08:00
Ziyang Zhou
64dc946ce0 [minigbm] upgrade -> 4c63ec5 2023-01-12 14:20:33 +08:00
Ziyang Zhou
2480fd6ab0 mesa3d 22.2.1 -> 22.3.1 2022-12-16 20:13:57 +08:00
Ziyang Zhou
1961137721 refine redroid hwcomposer HAL 2022-12-08 09:48:42 +08:00
Ziyang Zhou
b9445b37a1 add audio.primary.redroid HAL 2022-12-08 09:45:57 +08:00
Ziyang Zhou
b396cc8a2d add hwcomposer.redroid 2022-10-27 18:08:30 +08:00
Ziyang Zhou
bec3d5bb5d update gbm_gralloc
use a8874a18ad7884ea713f45047efad080fe973712 with patch:
```
diff --git a/gralloc_gbm.cpp b/gralloc_gbm.cpp
index f0dd0fe..2804be8 100644
--- a/gralloc_gbm.cpp
+++ b/gralloc_gbm.cpp
@@ -268,6 +268,7 @@ struct gbm_bo *gralloc_gbm_bo_from_handle(buffer_handle_t handle)
        return gbm_bo_handle_map[handle];
 }

+#define DIV_ROUND_UP(n, d) (((n) + (d)-1) / (d))
 static int gbm_map(buffer_handle_t handle, int enable_write, void **addr)
 {
        int err = 0;
@@ -282,7 +283,7 @@ static int gbm_map(buffer_handle_t handle, int enable_write, void **addr)
        if (enable_write)
                flags |= GBM_BO_TRANSFER_WRITE;

-       *addr = gbm_bo_map(bo, 0, 0, gbm_bo_get_width(bo), gbm_bo_get_height(bo),
+       *addr = gbm_bo_map(bo, 0, 0, DIV_ROUND_UP(gbm_bo_get_stride(bo), gbm_bo_get_bpp(bo) / 8), gbm_bo_get_height(bo),
                           flags, &stride, &bo_data->map_data);
        ALOGV("mapped bo %p at %p", bo, *addr);
        if (*addr == NULL)
```
2022-10-24 19:35:55 +08:00
Ziyang Zhou
9028b5c617 mesa3d 22.1.5 -> 22.2.1 2022-10-24 19:35:55 +08:00
Ziyang Zhou
796d5fd79e mesa3d 22.1.5 -> 22.2.0 2022-09-22 15:10:48 +08:00
Ziyang Zhou
d2bc1b7bc5 Revert "mesa3d 22.1.5 -> 22.2.0-rc3"
This reverts commit fb7a137d2a.
2022-08-30 17:00:17 +08:00
Ziyang Zhou
fb7a137d2a mesa3d 22.1.5 -> 22.2.0-rc3 2022-08-29 15:27:05 +08:00
Ziyang Zhou
f33383b0f8 fix remote-android/redroid-doc#205 fix vulkan and upgrade to 22.1.5
missing platform-sdk-version var
2022-08-05 19:13:17 +08:00
Ziyang Zhou
829ddb19d3 mesa3d 22.1.4 2022-07-21 19:27:13 +08:00
Ziyang Zhou
67ba0cb391 add gralloc.gbm 2022-07-07 20:11:23 +08:00
Ziyang Zhou
1ddba44375 upgrade mesa3d to 22.1.3 2022-07-07 20:11:23 +08:00
Ziyang Zhou
7b6ae28f7f Wed May 4 15:25:00 2022 +0800 2022-05-14 01:33:13 +08:00