|
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
|
#include "async_backend.h"#include "async_loader.h"#include "gl_common.h"#include "log.h"#include "utils.h"#include <ktx.h>#include <stdint.h>#include <stdlib.h>#include <string.h>Macros | |
| #define | GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F |
Functions | |
| static bool | process_ktx_compression (ktxTexture2 *ktx_tex, bool *out_is_bc6h) |
| static void | log_ktx_audit (const char *path, ktxTexture2 *ktx_tex, bool is_bc6h) |
| static void | configure_request_formats (AsyncRequest *req, ktxTexture2 *ktx_tex, bool is_bc6h) |
| static bool | ktx_backend_load (const char *path, AsyncRequest *req) |
| static void | ktx_backend_convert (void *dst_ptr, AsyncRequest *req) |
| static void | ktx_backend_cleanup (AsyncRequest *req) |
| const AsyncBackendInterface * | async_backend_ktx_get (void) |
Variables | |
| const static double | OCTET_TO_MEGA = 1.0 / (1024.0 * 1024.0) |
| static const AsyncBackendInterface | g_backend_ktx |
| #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F |
| const AsyncBackendInterface * async_backend_ktx_get | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |