我要评分
获取效率
正确性
完整性
易理解

WaitRebuildStateMachine

Function Usage

After binding its GL and Render Control APIs to the instruction stream engine, goldfish-opengl calls this function to wait for the state machine of the instruction stream engine to be rebuilt.

Restrictions

N/A

Prototype

void WaitRebuildStateMachine(uint32_t streamHandle);

Parameters

Parameter

Input/Output

Type

Description

streamHandle

Input

uint32_t

Handle for connecting goldfish to the stream of the instruction stream engine

Returns

N/A

Example Call

void Test()
{
    uint32_t streamHandle = GetStream();
    if (streamHandle > 0) {
        WaitRebuildStateMachine(streamHandle);
    } else {
        // Failed to create the stream handle.
        ...
    }
}