WM: Use draw manager to draw UV image editor spaces
authorClément Foucault <foucault.clem@gmail.com>
Wed, 9 Jan 2019 21:26:52 +0000 (22:26 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 11 Jan 2019 15:00:23 +0000 (16:00 +0100)
commit86ec304ffabcb3df6853753f0beb4d316c03adf8
tree4a0875b03601b51c756997bb0a3e0e5548a25802
parent74260a2b6da86e3f6da0a37afc6d47338c1be034
WM: Use draw manager to draw UV image editor spaces

This is in order to use batch cache directly without using tricks like
batch presets reseting the VAOs.

Note: For now it also create a depth buffer for this area which is not
needed. We could get rid of this to lower VRAM usage.
source/blender/editors/space_image/space_image.c
source/blender/windowmanager/intern/wm_draw.c