Which source code the SDK/emulator/lib64/gles_swiftshader/*.so were generated by?

13 views
Skip to first unread message

Martin

unread,
Aug 3, 2021, 5:43:32 AMAug 3
to swiftshader
Hi all ,
when I start a emulator
emualtor -avd avd_name -gpu swiftshader_indirect
the program will add library search path   "sdk/emulator/lib64/gles_swiftshader"
In order to realise the GPU software  emulation, the program will use the /gles_swiftshade/*.so
on the emu-master-dev branch of AOSP, I find the prbuilts  library of swiftshader in /external/android-emulator-build/common/swiftshader.
The prebuilt source packages are stored in /prebuilts/android-emulator-build/archive/, but the PACKAGES.TXT does not record the download address of swiftshader.
SO,  I have a doubt whether the SDK/emulator/lib64/gles_swiftshade/*.so  were generated by the source cod in AOSP/external/swiftshader ?

Nicolas Capens

unread,
Aug 3, 2021, 9:54:15 AMAug 3
to Martin, swiftshader
Hi Martin,

I'm not directly involved with Android Emulator development, so I don't have a definitive answer, but it's probably worth noting that the "source of truth" repository for SwiftShader is https://swiftshader.googlesource.com/SwiftShader.

The downstream https://android.googlesource.com/platform/external/swiftshader repository has only recently been made to follow the soure-of-truth closely, for the main branch. Other branches can have much older versions. Specifically, https://android.googlesource.com/platform/external/swiftshader/+/refs/heads/emu-master-dev was last updated on November 19, 2018.

I'd also like to reiterate that the OpenGL ES code is deprecated and unmaintained (all build targets were removed from AOSP recently). Only "SwANGLE" (ANGLE + SwiftShader Vulkan) is supported by Google.

Good luck,
Nicolas

--
You received this message because you are subscribed to the Google Groups "swiftshader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swiftshader...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swiftshader/08913657-ba22-46aa-9955-3401b018a4b9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages