commit | b5e8e34ca0f3a355ef5a7ca63a591a27010ecd9c | [log] [tgz] |
---|---|---|
author | John Stiles <[email protected]> | Tue Aug 22 14:59:00 2023 -0400 |
committer | SkCQ <[email protected]> | Tue Aug 22 19:03:21 2023 +0000 |
tree | 53814b5c23f267a14253bd922e38592dfd6062c3 | |
parent | 9f4b81aac17518742d0e7ed2049c8e1997b3d4f9 [diff] |
Add support for Graphite unit tests that modify context options. We now have a GraphiteContextOptionsProc which is functionally equivalent to GaneshContextOptionsProc, but works with Graphite unit tests. This will allow certain Graphite unit tests to force options on. I will use this in a followup CL to force on WGSL code generation in Dawn for the SkSL unit tests. Change-Id: Ie20e23f04aad36da5d5582d9f13b2a3467eee447 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/745616 Commit-Queue: Brian Osman <[email protected]> Auto-Submit: John Stiles <[email protected]> Reviewed-by: Brian Osman <[email protected]>