Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
123
11.6.5.2 MML_GDC_PE_API MM_ERROR mmlGdcPeAttribute(MML_GDC_PE_CONTEXT pectx,
MML_GDC_PE_CTX_ATTR pname, MM_U32 param)
Set an attribute for the specified context.
If pectx is equal to NULL, mmlGdcPeAttribute is terminated without any operation.
Parameters
in,out
pectx
Pixel Engine context (!=NULL).
in
pname
State name for setting. Can be one of MML_GDC_PE_CTX_ATTR
in
param
Parameter for argument target (See MML_GDC_PE_CTX_ATTR description).
Return values
MML_OK
On success. Otherwise the related error code.
11.6.5.3 MML_GDC_PE_API MM_ERROR mmlGdcPeBindSurface ( MML_GDC_PE_CONTEXT
pectx, MM_U32 target, MML_GDC_SURFACE surface )
mmlGdcPeBindSurface is setting function for parameters about source, destination, mask and store surface. If pectx
is equal to NULL, mmlGdcPeBindSurface is terminated without any operation.
Note:
All bound surfaces must not be deleted as long as the context is used. Parameter changes in the surface object
after binding are used for further blit operations with the context.
Parameters
in,out
pectx
Pixel Engine context (!=NULL).
in
target
Binding target. It is a single or OR combined value of:
MML_GDC_PE_SRC
MML_GDC_PE_DST
MML_GDC_PE_STORE
MML_GDC_PE_MASK
in
surface
Surface object; NULL: unbind surface.
Return values
MML_OK
On success. Otherwise the related error code.