Move framebuffer setup mapping to renderer gl

This commit is contained in:
2026-06-02 06:35:07 +02:00
parent 43e3a74c42
commit e00eec30d4
6 changed files with 202 additions and 54 deletions

View File

@@ -54,6 +54,17 @@ struct OpenGlReadbackFormat {
[[nodiscard]] std::uint32_t pixel_unpack_buffer_target() noexcept;
[[nodiscard]] std::uint32_t pixel_buffer_stream_read_usage() noexcept;
[[nodiscard]] std::uint32_t pixel_buffer_map_read_access() noexcept;
[[nodiscard]] std::uint32_t texture_2d_target() noexcept;
[[nodiscard]] std::uint32_t renderbuffer_target() noexcept;
[[nodiscard]] std::uint32_t depth_component24_format() noexcept;
[[nodiscard]] std::uint32_t framebuffer_target() noexcept;
[[nodiscard]] std::uint32_t draw_framebuffer_target() noexcept;
[[nodiscard]] std::uint32_t read_framebuffer_target() noexcept;
[[nodiscard]] std::uint32_t draw_framebuffer_binding_query() noexcept;
[[nodiscard]] std::uint32_t read_framebuffer_binding_query() noexcept;
[[nodiscard]] std::uint32_t framebuffer_color_attachment() noexcept;
[[nodiscard]] std::uint32_t framebuffer_depth_attachment() noexcept;
[[nodiscard]] std::uint32_t framebuffer_complete_status() noexcept;
[[nodiscard]] const char* framebuffer_status_name(std::uint32_t status) noexcept;
[[nodiscard]] std::uint32_t framebuffer_color_buffer_mask() noexcept;
[[nodiscard]] std::uint32_t framebuffer_blit_filter(bool linear) noexcept;