Optimized texture preprocessing.
Optimized texture preprocessing.

Preprocessing only needs to happen when a processed layer
doesn't exist in the associated pixmap, so only do it when the
number of pixmap layers is 1.

batbuild/duality,Andrea/duality,Andrea/duality