Files
flutter/engine
Brandon DeRosier 61b006d0ed [Impeller] Add a way to query the gfx backend type. (flutter/engine#43837)
I've been trying to avoid this, but since the context type may vary
through runtime decisions, we just need something like this to select
which shader data to pull from the Dart GPU bundle at runtime. One
alternative would be to add a special omni shader concept to the HAL,
but that seems worse than just letting renderers key with a backend enum
sometimes.

Cautioned against using it for cap checks in the doc string.
2023-07-21 13:11:32 -07:00
..