GloDroidCommunity / raspberry-pi

Android 14 for the Raspberry PI 4 series based on the GloDroid project
Apache License 2.0
28 stars 5 forks source link

Enable Vulkan backend for SKIA/HWUI #27

Closed rsglobal closed 10 months ago

rsglobal commented 11 months ago

Mesa3D/v3dv AHB extension support has been landed 1. It's time to migrate the UI to use Vulkan API.

mikegapinski commented 11 months ago

I will prepare a beta build for my testers and report any issues. Can we assume that we'll release this in October? @rsglobal

rsglobal commented 11 months ago

I will prepare a beta build for my testers and report any issues. Can we assume that we'll release this in October? @rsglobal

Sure. No need to hurry. Let's properly test it.

mikegapinski commented 10 months ago

Vulkan interferes with ffmpeg_codec2 - I won't recommend merging this yet

rsglobal commented 10 months ago

Vulkan interferes with ffmpeg_codec2 - I won't recommend merging this yet

I assume that incorrect gralloc selection caused those issues due to wrong debug.stagefright.c2-poolmask. I set it to 0xfffff in #31. I need to test it.

mikegapinski commented 10 months ago

Vulkan interferes with ffmpeg_codec2 - I won't recommend merging this yet

I assume that incorrect gralloc selection caused those issues due to wrong debug.stagefright.c2-poolmask. I set it to 0xfffff in #31. I need to test it.

When doing so try to play a video when scrcpy is active. Some poolmask make the content invisible on screen capture. I had to change it: https://github.com/tesla-android/android-raspberry-pi/commit/26635562c549f1f215cff2de492aca6fda7e0732

rsglobal commented 10 months ago

youtube over scrcpy works

rsglobal commented 10 months ago

I rebased it on top of AVC codec patches. Webview, camera, and gallery apps can display video.