Blender Git Statistics -> Branches -> imm_port_wm_playanim

"Imm_port_wm_playanim" branch

Total commits : 2
Total committers : 1
First Commit : April 5, 2017
Latest Commit : April 5, 2017


Commits by Date

DateNumber of Commits
April 5, 20172

Committers

AuthorNumber of Commits
Germano Cavalcante2

Popular Files

FilenameTotal Edits
drawobject.c79
view3d_draw.c68
gpu_shader.c62
CMakeLists.txt57
GPU_shader.h46
draw_manager.c45
view3d_draw_legacy.c42
glutil.c39
layer.c34
immediate.c32

Latest commits Feed

April 5, 2017, 05:22 (GMT)
fix ps->go = false;
April 5, 2017, 03:54 (GMT)
initial commit: call the `playanim_window_open` only once

immInit should only be called once per application.
However, immediate mode only works if a GHOST window is created.
But every time you drop a video in the anim player, `GHOST_DisposeWindow` is called and a new window is created next. Forcing destroy and init a new immediate mode context :

This patch changes the order of things. And call `GHOST_SetClientSize` intead `GHOST_CreateSystem`, `GHOST_CreateEventConsumer`, `GHOST_AddEventConsumer` and `playanim_window_open`.

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021