Blender Git Loki

Git Commits -> Revision 02caa87

Revision 02caa87 by Jeroen Bakker (modifier-panels-ui)
April 16, 2020, 19:28 (GMT)
GPUViewport: Use GPUBatch for viewport drawing

When drawing the viewport to the screen the draw calls were not batched.
This resulted in measurable slowdown on Windows Intel 10th gen
platforms.

This patch would cache the last draw calls per viewport. Our API does
support partial redrawing of the viewport, but that isn't used anywhere.

This patch does not include stereoscopy rendering. This still uses the
imm approach and would still be slow on certain hardware.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D7357

Commit Details:

Full Hash: 02caa87e529f05186c1f3248f99b0e78b8588d2c
Parent Commit: 4bbfa92
Committed By: Julian Eisel
Lines Changed: +110, -28

1 Modified Path:

/source/blender/gpu/intern/gpu_viewport.c (+110, -28) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021