if (sync->bo) {
drm_intel_bo_wait_rendering(sync->bo);
- s->Status = 1;
+ s->StatusFlag = 1;
drm_intel_bo_unreference(sync->bo);
sync->bo = NULL;
}
if (sync->bo && drm_intel_bo_busy(sync->bo)) {
drm_intel_bo_unreference(sync->bo);
sync->bo = NULL;
- s->Status = 1;
+ s->StatusFlag = 1;
}
}
*/
GLenum SyncCondition;
GLbitfield Flags; /**< Flags passed to glFenceSync */
- GLuint Status:1; /**< Has the sync object been signaled? */
+ GLuint StatusFlag:1; /**< Has the sync object been signaled? */
};
(void) condition;
(void) flags;
- syncObj->Status = 1;
+ syncObj->StatusFlag = 1;
}
syncObj->DeletePending = GL_FALSE;
syncObj->SyncCondition = condition;
syncObj->Flags = flags;
- syncObj->Status = 0;
+ syncObj->StatusFlag = 0;
ctx->Driver.FenceSync(ctx, syncObj, condition, flags);
* if <sync> was signaled, even if the value of <timeout> is zero.
*/
ctx->Driver.CheckSync(ctx, syncObj);
- if (syncObj->Status) {
+ if (syncObj->StatusFlag) {
ret = GL_ALREADY_SIGNALED;
} else {
ctx->Driver.ClientWaitSync(ctx, syncObj, flags, timeout);
- ret = syncObj->Status ? GL_CONDITION_SATISFIED : GL_TIMEOUT_EXPIRED;
+ ret = syncObj->StatusFlag ? GL_CONDITION_SATISFIED : GL_TIMEOUT_EXPIRED;
}
_mesa_unref_sync_object(ctx, syncObj);
*/
ctx->Driver.CheckSync(ctx, syncObj);
- v[0] = (syncObj->Status) ? GL_SIGNALED : GL_UNSIGNALED;
+ v[0] = (syncObj->StatusFlag) ? GL_SIGNALED : GL_UNSIGNALED;
size = 1;
break;