Skip to content

fix a dirty shadows

Andrey Butirsky requested to merge work/bam/shadows_fix into master

ShmPool tries to resize itself when creating new images if the existing allocated memory is too small.

As shadows currently use a single shared pool, this potentially happens multiple times.

When an SHMPool is resized, the existing memory allocation is invalid and all existing buffers have to be re-uploaded. This patch introduces one pool per tile, which alleviates that problem.

BUG: 439408

Edited by Andrey Butirsky

Merge request reports

Loading