Ian Douglas Scott

Results 545 comments of Ian Douglas Scott

Right. I wasn't sure if your keyboard had that key (or if it's even standard on Russian keyboards). Can you confirm that with this binding set it it's default, `super`...

> I'm sorry it took longer than I anticipated. No problem. Well, at least it's clear now exactly what is happening here. Hopefully a solution can be worked out with...

> Do you think it will hurt performance? This should have no non-trivial impact on performance. It will just add a reference count to the `Arc` and store a copy...

Hopefully a better solution can be found for that behavior on macOS. But if merging that workaround is the best for now, I guess the changes here can be merged...

Hm, so when `RawHandleWrapper::new` is run, `AsWindowHandle` works (it's between resumed and suspended?), but when `create_surfaces` is run, its suspended? I guess? Not sure why that would be the case,...

Is there any reason this hasn't been merged?

http://russbishop.net/cross-process-rendering describes how it is possible to create an `IOSurface` with a size and format, access it from CPU, and set it as the `contents` of a `CALayer`. * How...

Or possibly we could just use `CGImage` is is currently used, but with a [`CGDataProvider`](https://developer.apple.com/documentation/coregraphics/cgdataprovider) that reads from memory we can mutate? Presumably `CGImage`/`CGDataProvider` assume the memory isn't mutated, but...

So comparing these: * `IOSurface` - With unified memory, this should let us write directly into the memory the GPU, to be truly no-copy. With a discrete GPU, a DMA...

Oh, I forgot about buffer stride. Testing this (https://github.com/rust-windowing/softbuffer/pull/95), it looks like we can't just set the stride to always match the width, so to use `IOSurface` we'd need to...