libnx  v4.8.0
gpu.h
1 #pragma once
2 #include "types.h"
3 #include "ioctl.h"
4 
5 Result nvGpuInit(void);
6 void nvGpuExit(void);
7 
8 const nvioctl_gpu_characteristics* nvGpuGetCharacteristics(void);
9 u32 nvGpuGetZcullCtxSize(void);
10 const nvioctl_zcull_info* nvGpuGetZcullInfo(void);
11 const u32* nvGpuGetTpcMasks(u32 *num_masks_out);
12 
13 Result nvGpuZbcGetActiveSlotMask(u32 *out_slot, u32 *out_mask);
14 Result nvGpuZbcAddColor(const u32 color_l2[4], const u32 color_ds[4], u32 format);
15 Result nvGpuZbcAddDepth(float depth);
16 Result nvGpuGetTimestamp(u64 *ts);
Definition: ioctl.h:70
Definition: ioctl.h:47
Various system types.
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21