Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/sequencer.c
| Show First 20 Lines • Show All 3,305 Lines • ▼ Show 20 Lines | if ((sequencer_view3d_cb && do_seq_gl && camera) && is_thread_main) { | ||||
| * should probably be added to do_versions at some point if the functionality stays */ | * should probably be added to do_versions at some point if the functionality stays */ | ||||
| if (context->scene->r.seq_prev_type == 0) | if (context->scene->r.seq_prev_type == 0) | ||||
| context->scene->r.seq_prev_type = 3 /* == OB_SOLID */; | context->scene->r.seq_prev_type = 3 /* == OB_SOLID */; | ||||
| /* opengl offscreen render */ | /* opengl offscreen render */ | ||||
| BKE_scene_update_for_newframe(context->eval_ctx, context->bmain, scene); | BKE_scene_update_for_newframe(context->eval_ctx, context->bmain, scene); | ||||
| ibuf = sequencer_view3d_cb( | ibuf = sequencer_view3d_cb( | ||||
| /* set for OpenGL render (NULL when scrubbing) */ | /* set for OpenGL render (NULL when scrubbing) */ | ||||
| context->eval_ctx, scene, BKE_scene_layer_from_scene_get(scene), camera, width, height, IB_rect, | context->eval_ctx, scene, NULL, BKE_scene_layer_from_scene_get(scene), camera, width, height, IB_rect, | ||||
| context->scene->r.seq_prev_type, | context->scene->r.seq_prev_type, | ||||
| (context->scene->r.seq_flag & R_SEQ_SOLID_TEX) != 0, | (context->scene->r.seq_flag & R_SEQ_SOLID_TEX) != 0, | ||||
| use_gpencil, use_background, scene->r.alphamode, | use_gpencil, use_background, scene->r.alphamode, | ||||
| context->gpu_samples, context->gpu_full_samples, viewname, | context->gpu_samples, context->gpu_full_samples, viewname, | ||||
| context->gpu_fx, context->gpu_offscreen, err_out); | context->gpu_fx, context->gpu_offscreen, err_out); | ||||
| if (ibuf == NULL) { | if (ibuf == NULL) { | ||||
| fprintf(stderr, "seq_render_scene_strip failed to get opengl buffer: %s\n", err_out); | fprintf(stderr, "seq_render_scene_strip failed to get opengl buffer: %s\n", err_out); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 2,354 Lines • Show Last 20 Lines | |||||