Esempio 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;
}
Esempio 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();
}
Esempio n. 3
0
angle::Result FenceNV9::test(const gl::Context *context, GLboolean *outFinished)
{
    return testHelper(GetImplAs<Context9>(context), true, outFinished);
}
Esempio n. 4
0
gl::Error FenceNV9::test(GLboolean *outFinished)
{
    return testHelper(true, outFinished);
}