• Home
  • Raw
  • Download

Lines Matching refs:dscreen

57 dd_get_file_stream(struct dd_screen *dscreen, unsigned apitrace_call_number)  in dd_get_file_stream()  argument
59 struct pipe_screen *screen = dscreen->screen; in dd_get_file_stream()
61 FILE *f = dd_get_debug_file(dscreen->verbose); in dd_get_file_stream()
889 dd_maybe_dump_record(struct dd_screen *dscreen, struct dd_draw_record *record) in dd_maybe_dump_record() argument
891 if (dscreen->dump_mode == DD_DUMP_ONLY_HANGS || in dd_maybe_dump_record()
892 (dscreen->dump_mode == DD_DUMP_APITRACE_CALL && in dd_maybe_dump_record()
893 dscreen->apitrace_dump_call != record->draw_state.base.apitrace_call_number)) in dd_maybe_dump_record()
897 dd_get_debug_filename_and_mkdir(name, sizeof(name), dscreen->verbose); in dd_maybe_dump_record()
904 dd_write_header(f, dscreen->screen, record->draw_state.base.apitrace_call_number); in dd_maybe_dump_record()
928 struct dd_screen *dscreen = dd_screen(dctx->base.screen); in dd_report_hang() local
929 struct pipe_screen *screen = dscreen->screen; in dd_report_hang()
942 dd_maybe_dump_record(dscreen, record); in dd_report_hang()
947 dd_maybe_dump_record(dscreen, record); in dd_report_hang()
970 dd_write_header(f, dscreen->screen, record->draw_state.base.apitrace_call_number); in dd_report_hang()
999 struct dd_screen *dscreen = dd_screen(dctx->base.screen); in dd_thread_main() local
1000 struct pipe_screen *screen = dscreen->screen; in dd_thread_main()
1037 (uint64_t)dscreen->timeout_ms * 1000*1000)) || in dd_thread_main()
1040 (uint64_t)dscreen->timeout_ms * 1000*1000))) { in dd_thread_main()
1049 dd_maybe_dump_record(dscreen, record); in dd_thread_main()
1097 struct dd_screen *dscreen = dd_screen(dctx->base.screen); in dd_before_draw() local
1099 struct pipe_screen *screen = dscreen->screen; in dd_before_draw()
1103 if (dscreen->timeout_ms > 0) { in dd_before_draw()
1104 if (dscreen->flush_always && dctx->num_draw_calls >= dscreen->skip_count) { in dd_before_draw()
1127 struct dd_screen *dscreen = dd_screen(dctx->base.screen); in dd_after_draw_async() local
1135 if (dscreen->dump_mode == DD_DUMP_APITRACE_CALL && in dd_after_draw_async()
1136 dscreen->apitrace_dump_call > dctx->draw_state.apitrace_call_number) { in dd_after_draw_async()
1146 struct dd_screen *dscreen = dd_screen(dctx->base.screen); in dd_after_draw() local
1149 if (dscreen->timeout_ms > 0) { in dd_after_draw()
1151 if (dscreen->flush_always && dctx->num_draw_calls >= dscreen->skip_count) in dd_after_draw()
1185 if (dscreen->skip_count && dctx->num_draw_calls % 10000 == 0) in dd_after_draw()