Skip to content
#

wrapper

Here are 3,215 public repositories matching this topic...

wgpu-rs
eduardobraun
eduardobraun commented May 8, 2021

Recently I decided to try out Iced but run into some memory problems while testing an example, as can be seen in this issue: hecrj/iced#786
I narrowed it down to the wgpu-rs StagingBelt, and the lack of a way to cleanup unused free Chunks from the belt.
The issue with the Game of Life example was that I only added more geometry to the screen, so my buffers got larger, n

programmerjake
programmerjake commented Apr 15, 2021

In:
https://github.com/TheDan64/inkwell/blob/f768691fccb04fe262a6ccf22c215657dc08de98/src/context.rs#L950
the lifetimes are left implicit, which unnecessarily shortens the lifetime of the return value. Making the lifetimes explicit:

impl<'ctx> Context<'ctx> {
    pub fn const_string<'a>(&'a self, string: &'a [u8], null_terminated: bool) -> VectorValue<'a> {
        ...
    }
}

Improve this page

Add a description, image, and links to the wrapper topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the wrapper topic, visit your repo's landing page and select "manage topics."

Learn more