/* === S Y N F I G ========================================================= */
/*! \file mod_filter/blur.cpp
-** \brief Template Header
+** \brief Implementation of the "Blur" layer
**
** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
bool
Blur_Layer::accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const
{
+ // don't do anything at quality 10
+ if (quality == 10)
+ return context.accelerated_render(surface,quality,renddesc,cb);
+
// int x,y;
SuperCallback stageone(cb,0,5000,10000);
SuperCallback stagetwo(cb,5000,10000,10000);