Go to the source code of this file.
Macro Definition Documentation
|#define VFPU_ALIGNMENT (sizeof(float) * 4) /* alignment required for VFPU matrix loads and stores */
Delete a VFPU context.
This frees the resources used by the VFPU context.
|context||The VFPU context to be deleted. |
References free(), i, NMAT, and NULL.
Use a set of VFPU matrices.
This restores the parts of the VFPU state the caller wants restored (if necessary). If the caller was the previous user of the the matrix set, then this call is effectively a no-op. If a matrix has never been used by this context before, then it will initially have an undefined value.
|context||The VFPU context the caller wants to restore from. It is valid to pass NULL as a context. This means the caller wants to reserve a temporary matrix without affecting other VFPU users, but doesn't want any long-term matrices itself.|
|keepset||The set of matrices the caller wants to use, and keep the values persistently.|
|tempset||A set of matrices the callers wants to use temporarily, but doesn't care about the values in the long-term. |
References c, NULL, pspvfpu_context::owned, and pspvfpu_context::valid.