freiling fa9001447d [fuchsia] shader warmup fixes (flutter/engine#22439)
This change contains a couple of changes that should have been in
github.com/flutter/engine/commit/4903a92b2b16e480c486965f6c102f335f1a4ecb
but fell through the cracks

First one lifts the initialization of the flutter::RunConfiguration so that
the asset manager gets set on the persistant cache before the shader
warmup happens. I'm not sure how this didnt end up in the first PR I
think it got mangled during merge conflict resolution. no test coverage
for that code because its in the middle of a 400 line constructor

Second one fixes a race condition that the tests dont catch because the
tests are single threaded. This change restructures the test that missed
this bug so that it would have caught that bug and will catch comparable
bugs.
2020-11-19 19:46:13 -08:00
..