PSYQO SDK
Gpu
gpu.hh · GPU setup, command submission and frame synchronization
Module
GPU setup, command submission and frame synchronization.
Include this module
C++ include
#include "psyqo/gpu.hh"Types
ColorModeEnum declared by the gpu module for GPU setup, command submission and frame synchronization.EnumConfigurationStruct declared by the gpu module for GPU setup, command submission and frame synchronization.StructInterlaceEnum declared by the gpu module for GPU setup, command submission and frame synchronization.EnumMiscSettingEnum declared by the gpu module for GPU setup, command submission and frame synchronization.EnumResolutionEnum declared by the gpu module for GPU setup, command submission and frame synchronization.EnumVideoModeEnum declared by the gpu module for GPU setup, command submission and frame synchronization.EnumFunctions and methods
armPeriodicTimerCreates a periodic timer.MethodarmTimerCreates a single-use timer.MethodcancelTimerCancels a timer.MethodchainChains an already constructed DMA chain to the next DMA chain transfer.Function templatechangeTimerPeriodChanges the period of a periodic timer.MethodclearImmediately clears the drawing buffer.MethoddelayDelays the coroutine for a specified amount of time.MethoddisableScissorImmediately disables the scissoring of the VRAM.MethodenableScissorEnables the scissoring of the VRAM.MethodgetClearSets a `FastFill` primitive to clear the current drawing buffer.MethodgetFrameCountReturns the number of frames rendered by the GPU so far.MethodgetNextClearSets a `FastFill` primitive to clear the next drawing buffer.MethodgetNextScissorGets the next scissoring region.MethodgetParityGet the index of the current display buffer.MethodgetRefreshRateReturns the refresh rate of the GPU.MethodgetScissorGets the current scissoring region.MethodinitializePerforms `initialize` as part of GPU setup, command submission and frame synchronization.MethodisChainIdleGets the status of the background DMA transfer operation when initiated by a frame flip.MethodisChainTransferredGets the status of the background DMA transfer operation when initiated by a frame flip.MethodisChainTransferringGets the status of the background DMA transfer operation when initiated by a frame flip.MethodnowGets the current timestamp in microseconds.Methodoperator""_msPerforms `operator "" ms` as part of GPU setup, command submission and frame synchronization.Functionoperator""_nsPerforms `operator "" ns` as part of GPU setup, command submission and frame synchronization.Functionoperator""_sPerforms `operator "" s` as part of GPU setup, command submission and frame synchronization.Functionoperator""_usPerforms `operator "" us` as part of GPU setup, command submission and frame synchronization.FunctionpauseTimerPauses a timer.MethodpumpCallbacksRuns one round of event processing.MethodreinitializePerforms `reinitialize` as part of GPU setup, command submission and frame synchronization.MethodresumeTimerResumes a paused timer.MethodsendChainImmediately sends the current DMA chainMethodsendFragmentImmediately sends a fragment to the GPU. This is a blocking operation. See the fragments.hh file for more information.Function templatesendPrimitiveSends a primitive to the GPU. This is a blocking call.Function templatesendRawSends a raw 32 bits value to the Data register of the GPU.MethoduploadToVRAMUploads a buffer to the VRAM as a blocking call.MethodwaitChainIdleWaits until the background DMA transfer operation initiated by a frame flip is complete.MethodwaitFifoWaits until the GPU's FIFO is ready to receive data.MethodwaitReadyWaits until the GPU is ready to send a command.MethodFields, variables and values
AUTONamed value `AUTO` in `psyqo::GPU::VideoMode`.Enum valuec_chainThresholdExposes `c_chainThreshold` on `psyqo::GPU` for GPU setup, command submission and frame synchronization.VariableC15BITSNamed value `C15BITS` in `psyqo::GPU::ColorMode`.Enum valueC24BITSNamed value `C24BITS` in `psyqo::GPU::ColorMode`.Enum valueCLEAR_VRAMNamed value `CLEAR_VRAM` in `psyqo::GPU::MiscSetting`.Enum valueINTERLACEDNamed value `INTERLACED` in `psyqo::GPU::Interlace`.Enum valueKEEP_VRAMNamed value `KEEP_VRAM` in `psyqo::GPU::MiscSetting`.Enum valueNTSCNamed value `NTSC` in `psyqo::GPU::VideoMode`.Enum valuePALNamed value `PAL` in `psyqo::GPU::VideoMode`.Enum valuePROGRESSIVENamed value `PROGRESSIVE` in `psyqo::GPU::Interlace`.Enum valueUS_PER_HBLANKExposes `US_PER_HBLANK` on `psyqo::GPU` for GPU setup, command submission and frame synchronization.VariableW256Named value `W256` in `psyqo::GPU::Resolution`.Enum valueW320Named value `W320` in `psyqo::GPU::Resolution`.Enum valueW368Named value `W368` in `psyqo::GPU::Resolution`.Enum valueW512Named value `W512` in `psyqo::GPU::Resolution`.Enum valueW640Named value `W640` in `psyqo::GPU::Resolution`.Enum value