Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_draw.c
| Show First 20 Lines • Show All 1,540 Lines • ▼ Show 20 Lines | void sequencer_draw_preview(const bContext *C, | ||||
| ARegion *ar, | ARegion *ar, | ||||
| SpaceSeq *sseq, | SpaceSeq *sseq, | ||||
| int cfra, | int cfra, | ||||
| int frame_ofs, | int frame_ofs, | ||||
| bool draw_overlay, | bool draw_overlay, | ||||
| bool draw_backdrop) | bool draw_backdrop) | ||||
| { | { | ||||
| struct Main *bmain = CTX_data_main(C); | struct Main *bmain = CTX_data_main(C); | ||||
| struct Depsgraph *depsgraph = CTX_data_depsgraph(C); | struct Depsgraph *depsgraph = CTX_data_expect_evaluated_depsgraph(C); | ||||
| struct View2D *v2d = &ar->v2d; | struct View2D *v2d = &ar->v2d; | ||||
| struct ImBuf *ibuf = NULL; | struct ImBuf *ibuf = NULL; | ||||
| struct ImBuf *scope = NULL; | struct ImBuf *scope = NULL; | ||||
| float viewrect[2]; | float viewrect[2]; | ||||
| const bool show_imbuf = ED_space_sequencer_check_show_imbuf(sseq); | const bool show_imbuf = ED_space_sequencer_check_show_imbuf(sseq); | ||||
| const bool draw_gpencil = ((sseq->flag & SEQ_SHOW_GPENCIL) && sseq->gpd); | const bool draw_gpencil = ((sseq->flag & SEQ_SHOW_GPENCIL) && sseq->gpd); | ||||
| const char *names[2] = {STEREO_LEFT_NAME, STEREO_RIGHT_NAME}; | const char *names[2] = {STEREO_LEFT_NAME, STEREO_RIGHT_NAME}; | ||||
| ▲ Show 20 Lines • Show All 558 Lines • Show Last 20 Lines | |||||