aboutsummaryrefslogtreecommitdiff
path: root/fmdsp/fmdsp-pacc.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-09-08 23:28:48 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-09-08 23:28:48 +0900
commit7809829bb0ce8b30ebdfb018034cab0e5f4b7632 (patch)
treef466042e01374d379ca224404f2f4cbb7bdfdea5 /fmdsp/fmdsp-pacc.h
parent694da2ee4f6bf7dd8e5f592f9d9ecf0c5a7ceb24 (diff)
fmdsp: hardware accelerated rendering with pacc
Diffstat (limited to 'fmdsp/fmdsp-pacc.h')
-rw-r--r--fmdsp/fmdsp-pacc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fmdsp/fmdsp-pacc.h b/fmdsp/fmdsp-pacc.h
new file mode 100644
index 0000000..b5f1021
--- /dev/null
+++ b/fmdsp/fmdsp-pacc.h
@@ -0,0 +1,16 @@
+#ifndef MYON_FMDSP_PACC_H_INCLUDED
+#define MYON_FMDSP_PACC_H_INCLUDED
+
+struct fmdsp_pacc;
+struct pacc_ctx;
+struct pacc_vtable;
+struct fmdriver_work work;
+struct opna opna;
+
+struct fmdsp_pacc *fmdsp_pacc_init(
+ struct pacc_ctx *pc, const struct pacc_vtable *vtable);
+void fmdsp_pacc_set(struct fmdsp_pacc *pacc, struct fmdriver_work *work, struct opna *opna);
+void fmdsp_pacc_release(struct fmdsp_pacc *fp);
+void fmdsp_pacc_render(struct fmdsp_pacc *fp);
+
+#endif // MYON_FMDSP_PACC_H_INCLUDED