skia_safe/gpu/ganesh/
driver_bug_workarounds.rs

1pub use skia_bindings::GrDriverBugWorkarounds as DriverBugWorkarounds;
2#[test]
3fn test_driver_bug_workarounds_naming() {
4    fn _n(workarounds: &DriverBugWorkarounds) {
5        let _ = workarounds.max_fragment_uniform_vectors_32;
6    }
7}
8
9pub trait ApplyOverrides {
10    fn apply_overrides(&mut self, workarounds: &DriverBugWorkarounds);
11}
12
13impl ApplyOverrides for DriverBugWorkarounds {
14    fn apply_overrides(&mut self, workarounds: &DriverBugWorkarounds) {
15        unsafe { self.applyOverrides(workarounds) }
16    }
17}