GrContextState

Snapshot of the context's state. \ Used when we need to restore the context to a previous state.

Members

Variables

flocalsPos
uint flocalsPos;

Local variables: Access with Xlocals[XlocalsPos + variableIndex]

fstackPos
int fstackPos;

Current expression stack top +//// Ditt

ilocalsPos
uint ilocalsPos;

Local variables: Access with Xlocals[XlocalsPos + variableIndex]

istackPos
int istackPos;

Current expression stack top +//// Ditt

olocalsPos
uint olocalsPos;

Local variables: Access with Xlocals[XlocalsPos + variableIndex]

ostackPos
int ostackPos;

Current expression stack top

slocalsPos
uint slocalsPos;

Local variables: Access with Xlocals[XlocalsPos + variableIndex]

sstackPos
int sstackPos;

Current expression stack top +//// Ditt

stackFrame
GrStackFrame stackFrame;

Callstack

stackPos
uint stackPos;

Stack frame pointer for the current function. Each function takes 2 integer: the return pc, and the local variable size.

Meta