Commit graph

226 commits

Author SHA1 Message Date
chyyran cbdbdafecd chore: Release 2024-10-06 16:07:06 -04:00
chyyran 941275199b build: unpin cc 2024-10-06 15:32:18 -04:00
chyyran 240aae1bcf chore: Release 2024-10-06 01:05:35 -04:00
chyyran 95a489ee12 cli(render): allow specifying output dimensions 2024-10-05 23:12:25 -04:00
chyyran 4abd48eb24 capi(presets): support d3d9_hlsl VID-DRV 2024-10-03 00:26:59 -04:00
chyyran 72c72dafa0 capi(d3d12): remove unintentional IMAGE_TYPE infix for LIBRA_D3D12_IMAGE_TYPE 2024-10-03 00:18:50 -04:00
chyyran 3ee5e66c0d presets: make naming more consistent
* `ShaderPassConfig` -> `PassConfig`
* `ShaderPassData` -> `PassResource`
* `TextureData` -> `TextureResource`
* `ShaderPresetResource` -> `LoadedResource`
* `ShaderPassMeta` -> `PassMeta`

* `ShaderPreset::shaders` -> `ShaderPreset::passes`
* `ShaderPreset::shader_count` -> `ShaderPreset::pass_count`

* `ShaderPresetPack::shaders` -> `ShaderPresetPack::passes`
* `ShaderPresetPack::shader_count` -> `ShaderPresetPack::pass_count`
2024-10-02 19:07:09 -04:00
chyyran 4a8a9ee444 chore: Release 2024-10-02 00:28:10 -04:00
chyyran 859d16e64e rt: separate out meta information to its own struct 2024-10-01 23:25:52 -04:00
chyyran 34b50059ca doc(d3d12,vk): clear up language for barriers
also remove useless `libra_PFN_vkGetInstanceProcAddr`
2024-09-30 11:35:38 -04:00
chyyran 7a13136f9a capi(d3d12): allow d3d12 to optionally use a resource handle with chain-managed descriptors 2024-09-30 11:35:38 -04:00
chyyran 0cb3880d7f rt(d3d12): allow construction of D3D12InputImage without a descriptor handle 2024-09-30 11:35:38 -04:00
chyyran c526b7043a capi(d3d12): change the layout so that descriptor is first in libra_source_image_d3d12_t 2024-09-30 11:35:38 -04:00
chyyran 33d95ac399 rt(d3d12): allow creating input view without a CPU handle 2024-09-30 11:35:38 -04:00
chyyran 3c20c83bc9 rt(d3d12): use InterfaceRef for D3D12InputImage to avoid refcount for input image 2024-09-30 11:35:38 -04:00
chyyran 7d483f2e08 rt(d3d9): take viewport by reference to avoid AddRef/Release 2024-09-28 14:46:16 -04:00
chyyran 7b7fd99b92 rt(d3d11): take viewport by reference to avoid AddRef/Release 2024-09-28 14:46:16 -04:00
chyyran 3888b56c83 rt(d3d9): accept input image by reference 2024-09-25 01:44:36 -04:00
chyyran 97ad0d64bf rt(gl): make FilterChain::load_from argument order consistent with other runtimes 2024-09-24 00:49:10 -04:00
chyyran 987e967269 doc(capi): add error doc for infallible error 2024-09-22 02:06:47 -04:00
chyyran 59937aced5 fmt: cargo fmt 2024-09-22 02:06:47 -04:00
chyyran e4eed34c10 capi: const qualify chain in _filter_chain_get_param and _filter_chain_get_active_pass_count"
This reverts commit 98d8d91c66.
2024-09-22 02:06:47 -04:00
chyyran 41353ac9c4 rt(gl): remove need for explicit external FBO object
Replaced with an internal FBO that is state tracked so as to not recreate it every frame, but will update if necessary
2024-09-22 02:06:47 -04:00
chyyran 4d790e7a7b doc: update ABI versions in version.rs and readme 2024-09-22 02:06:47 -04:00
chyyran aeb0a16cfb rt(vk): allow specifying the queue to use 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 f0a7970b44 rt: add viewport extent separate from output texture dimensions 2024-09-22 02:06:47 -04:00
chyyran e7e6ed8fb8 capi: remove _internal_alloc from libra_preset_param_list_t 2024-09-22 02:06:47 -04:00
chyyran 61fdaeea14 capi(gl): update to take opengl context in constructor 2024-09-22 02:06:47 -04:00
chyyran 2552d4321b capi(gl): set output in libra_output_image_gl_t, not viewport 2024-09-22 02:06:47 -04:00
chyyran eaf939c861 capi(vk): set output in libra_output_image_vk_t, not viewport 2024-09-22 02:06:47 -04:00
chyyran 14abb0362b capi(d3d12): set output in libra_output_image_d3d12_t, not viewport 2024-09-22 02:06:47 -04:00
chyyran e064f8d0be capi(d3d12): remove ignored fields from libra_source_image_d3d12_t 2024-09-22 02:06:47 -04:00
chyyran f18c22a95a capi(d3d11): take ManuallyDrop<ID3D11ShaderResourceView> directly in libra_d3d11_filter_chain_t 2024-09-22 02:06:47 -04:00
chyyran e6d23f1d8f doc: update opengl example 2024-09-22 02:06:47 -04:00
chyyran 2f9df143cf deps: consolidate and update dependencies 2024-09-22 02:06:47 -04:00
chyyran 1e0727f89d chore: Release 2024-09-21 01:55:42 -04:00
chyyran 60d2c3f177 chore: Release 2024-09-21 01:53:56 -04:00
chyyran 72a98272f3 doc(capi): document all C API members 2024-09-21 01:50:05 -04:00
chyyran 4ba5aefafc capi: don't export wrap_ok macro
This was done by accident, so will be made exempt from Rust versioning guarantees.
2024-09-18 00:55:05 -04:00
chyyran f49e3b58d8 doc(capi): fix rotation integer docs 2024-09-17 19:06:57 -04:00
jcm 1f4f1b6c12 capi: Fix Metal error message, function header 2024-09-17 18:27:43 -04:00
chyyran eace595ebb chore: Release 2024-09-15 11:00:38 -04:00
chyyran e930f90a9c capi: allow building on stable by gating #[doc] comments 2024-09-15 03:10:45 -04:00
chyyran 2f988d5b1d rt: add stable feature to build ShaderPassArtifacts via Box<dyn CompileReflectShader> 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 2661effab4 chore: Release 2024-09-13 17:31:17 -04:00
chyyran 98d8d91c66 capi: undo const qualification of chain in _filter_chain_get_param and _filter_chain_get_active_pass_count
This should be done over an ABI bump, even if the headers weren't updated.
2024-09-13 17:21:03 -04:00
chyyran 50580cfc3b chore: Release 2024-09-08 11:23:08 -04:00
chyyran fd8d6f6ab8 chore: Release 2024-09-06 23:01:07 -04:00