110367dcfc
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> |
||
---|---|---|
.. | ||
Makefile | ||
package-lock.json | ||
package.json | ||
run-wasm-gm-tests.html | ||
run-wasm-gm-tests.js |