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

Add HDR support for non-metal backends #158

Open
kunaltyagi opened this issue Feb 7, 2024 · 0 comments
Open

Add HDR support for non-metal backends #158

kunaltyagi opened this issue Feb 7, 2024 · 0 comments

Comments

@kunaltyagi
Copy link

nanogui/src/common.cpp

Lines 210 to 216 in 2ee903c

std::pair<bool, bool> test_10bit_edr_support() {
#if defined(NANOGUI_USE_METAL)
return metal_10bit_edr_support();
#else
return { false, false };
#endif
}

This hardcodes the HDR support for only metal backend. Windows and Linux display managers have decent HDR support and effort could be made to support them as well.

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