Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multiple-forms #70

Open
18 of 19 tasks
zwcloud opened this issue Nov 24, 2020 · 0 comments
Open
18 of 19 tasks

Implement multiple-forms #70

zwcloud opened this issue Nov 24, 2020 · 0 comments

Comments

@zwcloud
Copy link
Owner

zwcloud commented Nov 24, 2020

old finished tweaks
  • Move methods inside Form.GUI.cs to Application: NewFrame, EndFrame, Render and Log.
  • Make all forms (including main form) update and render properly
    • Implement IWindow.Opacity
    • Update window movement implementation
    • issue: viewport resizing not invoked
    • Implement viewport resizing for rendering, especially for text rendering
  • Inline Window.Render and re-organize MeshBuffer in Form level
    • Move MeshBuffer from Window to Form
    • Adjust MeshBuffer usage in Form: don't clear MeshBuffer every time foreach window when build it from Window.MeshList.
  • Make IMGUI states GUIContext a global static object: It is a global variable at Application.ImGuiContext now.
  • Singe OpenGL context for multiple native windows
  • Win32OpengGLRenderer: decuple IRenderer from IWindow (make per native window state like hwnd, dc, viewport and scissor rect change when IRenderer::SetRenderingWindow)

New developement of multiple-forms will be based on the MultipleNativeWindowTest project.

An openGL renderer correctly renders Mesh on two win32 windows.

  • Two regular window should render Mesh correctly. Fixed at 9802e0c.
  • One main regular window A and one child window of A should render Mesh correctly. Fixed at 340b2be.

Misc

This issue blocks #69

@zwcloud zwcloud changed the title multiple form issues Implement multiple-forms Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant