summaryrefslogtreecommitdiff
path: root/include/user/gxm/init.h
diff options
context:
space:
mode:
authorGrapheneCt2021-01-15 12:44:29 -0500
committerReiko Asakura2021-01-15 12:44:29 -0500
commit0ccba597769c573bd69611f84f1ad2c484691b7d (patch)
tree2e3d5c648a46accd1b4d15a425f7e6dfdafc6d84 /include/user/gxm/init.h
parentAdd SceKblForKernel nids (diff)
downloadvds-libraries-0ccba597769c573bd69611f84f1ad2c484691b7d.tar.gz
Add gxm and gpu internal functions
Diffstat (limited to '')
-rw-r--r--include/user/gxm/init.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/user/gxm/init.h b/include/user/gxm/init.h
index 6739e2a..8f27a79 100644
--- a/include/user/gxm/init.h
+++ b/include/user/gxm/init.h
@@ -10,6 +10,18 @@
extern "C" {
#endif // def __cplusplus
+/** Flags for libgxm initialization.
+
+ @ingroup render
+*/
+typedef enum SceGxmInitializeFlagsInternal
+{
+ SCE_GXM_INITIALIZE_FLAG_PB_USE_USER_MEMORY = 0x00000001U, ///< Use uncached main memory for the parameter buffer.
+ SCE_GXM_INITIALIZE_FLAG_PBDESCFLAGS_ZLS_OVERRIDE = 0x00000002U,
+ SCE_GXM_INITIALIZE_FLAG_PBDESCFLAGS_SHARED = 0x00000004U, ///< The parameter buffer can be shared between rendering contexts.
+ SCE_GXM_INITIALIZE_FLAG_DRIVER_MEM_SHARE = 0x00000008U ///< Use shared driver memory for the parameter buffer.
+} SceGxmInitializeFlagsInternal;
+
/** Initializes the libgxm library for shared sync objects.
Internally this function will prepare this process for rendering, creating