aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/plugin_lib.h')
-rw-r--r--frontend/plugin_lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index 2f6c680..bec16b2 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -93,6 +93,12 @@ enum gpu_plugin_caps {
GPU_CAP_SUPPORTS_2X = (1 << 1),
};
+// platform hooks
+extern void (*pl_plat_clear)(void);
+extern void (*pl_plat_blit)(int doffs, const void *src,
+ int w, int h, int sstride, int bgr24);
+extern void (*pl_plat_hud_print)(int x, int y, const char *str, int bpp);
+
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#endif