Blender Git Loki

Git Commits -> Revision 82e3302

May 21, 2017, 14:28 (GMT)
Create a cache to drawing objects

Due speciall requirements for 2D drawing, the GP objects must be drawn after be sorteed by zdepth value.

We cannot use a simple GPU zdepth because this override the current layer/strokes order and the artists need to keep these controls as primary sorting method instead of GPU zdepth.

Commit Details:

Full Hash: 82e3302f448a153011259a776ed38d7ff4f3b6e3
Parent Commit: 62a8d9f
Lines Changed: +109, -2

3 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+71, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+20, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021