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