Exemplo n.º 1
0
angle::Result FenceNV9::finish(const gl::Context *context)
{
    GLboolean finished = GL_FALSE;
    while (finished != GL_TRUE)
    {
        ANGLE_TRY(testHelper(GetImplAs<Context9>(context), true, &finished));
        Sleep(0);
    }

    return angle::Result::Continue;
}
Exemplo n.º 2
0
gl::Error FenceNV9::finish()
{
    GLboolean finished = GL_FALSE;
    while (finished != GL_TRUE)
    {
        gl::Error error = testHelper(true, &finished);
        if (error.isError())
        {
            return error;
        }

        Sleep(0);
    }

    return gl::NoError();
}
Exemplo n.º 3
0
angle::Result FenceNV9::test(const gl::Context *context, GLboolean *outFinished)
{
    return testHelper(GetImplAs<Context9>(context), true, outFinished);
}
Exemplo n.º 4
0
gl::Error FenceNV9::test(GLboolean *outFinished)
{
    return testHelper(true, outFinished);
}