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

Create a system for invoking the situation dependent graphics system and window system declarations #26

Closed
cmbruns opened this issue Aug 17, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cmbruns
Copy link
Owner

cmbruns commented Aug 17, 2021

like XR_USE_GRAPHICS_API_OPENGL
and XR_USE_PLATFORM_WIN32
etc.

@cmbruns cmbruns self-assigned this Aug 17, 2021
@cmbruns
Copy link
Owner Author

cmbruns commented Aug 17, 2021

The compile flags used on my windows computer for the OpenXR SDK may help us coax clang into segregating the windows specific parts of the API. The following definitions from the openxr loader compile line might be relevant:

  • XR_USE_GRAPHICS_API_OPENGL
  • XR_USE_GRAPHICS_API_VULKAN
  • XR_USE_PLATFORM_WIN32
  • XR_USE_GRAPHICS_API_D3D11
  • XR_USE_GRAPHICS_API_D3D12
  • XR_USE_TIMESPEC

These defines do not change when I select/deselect build all extensions.

@cmbruns cmbruns added the enhancement New feature or request label Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant