skia2/tools/run-wasm-gm-tests
Nathaniel Nifong 110367dcfc Fix most remaining wasm gm unit tests by correctly providing gl context
The basic problem was that WasmContextInfo shadowed non-virtual members
of ContextInfo. the tests, which work with that type, end up calling the
super class's methods which return null for directContext()

The context created and stored in WasmContextInfo would have worked if it
could be returned, but I've opted to go with what looks like a more
canonical way to test a new backend, that is to create a platform-
specific subclass of GLTestContext, and let GrContextFactory create the
GL context.

Bug:skia:10869

Change-Id: Ie9e1142cf2e7268242ff9aab70f76151714850a3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/355116
Commit-Queue: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2021-01-21 20:46:19 +00:00
..
Makefile fix a few failing gm tests in wasm 2021-01-09 02:48:38 +00:00
package-lock.json
package.json
run-wasm-gm-tests.html Fix most remaining wasm gm unit tests by correctly providing gl context 2021-01-21 20:46:19 +00:00
run-wasm-gm-tests.js fix a few failing gm tests in wasm 2021-01-09 02:48:38 +00:00