Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_draw.c
| Show First 20 Lines • Show All 1,891 Lines • ▼ Show 20 Lines | if (special_seq_update) { | ||||
| GPU_blend(false); | GPU_blend(false); | ||||
| } | } | ||||
| } | } | ||||
| static void seq_draw_sfra_efra(Scene *scene, View2D *v2d) | static void seq_draw_sfra_efra(Scene *scene, View2D *v2d) | ||||
| { | { | ||||
| const Editing *ed = BKE_sequencer_editing_get(scene, false); | const Editing *ed = BKE_sequencer_editing_get(scene, false); | ||||
| const int frame_sta = scene->r.sfra; | const int frame_sta = scene->r.sfra; | ||||
| const int frame_end = scene->r.efra + 1; | const int frame_end = scene->r.efra; | ||||
| GPU_blend(true); | GPU_blend(true); | ||||
| uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT); | uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT); | ||||
| immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR); | immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR); | ||||
| /* draw darkened area outside of active timeline | /* draw darkened area outside of active timeline | ||||
| * frame range used is preview range or scene range */ | * frame range used is preview range or scene range */ | ||||
| ▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines | |||||