]> git.bts.cx Git - benzene.git/blob - src/bz/gfx/gfx_internal.h
c03c73aea52ab0683f326f1148f10a37afaa0c02
[benzene.git] / src / bz / gfx / gfx_internal.h
1 #ifndef BZ_GFX_GFX_INTERNAL_H
2 #define BZ_GFX_GFX_INTERNAL_H
3
4 #include <bz/gfx/gfx.h>
5
6 #include <bz/memory/arena.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 extern void bzGfxPreparePalettes(BZMemoryArenaID arena, size_t paletteCount, size_t colorCount);
13 extern void bzGfxPrepareCanvasBuffer(BZMemoryArenaID arena, size_t width, size_t height);
14
15 extern void bzGfxPrepareSpritesheet(BZMemoryArenaID arena, size_t width, size_t height, void *data);
16 extern void bzGfxPrepareFont(BZMemoryArenaID arena, void *font);
17
18 extern void bzGfxComposite(void);
19
20 extern uint8_t *bzGfxCompositedBuffer;
21 extern size_t bufferStride; // FIXME, name
22 extern size_t bufferStrideShift; // FIXME, name
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 #endif