/SharedTexture

Multi-process sharing of OpenGL textures on Android, based on HardwareBuffer

Primary LanguageJavaMIT LicenseMIT

SharedTexture

This project is a demo for multi-process sharing of OpenGL textures on Android, based on HardwareBuffer, supporting Android 8.0 and above, the two main functions are HardwareBuffer-based texture sharing and EGLSyncKHR-based cross-process synchronization. for more detail, see https://robot9.me/hardwarebuffer-multi-process-rendering/

License

This code is licensed under the MIT License (see LICENSE).