gl_cmap.h
stdint.h
gl_platform.h
stdint.h
gl_platform.h
gl_cmap.h
GL/gl.h
fosphor_gl_cmap_mode
GL_CMAP_MODE_NEAREST
GL_CMAP_MODE_BILINEAR
GL_CMAP_MODE_BICUBIC
int(* typedef int(* gl_cmap_gen_func_t) (uint32_t *rgba, int N, void *arg) )(uint32_t *rgba, int N, void *arg) gl_cmap_gen_func_t
struct fosphor_gl_cmap_ctx * struct fosphor_gl_cmap_ctx* fosphor_gl_cmap_init (void) fosphor_gl_cmap_init void
void void fosphor_gl_cmap_release (struct fosphor_gl_cmap_ctx *cmap_ctx) fosphor_gl_cmap_release struct fosphor_gl_cmap_ctx * cmap_ctx
void void fosphor_gl_cmap_enable (struct fosphor_gl_cmap_ctx *cmap_ctx, GLuint tex_id, GLuint cmap_id, float scale, float offset, enum fosphor_gl_cmap_mode mode) fosphor_gl_cmap_enable struct fosphor_gl_cmap_ctx * cmap_ctx GLuint tex_id GLuint cmap_id float scale float offset enum fosphor_gl_cmap_mode mode
void void fosphor_gl_cmap_disable (void) fosphor_gl_cmap_disable void
void void fosphor_gl_cmap_draw_scale (GLuint cmap_id, float x0, float x1, float y0, float y1) fosphor_gl_cmap_draw_scale GLuint cmap_id float x0 float x1 float y0 float y1
int int fosphor_gl_cmap_generate (GLuint *cmap_id, gl_cmap_gen_func_t gfn, void *gfn_arg, int N) fosphor_gl_cmap_generate GLuint * cmap_id gl_cmap_gen_func_t gfn void * gfn_arg int N

OpenGL float texture to color mapping.