JiangYizhou / aquarium-test

BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Support basic support of building Aquarium on ANGLE with GN #15

Closed Jiawei-Shao closed 5 years ago

Jiawei-Shao commented 5 years ago

This patch adds basic support of building Aquarium on latest ANGLE with GN.

The support is not perfect and still needs several extra steps:

  1. Aquarium ANGLE backend cannot be co-existed with Dawn or OpenGL backend now because of conflicts in GL headers. So you should add "enable_angle = true" when running 'gn args out/ANGLE', which means disabling the Dawn and OpenGL backend.
  2. Set 'angle_root' to 'third_party/angle' in 'third_party/angle/gni/angle.gni'
  3. In 'gn args out/ANGLE', ANGLE Vulkan backend has to be disabled because of conflicts on Vulkan libraries in Dawn
    • Add "angle_enable_vulkan = false" when running 'gn args out/ANGLE'

Here are known issues:

  1. The screen unexpectedly blinks on Aquarium on ANGLE.
  2. Aquarium on ANGLE fails to build on macOS and Linux.