Blender Git Loki

Git Commits -> Revision 862ec82

Revision 862ec82 by Jeroen Bakker (master)
April 9, 2020, 17:12 (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: 862ec829422241878b3345661476d8551935aed2
Parent Commit: bf68e1a
Lines Changed: +103, -28

1 Modified Path:

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