Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
async_backend_stb.c File Reference
#include "async_backend.h"
#include "async_loader.h"
#include "gl_common.h"
#include "perf_timer.h"
#include "profiler.h"
#include "simd_utils.h"
#include "texture.h"
#include "utils.h"
#include <stb_image.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for async_backend_stb.c:

Functions

static bool stb_load (const char *path, AsyncRequest *req)
 
static void stb_convert (void *dst_ptr, AsyncRequest *req)
 
static void stb_cleanup (AsyncRequest *req)
 
const AsyncBackendInterface * async_backend_stb_get (void)
 

Variables

static const AsyncBackendInterface g_backend_stb
 

Function Documentation

◆ async_backend_stb_get()

const AsyncBackendInterface * async_backend_stb_get ( void  )

◆ stb_cleanup()

static void stb_cleanup ( AsyncRequest *  req)
static

◆ stb_convert()

static void stb_convert ( void *  dst_ptr,
AsyncRequest *  req 
)
static
Here is the call graph for this function:

◆ stb_load()

static bool stb_load ( const char *  path,
AsyncRequest *  req 
)
static
Here is the call graph for this function:

Variable Documentation

◆ g_backend_stb

const AsyncBackendInterface g_backend_stb
static
Initial value:
static void stb_cleanup(AsyncRequest *req)
Definition async_backend_stb.c:70
static void stb_convert(void *dst_ptr, AsyncRequest *req)
Definition async_backend_stb.c:54
static bool stb_load(const char *path, AsyncRequest *req)
Definition async_backend_stb.c:14