Blender Git Loki
Git Commits -> Revision 86914e7
Revision 86914e7 by Clément Foucault (master) April 26, 2019, 13:33 (GMT) |
GPUSelect: Don't read depth on every draw If the draw uses the same id as the previous draw, there is no need to read the depth buffer at this point, avoiding a CPU-GPU sync bubble. Fixes T62511 Selection is significantly slower in production scenes. With this patch glReadPixels is not the bottleneck. Regular drawing Is still very slow so I would suggest fixing the regular drawing first before trying to improve the selection algorithm. |
Commit Details:
Full Hash: 86914e713347082aed8d77b663a02068c03b6313
Parent Commit: 50d75cd
Lines Changed: +7, -0
1 Modified Path:
/source/blender/gpu/intern/gpu_select_pick.c (+7, -0) (Diff)