Robin Quint

Results 28 comments of Robin Quint

Yes the renderers and platform integrations will need to be extended in order to support viewports. I would have liked to add viewport support to the examples directly, but at...

I was finally able to work on this a bit more :) The examples should now be the same as before my PR again. The viewport example now implements a...

> Last time I checked (year or two ago), glium had troubles with sharing of textures between GL contexts. Dropped texture is cleaned up only from parent context, but left...

I will try to implement context sharing in the viewport example as soon as possible

> Hi there, BTW Can this PR achieve this goal? https://github.com/imgui-rs/imgui-rs/issues/299 also https://github.com/inkyblackness/imgui-go-examples/issues/1 > > Not sure, the main focus of this feature are the extra viewports, the user is...

> Side note: I put this under the v0.10 milestone, but no pressure whatsoever if it's not done by then or if you stop working on the PR! > >...

> Yay, That works pretty well. But I can only resize the window, not move it. How can I make the window move freely? > > > > As I...

When viewports are enabled, the imgui window position will be in desktop corrdinates, so you need to set the winit window position to the imgui window position as is, without...

It might be a good idea to have separate winit-support modules, one for non-viewport support and one with viewports enabled. Since the coordinate system is completely different depending on whether...

I will try to work on a combined winit + glow viewports renderer that could serve as a complete example on how to use viewports :)