Something to be mindful that may alter your Metal design is: in 'viewport' branch, the _binding_ code are able to create windows & rendering contexts. So hypothetical imgui_impl_metal in 'master' would handle 1 user-created Metal context, in 'viewport' branch can create more,
I created a metal-on-osx branch from my metal branch that incorporates impl_osx with some changes (flipped coords, removed ref to NSOpenGLView, small tweaks to mouse handling) and it’s looking viable. Feel free to pull and test (still WIP, though): https://github.com/warrenm/imgui/tree/metal-on-osx …
-
-
Thanks! Does the event handling design looks decent to you? As in, possible to plug in the http://osx.mm code in a casual codebase?
-
I think so. It requires you to wire up a tracking area for mouse events and a “local monitor” for key events, as shown in the example, but it’s not too much code.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.