From: Eric A. <er...@an...> - 2010-05-14 20:21:35
|
Given that failure in blending is usually "I plugged in the wrong factor, whoops", testing 64 different combos of random src/dst colors instead of 1024 seems reasonable. Brings runtime down from 2 minutes to 20 seconds on my system. --- src/glean/tblend.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glean/tblend.h b/src/glean/tblend.h index abf3c80..3080a26 100644 --- a/src/glean/tblend.h +++ b/src/glean/tblend.h @@ -35,7 +35,7 @@ namespace GLEAN { -#define drawingSize 32 // We will check each pair of blend factors +#define drawingSize 8 // We will check each pair of blend factors // for each pixel in a square image of this // dimension, so if you make it too large, // the tests may take quite a while to run. -- 1.7.0.4 |