| 35 | enum class IconImageFormat { Rgb888, Rgba8888 }; |
| 36 | |
| 37 | struct GlDialect { |
| 38 | std::string_view version_directive; |
| 39 | std::string_view fragment_preamble; |
| 40 | bool uses_out_color; |
| 41 | IconImageFormat icon_image_format; |
| 42 | int icon_bytes_per_pixel; |
| 43 | bool has_texture_wrap_r; |
| 44 | GLenum icon_gl_internal_format; |
| 45 | GLenum icon_gl_format; |
| 46 | GLuint texture_internal_format(GLenum tex_type, GLenum tex_format) const; |
| 47 | }; |
| 48 | |
| 49 | const GlDialect& the_dialect(); |
| 50 |
nothing calls this directly
no outgoing calls
no test coverage detected