]>
git.bts.cx Git - benzene.git/blob - src/bz/gfx/gfx_internal.h
1 #ifndef BZ_GFX_GFX_INTERNAL_H
2 #define BZ_GFX_GFX_INTERNAL_H
4 #include <bz/gfx/gfx.h>
6 #include <bz/memory/arena.h>
12 extern void bzGfxPreparePalettes(BZMemoryArenaID arena
, size_t paletteCount
, size_t colorCount
);
13 extern void bzGfxPrepareCanvasBuffer(BZMemoryArenaID arena
, size_t width
, size_t height
);
15 extern void bzGfxPrepareSpritesheet(BZMemoryArenaID arena
, size_t frames
, size_t width
, size_t height
, void *data
);
16 extern void bzGfxPrepareFont(BZMemoryArenaID arena
, void *font
);
18 extern void bzGfxComposite(void);
20 extern uint8_t *bzGfxCompositedBuffer
;
21 extern size_t bufferStride
; // FIXME, name
22 extern size_t bufferStrideShift
; // FIXME, name