Lines Matching defs:swap_info
1201 DRI2FrameEventPtr swap_info = NULL;
1226 swap_info = calloc(1, sizeof(DRI2FrameEventRec));
1227 if (!swap_info)
1230 swap_info->type = DRI2_SWAP;
1231 swap_info->drawable_id = draw->id;
1232 swap_info->client = client;
1233 swap_info->event_complete = func;
1234 swap_info->event_data = data;
1235 swap_info->front = front;
1236 swap_info->back = back;
1237 swap_info->crtc = crtc;
1240 swap_info, radeon_dri2_frame_event_handler,
1247 swap_info->drm_queue_seq = drm_queue_seq;
1261 radeon_dri2_schedule_event(delay, swap_info);
1278 swap_info->type = DRI2_FLIP;
1282 /* Correct target_msc by 'flip' if swap_info->type == DRI2_FLIP.
1319 swap_info->frame = *target_msc;
1362 swap_info->frame = *target_msc;
1367 if (swap_info) {
1368 swap_info->type = DRI2_SWAP;
1369 radeon_dri2_schedule_event(FALLBACK_SWAP_DELAY, swap_info);