Skip to content

Test the Windows surface code #4

@dennisdevulder

Description

@dennisdevulder

Status

Per README: "Windows — surface code implemented, never tested."

The Win32PlatformSurface path was written alongside the X11 and macOS paths but no one's actually launched the plugin on Windows yet. Until someone does, all of:

  • Win32PlatformSurface.java (HINSTANCE / HWND extraction via JAWT)
  • VulkanSurface Win32 branch (vkCreateWin32SurfaceKHR)
  • VulkanInstance extension picking on Windows (VK_KHR_win32_surface)
  • The rlawt canvas-attach + GL-context-keepalive dance — does Windows even need this for AWT resize coherency, or is it a Linux-only quirk?

…are unverified. The plugin will probably either work first try or fail in some specific WSI / JAWT / driver-loader way.

What "tested" means here

  • Plugin enables without crashing on a fresh Windows 10/11 box.
  • A scene renders.
  • Resize, sidebar collapse, fullscreen toggle don't break the swapchain.
  • Plugin disable cleanly returns the canvas to stock rendering.
  • AMD + NVIDIA + Intel iGPU each survive one session.

Anyone with a Windows dev machine — please pick this up and report what you see.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions