DRW: Do not update the view ubo for each pass
authorClément Foucault <foucault.clem@gmail.com>
Tue, 21 May 2019 20:11:53 +0000 (22:11 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 22 May 2019 11:29:05 +0000 (13:29 +0200)
commit6914f7125bcfb766ab96f3e264e608013e00ed03
tree26693d300b6c65de4ea342efacccaf8dcd2e8666
parentf7c9a334463c3f4c86c2bbc8f993bc93484c093e
DRW: Do not update the view ubo for each pass

Only update if the view changes.
source/blender/draw/intern/draw_manager.c
source/blender/draw/intern/draw_manager.h
source/blender/draw/intern/draw_manager_exec.c