Commit graph

35 commits

Author SHA1 Message Date
chyyran 987e967269 doc(capi): add error doc for infallible error 2024-09-22 02:06:47 -04:00
chyyran 1e33b4cc03 capi: make viewport optional, defaulting to a viewport that is the entire size of the render target 2024-09-22 02:06:47 -04:00
chyyran 72a98272f3 doc(capi): document all C API members 2024-09-21 01:50:05 -04:00
jcm 1f4f1b6c12 capi: Fix Metal error message, function header 2024-09-17 18:27:43 -04:00
chyyran e930f90a9c capi: allow building on stable by gating #[doc] comments 2024-09-15 03:10:45 -04:00
chyyran c291d9d85f capi: remove dependency on try_blocks
Uses an IIFE + return type changes to remove the need for try blocks
2024-09-14 21:26:19 -04:00
chyyran 8c8e386a6c capi(d3d9): expose d3d9 in capi 2024-03-07 21:09:15 -05:00
chyyran d3d8e85461 capi: replace unstable library features with polyfills 2024-02-16 01:19:52 -05:00
chyyran 6fbc4b3075 fmt: cargo fmt 2024-02-14 20:50:17 -05:00
chyyran 76aa5ce4c6 capi(mtl): implement capi for metal 2024-02-14 03:08:09 -05:00
chyyran fa8ee5d143 build: fix cbindgen not finding ctypes
* removes capi internal interface from librashader crate
* adds missing noop impls in header
* fix build on rustc < 1.74
2024-02-09 18:02:30 -05:00
chyyran f5da7d8421 fmt: cargo fmt 2023-07-20 02:40:13 -04:00
chyyran a6b1e0a412 capi: use unwrap_unchecked when we're certain a value is not null. 2023-02-16 18:23:56 -05:00
chyyran d925dc95c6 capi: expose helpers to ensure ABI version compatibility 2023-02-11 15:37:21 -05:00
chyyran 4dcbdadb4f capi: publish d3d12 2023-02-06 02:17:30 -05:00
chyyran 9cdf646681 build: only build d3d11 stuff for windows 2023-01-21 01:54:06 -05:00
chyyran 40e4ce908f preprocess: store parameters in FxHashMap 2023-01-15 14:06:38 -05:00
chyyran 19e8da7d85 chore: general cleanup 2023-01-15 11:08:13 -05:00
chyyran 05ec73a11c fmt: run cargo fmt 2023-01-15 03:06:09 -05:00
chyyran 831ba3d357 docs: more surgically avoid linux linking to windows symbols 2023-01-14 20:13:15 -05:00
chyyran e320e093e2 build: fix missing symbols on linux 2023-01-14 18:56:31 -05:00
chyyran 3592b453e8 capi: expose pass count/param 2023-01-14 15:52:58 -05:00
chyyran 2e2713a21b capi: expose FilterChainParameters to capi 2023-01-14 09:36:26 -05:00
chyyran 1fa85d1e4d capi: check api is aligned 2023-01-14 00:27:35 -05:00
chyyran 2728cff55c capi: document rest of capi 2023-01-13 18:10:20 -05:00
chyyran 3e628093ae capi: finish capi for vulkan 2023-01-13 18:10:20 -05:00
chyyran f25693815b capi: use extern_ffi where possible 2023-01-13 16:05:13 -05:00
chyyran 48321d997b fmt: run cargo fmt 2023-01-09 22:54:54 -05:00
chyyran 4393f5c871 capi: capi reflect api 2023-01-02 18:22:52 -05:00
chyyran 2cce27ecb9 capi: make function pointer types for everything 2022-12-05 00:06:37 -05:00
chyyran ebe889df2f capi: get rid of safer_ffi 2022-12-04 23:54:47 -05:00
chyyran 6ab03ecc99 capi: more docs 2022-12-04 22:48:57 -05:00
chyyran afe7165707 capi: error api 2022-12-04 22:35:51 -05:00
chyyran a00c4e1d88 capi: get rid of Box and use NonNull pointers 2022-12-03 19:55:27 -05:00
chyyran b569de1522 capi: basic capi for presets and gl 2022-12-03 18:33:01 -05:00