Speed up shadow generation for small windows

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-01-01 11:35:59 +00:00
parent 3686bf7a33
commit 428c24a6fa
7 changed files with 34 additions and 17 deletions

View File

@ -531,8 +531,6 @@ typedef struct session {
/// Gaussian map of shadow.
conv *gaussian_map;
// for shadow precomputation
/// Pre-computed table for shadow.
double *shadow_sum;
/// A region in which shadow is not painted on.
region_t shadow_exclude_reg;