29 #include <EASTL/array.h>
30 #include <EASTL/atomic.h>
31 #include <EASTL/functional.h>
34 #include "psyqo/fragments.hh"
35 #include "psyqo/gpu.hh"
36 #include "psyqo/primitives.hh"
40 template <
size_t Fragments = 16>
55 void uploadSystemFont(
GPU& gpu);
59 DMA::DmaCallback dmaCallback);
60 void printf(
GPU& gpu,
Vertex pos,
Color color,
const char* format, ...) {
62 va_start(args, format);
63 vprintf(gpu, pos, color, format, args);
67 const char* format, ...) {
69 va_start(args, format);
70 vprintf(gpu, pos, color,
eastl::move(callback), dmaCallback, format, args);
73 void vprintf(
GPU& gpu,
Vertex pos,
Color color,
const char* format, va_list ap);
75 const char* format, va_list ap);
77 void chainprint(
GPU& gpu,
const char* text,
Vertex pos,
Color color);
78 void chainprintf(
GPU& gpu,
Vertex pos,
Color color,
const char* format, ...) {
80 va_start(args, format);
81 vprintf(gpu, pos, color, format, args);
84 void chainvprintf(
GPU& gpu,
Vertex pos,
Color color,
const char* format, va_list ap);
111 #include "psyqo/internal/font.hh"
Definition: function.h:30
The Font drawing class.
Definition: font.hh:51
The singleton GPU class.
Definition: gpu.hh:57
OutputIterator move(InputIterator first, InputIterator last, OutputIterator result)
Definition: copy_help.h:170
A maximum fixed sized fragment of similar primitives.
Definition: fragments.hh:95
The FlushCache primitive.
Definition: misc.hh:45
Definition: control.hh:37
Initiates a VRAM upload.
Definition: control.hh:116
The Color struct.
Definition: common.hh:91
The Vertex struct.
Definition: common.hh:47