UVEdit: Port batches to batch request
authorClément Foucault <foucault.clem@gmail.com>
Wed, 9 Jan 2019 21:56:27 +0000 (22:56 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 11 Jan 2019 15:00:23 +0000 (16:00 +0100)
commit5f3fdee53a3e2716013147029e6da9e90e2c8ba8
tree7530dfbd375a25f11c02143c004fcfb22f63dfb7
parent86ec304ffabcb3df6853753f0beb4d316c03adf8
UVEdit: Port batches to batch request

This is in order to allow more spaces to have their batches created at the
same time and sharing the batches.

This is part of the effort fo making the drawing code more optimized. This
commit however should not introduce any difference.

This commit bypass the aspect ratio correction for angle stretch display
but this should be fixed in the next commit.
source/blender/draw/intern/draw_cache_impl.h
source/blender/draw/intern/draw_cache_impl_mesh.c
source/blender/editors/include/ED_uvedit.h
source/blender/editors/uvedit/uvedit_draw.c
source/blender/editors/uvedit/uvedit_intern.h