Add a wrapper for SwiftShader EGL, GLESv1_CM and GLESv3.

SwiftShader has problems with multithreaded use of the EGL and GL ES
APIs. Until this is fixed properly, disallow multiple threads being
inside the library by wrapping it with libraries that share a mutex
locking each API entry point.

Bug: 76027192
Bug: 74573450
Bug: 74572414
Bug: 74571771
Bug: 73780279
Test: this change is completely untested
Change-Id: I2c5fd3e2b4c716b467a22dbd63547c5f0d32a25a
(cherry picked from commit 0fca81c7143bfcceb81c2fb977d7ceab959f8e74)
34 files changed
tree: be0cab07f3404327fe9574cd6de117d4711d23d2
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS