Skip to content

Commit 2f6acd5

Browse files
committed
add render backend define
1 parent 50c3bf4 commit 2f6acd5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/capi/scdef.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@ pub enum GFX_LAYER
7474

7575
/// Skia backend with OpenGL rendering.
7676
SKIA_OPENGL = 5,
77+
78+
SKIA_VULKAN = 6,
79+
80+
#[cfg(target_os = "macos")]
81+
SKIA_METAL = 7,
82+
83+
/// A hardware Direct2D mode (Windows only).
84+
#[cfg(windows)]
85+
SKIA_DX12 = 8,
86+
7787
}
7888

7989
#[repr(C)]

0 commit comments

Comments
 (0)