1 | use skia_bindings as sb; |
2 | |
3 | mod backend_context; |
4 | pub use backend_context::*; |
5 | |
6 | mod types; |
7 | pub use types::*; |
8 | |
9 | // re-export D3D types we use |
10 | |
11 | pub use sb::GrD3DResourceStateEnum as ResourceStateEnum; |
12 | |
13 | pub use windows::Win32::Graphics::Direct3D12::ID3D12CommandQueue; |
14 | pub use windows::Win32::Graphics::Direct3D12::ID3D12Device; |
15 | pub use windows::Win32::Graphics::Direct3D12::ID3D12Resource; |
16 | pub use windows::Win32::Graphics::Direct3D12::D3D12_RESOURCE_STATES; |
17 | pub use windows::Win32::Graphics::Dxgi::Common::DXGI_FORMAT; |
18 | pub use windows::Win32::Graphics::Dxgi::IDXGIAdapter1; |
19 | |
20 | native_transmutable!(sb::DXGI_FORMAT, DXGI_FORMAT, dxgi_format_layout); |
21 | |