These are chat archives for AvaloniaUI/Avalonia
A multi-platform .NET UI framework. -!-!-!-!- VOTE FOR SUPPORT IN RIDER: https://youtrack.jetbrains.com/issue/RIDER-39247 -!-!-!-!-
Actions etc isn't really scalable
the methods that the impl call
Ehm. I'm not sure that
*Impl call anything
Eventually, our do_draw will draw to a global GdkPixmap and we will paint this pixmap to the screen upon an expose_event. It is considered good practice to draw on a widget during its expose_event only.
IRenderSurfaceor something, and have a property on the surface indicating that this should be done?
Renderer.Renderwill update the scene graph and render in response to e.g. a resize
CAEAGLLayerfrom non-ui thread
Render.Render()which does the paint from pixmap to window, and something like
Renderer.ImmediateRender()which does the "forced" render
Render.Render()is a noop
IRenderSurfaceinterface make sense to you?
IRenderSurface.SupportsThreadedRenderwould make sense
((Win32.WindowImpl)window.PlatformImpl).Hwndto get a HWND
IPlatformHandleand have something like
(window.PlatformImpl as IHwnd)?.Hwnd