Blender Git Loki

Git Commits -> Revision 5e626e7

Revision 5e626e7 by Clément Foucault (master)
June 13, 2019, 19:15 (GMT)
Fix T61768 Eevee Offscreen rendering

The issue was caused by a bad usage of GPUOffscreen.

The Framebuffer was created using a window framebuffer and used
in a viewport callback when another GPUContext was bound.

This change allows up to 3 framebuffers per GPUOffscreen.

Most common case will be using 2 framebuffers (one for init and
one for drawing) but in the case of more (bad usage) it will just
degrade performance a bit.

Commit Details:

Full Hash: 5e626e76645905e71182a9379f0bf86ae3010203
Parent Commit: 1688a57
Lines Changed: +58, -10

1 Modified Path:

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