Dzmitry Malyshau

Results 958 comments of Dzmitry Malyshau

The trail leads to https://gitlab.freedesktop.org/xorg/lib/libxext/-/issues/3

Hi everyone! Thank you for fruitful discussion here! Apparently, my watch setting was off by default, so I'm only now discovering what happened here :)

How would this be different from just overwriting the contents of the box you have, i.e. ```rust let box_alloc = BoxAllocation::init(); let mut thing = make_big_thing(box_alloc); do_something_with_thing(&thing); *thing = ;...

Could you make an example of what `make_big_thing` does that can't be expressed with my code sample?

It sounds like you could do this instead: ```rust fn parse_animal_from_file(filename: String) -> Animal { ... } let dog_data = Box::alloc().init(parse_animal_from_file("dog.txt")); print("{:?}", dog_data); let mut cat_data = dog_data; *cat_data =...

Thank you for prompt (and friendly) response! > Do you have any plans on what the API for this would look like? Supposing we have a cargo feature enabling the...

> So, I'm assuming that you want to export to an image format so that modders can use a regular old image editor to mod levels? As I mentioned, there...

Yeah, that would likely work for us :+1:

For WebGPU the general case of allocation (the permanent GPU memory for resources) would include both buffers and images. You are saying we have to take the granularity into account...