Chongyun Lee

Results 336 comments of Chongyun Lee

`virpipe` is actually not GPU-based. If I understand correctly, when rendering, GL libraries on the client side (Termux's mesa) will send the commands to the vtest_server, and then, the server...

> @licy183 Can you please take a look? Everything seems to be fine when I use AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM buffers, but if I use buffers with format 5 (HAL_PIXEL_FORMAT_BGRA_8888) I get "Failed...

> Hello. Any updates? Sorry for my late reply. I have no idea about why it happens...

Emmm... According to the Android docs, `format` param should be some value of `AHardwareBuffer_Format`, which doesn't have the choice of `5/0x5`. https://developer.android.com/ndk/reference/struct/a-hardware-buffer-desc Public attributes format uint32_t One of AHardwareBuffer_Format. https://developer.android.google.cn/ndk/reference/group/a-hardware-buffer#ahardwarebuffer_format...

tareksander may be referring this API [EGL_ANDROID_native_fence_sync](https://registry.khronos.org/EGL/extensions/ANDROID/EGL_ANDROID_native_fence_sync.txt), but I don't actually know how to use this...

`numpy==1.26.5` doesn't exist on pypi. By the way, numpy may be upgraded to 2.0 soon.

The same as binutils/bfd. ~~I think it should be reported to llvm-project.~~ It seems that clang/llvm only supports using lld as Android's linker, see https://github.com/llvm/llvm-project/blob/b16d43a874748a496da5cd774dd864c95b78d6b0/clang/lib/Driver/ToolChains/Linux.cpp#L253.

FYI: https://github.com/termux/termux-packages/issues/3719#issuecomment-1110350320

> `ld.lld: error: undefined symbol: AHardwareBuffer_allocate` ? Try `-lnativewindow`.

Try to build them with `-i` option. It is known that `mesa` has build issues without `-i` option, see #21130.