diff options
author | Jeroen Bakker <jbakker> | 2020-04-09 08:51:51 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2020-04-09 20:12:51 +0300 |
commit | 862ec829422241878b3345661476d8551935aed2 (patch) | |
tree | a092bd6743180db8477e093935783b35f9326a63 /source/blender/blenkernel/intern/ocean.c | |
parent | bf68e1a54795bbe54badfbe6f97c2c2ee22c6e70 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/intern/ocean.c')
0 files changed, 0 insertions, 0 deletions