From 0ccba597769c573bd69611f84f1ad2c484691b7d Mon Sep 17 00:00:00 2001 From: GrapheneCt Date: Fri, 15 Jan 2021 12:44:29 -0500 Subject: Add gxm and gpu internal functions --- include/user/gxm/init.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/user/gxm/init.h') 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 -- cgit v1.2.3