aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.h
diff options
context:
space:
mode:
authornotaz2012-11-18 00:31:30 +0200
committernotaz2012-11-18 01:40:00 +0200
commitc9099d020a1e523d97541f426f7d44da1392526f (patch)
tree10ff6a0e5cad146d8e139530e5bc7be197d6ae65 /frontend/plugin_lib.h
parenta83762012066e4799394f63d08a161a45f982ab6 (diff)
downloadpcsx_rearmed-c9099d020a1e523d97541f426f7d44da1392526f.tar.gz
pcsx_rearmed-c9099d020a1e523d97541f426f7d44da1392526f.tar.bz2
pcsx_rearmed-c9099d020a1e523d97541f426f7d44da1392526f.zip
frontend: overlay improvements
work directly on psx vram
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