summaryrefslogtreecommitdiff
path: root/include/user/gxm/context.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/context.h
parentAdd SceKblForKernel nids (diff)
downloadvds-libraries-0ccba597769c573bd69611f84f1ad2c484691b7d.tar.gz
Add gxm and gpu internal functions
Diffstat (limited to 'include/user/gxm/context.h')
-rw-r--r--include/user/gxm/context.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/user/gxm/context.h b/include/user/gxm/context.h
index 06a35fe..3897677 100644
--- a/include/user/gxm/context.h
+++ b/include/user/gxm/context.h
@@ -75,6 +75,25 @@ SceGxmErrorCode sceGxmSetFragmentJobVisibilityBuffer(
void *bufferBase,
uint32_t stridePerCore);
+/** Allocates a VDM buffer for Razor GPU Capture.
+
+ @param[in] context A pointer to the rendering context.
+ @param[in] size The size to allocate.
+ @param[out] mem Receives the buffer address.
+
+ @retval
+ SCE_OK The operation was successful.
+ @retval
+ SCE_GXM_ERROR_RESERVE_FAILED The operation failed due to the VDM buffer callback
+ function failing to provide sufficient memory.
+
+ @ingroup render
+*/
+SceGxmErrorCode sceGxmRazorReplayReserveVdm(
+ SceGxmContext *context,
+ uint32_t size,
+ void **mem);
+
#ifdef __cplusplus
}
#endif // def __cplusplus