summaryrefslogtreecommitdiff
path: root/vcl/opengl/scale.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-09 21:02:48 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-10 23:27:39 +0200
commit64baed93cfa9b74d6ef5a8913918cfbaf8499271 (patch)
tree5ca005dab162f486ca8e269d363c4afb1e6e8bfb /vcl/opengl/scale.cxx
parent7aa9f045387a95d0b1a516f917fbcd23e0578902 (diff)
vcl: move resample kernel classes out of bitmap.hxx
Since commit f31e6debfa7e330f985a0846a6ca91130d3dab20 this drags in ridiculous amounts of boost headers, for probably negigible improvemnts of sin(x)/x for tiny x values. The compile time impact was not negligible, moving this nonsense to its own header removes 1.79 GB of preprocessor input from a full build. Change-Id: Ic41b2210eac8b130726610f2dbdbb449379225d1
Diffstat (limited to 'vcl/opengl/scale.cxx')
-rw-r--r--vcl/opengl/scale.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx
index 7b8691226e81..22db644c0454 100644
--- a/vcl/opengl/scale.cxx
+++ b/vcl/opengl/scale.cxx
@@ -28,6 +28,14 @@
#include "opengl/program.hxx"
#include "opengl/texture.hxx"
+#include <ResampleKernel.hxx>
+
+using vcl::Kernel;
+using vcl::Lanczos3Kernel;
+using vcl::BicubicKernel;
+using vcl::BilinearKernel;
+using vcl::BoxKernel;
+
class ScaleOp : public OpenGLSalBitmapOp
{
private: