Epok Engine

PSYQO SDK

psyqo::GPU

Class

Class

The singleton GPU class.

Namespace
psyqo
Header
cdrom-device.hh
Include
#include "psyqo/cdrom-device.hh"
Module
cdrom-device
Source
https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/cdrom-device.hh:45

Basic usage

This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.

C++ example
#include "psyqo/cdrom-device.hh"

psyqo::GPU& value = /* obtain a valid instance from your game */;

Nested types

Fields and constants

Public 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.MethodpauseTimerPauses 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 templateuploadToVRAMUploads 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.Method

Static methods