vitasdk
Documentation of the vitasdk
razor_hud.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceRazorGpuLiveResultInfo
 
struct  SceRazorGpuLiveEntryHeader
 
struct  SceRazorGpuLiveEntryJobVertexValues1
 
struct  SceRazorGpuLiveEntryJobFragmentValues1
 
struct  SceRazorGpuLiveEntryJobVertexValues2
 
struct  SceRazorGpuLiveEntryJobFragmentValues2
 
struct  SceRazorGpuLiveEntryJobVertexValues3
 
struct  SceRazorGpuLiveEntryJobFragmentValues3
 
struct  SceRazorGpuLiveEntryJobValues
 
struct  SceRazorGpuLiveEntryJob
 
struct  SceRazorGpuLiveEntryParameterBuffer
 
struct  SceRazorGpuLiveEntryFrame
 

Enumerations

enum  SceRazorGpuLiveMetricsGroup { SCE_RAZOR_GPU_LIVE_METRICS_GROUP_PBUFFER_USAGE , SCE_RAZOR_GPU_LIVE_METRICS_GROUP_OVERVIEW_1 , SCE_RAZOR_GPU_LIVE_METRICS_GROUP_OVERVIEW_2 , SCE_RAZOR_GPU_LIVE_METRICS_GROUP_OVERVIEW_3 }
 Enumeration for the gpu live metrics groups. More...
 
enum  SceRazorLiveTraceMetricEntryType { SCE_RAZOR_LIVE_TRACE_METRIC_ENTRY_TYPE_JOB , SCE_RAZOR_LIVE_TRACE_METRIC_ENTRY_TYPE_PARAMETER_BUFFER , SCE_RAZOR_LIVE_TRACE_METRIC_ENTRY_TYPE_FRAME }
 Enumeration for the gpu live results entry types. More...
 
enum  SceRazorLiveTraceMetricJobType {
  SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FIRMWARE , SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX1 , SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT1 , SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX2 ,
  SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT2 , SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX3 , SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT3 , SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX0 ,
  SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT0
}
 Enumeration for the gpu live results job types. More...
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x28, SceRazorGpuLiveResultInfo)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceRazorGpuLiveEntryHeader)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceRazorGpuLiveEntryJobVertexValues1)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceRazorGpuLiveEntryJobFragmentValues1)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceRazorGpuLiveEntryJobVertexValues2)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceRazorGpuLiveEntryJobFragmentValues2)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceRazorGpuLiveEntryJobVertexValues3)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceRazorGpuLiveEntryJobFragmentValues3)
 
 VITASDK_BUILD_ASSERT_EQ (0x54, SceRazorGpuLiveEntryJobValues)
 
 VITASDK_BUILD_ASSERT_EQ (0x80, SceRazorGpuLiveEntryJob)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceRazorGpuLiveEntryParameterBuffer)
 
 VITASDK_BUILD_ASSERT_EQ (0x20, SceRazorGpuLiveEntryFrame)
 
int sceRazorGpuLiveSetMetricsGroup (uint32_t metrics)
 Sets a metrics group to use for gpu live debugging. More...
 
int sceRazorGpuLiveSetBuffer (void *buffer, SceSize buf_size, SceRazorGpuLiveResultInfo *results)
 Sets the buffer in which to store gpu live debugging results for the current frame. More...
 
int sceRazorGpuLiveStart ()
 Starts gpu live debugging. More...
 
int sceRazorGpuLiveStop ()
 Stops gpu live debugging. More...