Skip to content

add the Windows DirectX 12 rendering variant - #42

Open
igagis-bot wants to merge 3 commits into
cppfw:mainfrom
igagis-bot:directx-variant
Open

igagis-bot wants to merge 3 commits into
cppfw:mainfrom
igagis-bot:directx-variant

Conversation

@igagis-bot

Copy link
Copy Markdown
Contributor

Adds a RUISAPP_RENDER_DIRECTX variant alongside the existing OpenGL, OpenGL ES and Vulkan ones.

  • The application factory creates the ruis::render::directx::context from the window handle
  • Declares the ruisapp-directx library and the ruisapp-directx-test application
  • Windows-only; disabled for the vcpkg port build because the ruis-render-directx vcpkg port does not exist yet

Adds a RUISAPP_RENDER_DIRECTX variant alongside the existing OpenGL,
OpenGL ES and Vulkan ones. It wires the ruis-render-directx renderer
into the application factory and creates the DirectX render context
from the window handle. The variant is Windows-only and disabled for
the vcpkg port build (the ruis-render-directx vcpkg port does not
exist yet).
- Remove the directx variant from the makefile: like vulkan, the
  directx variant is built by CMake only. The makefile build (used by
  the msys2 pacman package) does not have ruis-render-directx available.
- Enable the CMake directx variant only when the ruis-render-directx
  target is available (i.e. inside the cppfw monorepo), instead of
  keying off IS_VCPKG_PORT_BUILD, which does not cover standalone
  non-monorepo CMake builds.
- clang-format the windows glue sources.
no modal error dialogs; the CRT error and assertion messages go to the
standard error stream instead of message boxes
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

Successfully merging this pull request may close these issues.

2 participants