From: Eric A. <er...@an...> - 2010-05-14 20:21:35
|
This was a massive bottleneck: 5 * 5 * 12 * 12 * 13 * 13 or so is quite a few frames, especially when you're synced to vblank. Brings runtime down to 2 minutes on my system. --- src/glean/tblend.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/glean/tblend.cpp b/src/glean/tblend.cpp index 057ee4a..51d29fe 100644 --- a/src/glean/tblend.cpp +++ b/src/glean/tblend.cpp @@ -617,7 +617,8 @@ BlendFuncTest::runCombo(BlendFuncResult& r, Window& w, runFactorsResult res(runFactors(p.srcRGB, p.srcA, p.dstRGB, p.dstA, p.opRGB, p.opA, p.constColor, *(r.config), env)); - w.swap(); + if (!env.options.quick) + w.swap(); p.rbErr = res.readbackErrorBits; p.blErr = res.blendErrorBits; -- 1.7.0.4 |