Move extension query mapping to renderer gl

This commit is contained in:
2026-06-02 07:33:40 +02:00
parent 217450e161
commit 6fc8b9e5d2
6 changed files with 37 additions and 4 deletions

View File

@@ -42,6 +42,8 @@ struct OpenGlReadbackFormat {
std::span<const std::string_view> extensions,
OpenGlRuntime runtime) noexcept;
[[nodiscard]] std::uint32_t extension_count_query() noexcept;
[[nodiscard]] std::uint32_t extension_string_name() noexcept;
[[nodiscard]] std::uint32_t texture_upload_type_for_internal_format(std::uint32_t internal_format) noexcept;
[[nodiscard]] std::uint32_t unsigned_byte_component_type() noexcept;
[[nodiscard]] std::uint32_t rgba_pixel_format() noexcept;