예제 #1
0
FilterEffectRenderer::FilterEffectRenderer(FilterEffectObserver* observer)
    : m_observer(observer)
    , m_graphicsBufferAttached(false)
{
    setFilterResolution(FloatSize(1, 1));
    m_sourceGraphic = SourceGraphic::create(this);
}
예제 #2
0
RenderSnapshottedPlugInBlurFilter::RenderSnapshottedPlugInBlurFilter(int radius)
{
    setFilterResolution(FloatSize(1, 1));
    m_sourceGraphic = SourceGraphic::create(this);
    m_blur = FEGaussianBlur::create(this, radius, radius);
    m_blur->inputEffects().append(m_sourceGraphic);
}
예제 #3
0
FilterEffectRenderer::FilterEffectRenderer()
    : Filter(AffineTransform())
    , m_graphicsBufferAttached(false)
    , m_hasFilterThatMovesPixels(false)
{
    setFilterResolution(FloatSize(1, 1));
    m_sourceGraphic = SourceGraphic::create(*this);
}
예제 #4
0
FilterEffectRenderer::FilterEffectRenderer()
    : m_graphicsBufferAttached(false)
    , m_hasFilterThatMovesPixels(false)
#if ENABLE(CSS_SHADERS)
    , m_hasCustomShaderFilter(false)
#endif
{
    setFilterResolution(FloatSize(1, 1));
    m_sourceGraphic = SourceGraphic::create(this);
}
예제 #5
0
FilterEffectRenderer::FilterEffectRenderer(FilterEffectObserver* observer)
    : m_observer(observer)
    , m_topOutset(0)
    , m_rightOutset(0)
    , m_bottomOutset(0)
    , m_leftOutset(0)
    , m_graphicsBufferAttached(false)
    , m_hasFilterThatMovesPixels(false)
{
    setFilterResolution(FloatSize(1, 1));
    m_sourceGraphic = SourceGraphic::create(this);
}
예제 #6
0
ImageBufferFilter::ImageBufferFilter(const FloatRect& sourceImageRect)
    : Filter()
    , m_sourceImageRect(sourceImageRect)
{
    setFilterResolution(FloatSize(1, 1));
}