libnx v4.9.0
Loading...
Searching...
No Matches
gpu.h
1#pragma once
2#include "types.h"
3#include "ioctl.h"
4
5Result nvGpuInit(void);
6void nvGpuExit(void);
7
8const nvioctl_gpu_characteristics* nvGpuGetCharacteristics(void);
9u32 nvGpuGetZcullCtxSize(void);
10const nvioctl_zcull_info* nvGpuGetZcullInfo(void);
11const u32* nvGpuGetTpcMasks(u32 *num_masks_out);
12
13Result nvGpuZbcGetActiveSlotMask(u32 *out_slot, u32 *out_mask);
14Result nvGpuZbcAddColor(const u32 color_l2[4], const u32 color_ds[4], u32 format);
15Result nvGpuZbcAddDepth(float depth);
16Result 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