Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp

Issue 1860903002: Update Source/platform/ to assume Oilpan only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back out ScrollAnimatorMac() accidental change Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) 2010 Zoltan Herczeg <zherczeg@webkit.org> 6 * Copyright (C) 2010 Zoltan Herczeg <zherczeg@webkit.org>
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 28 matching lines...) Expand all
39 , m_kernelSize(kernelSize) 39 , m_kernelSize(kernelSize)
40 , m_divisor(divisor) 40 , m_divisor(divisor)
41 , m_bias(bias) 41 , m_bias(bias)
42 , m_targetOffset(targetOffset) 42 , m_targetOffset(targetOffset)
43 , m_edgeMode(edgeMode) 43 , m_edgeMode(edgeMode)
44 , m_preserveAlpha(preserveAlpha) 44 , m_preserveAlpha(preserveAlpha)
45 , m_kernelMatrix(kernelMatrix) 45 , m_kernelMatrix(kernelMatrix)
46 { 46 {
47 } 47 }
48 48
49 RawPtr<FEConvolveMatrix> FEConvolveMatrix::create(Filter* filter, const IntSize& kernelSize, 49 FEConvolveMatrix* FEConvolveMatrix::create(Filter* filter, const IntSize& kernel Size,
50 float divisor, float bias, const IntPoint& targetOffset, EdgeModeType edgeMo de, 50 float divisor, float bias, const IntPoint& targetOffset, EdgeModeType edgeMo de,
51 bool preserveAlpha, const Vector<float>& kernelMatrix) 51 bool preserveAlpha, const Vector<float>& kernelMatrix)
52 { 52 {
53 return new FEConvolveMatrix(filter, kernelSize, divisor, bias, targetOffset, edgeMode, 53 return new FEConvolveMatrix(filter, kernelSize, divisor, bias, targetOffset, edgeMode,
54 preserveAlpha, kernelMatrix); 54 preserveAlpha, kernelMatrix);
55 } 55 }
56 56
57 FloatRect FEConvolveMatrix::mapPaintRect(const FloatRect& rect, bool forward) co nst 57 FloatRect FEConvolveMatrix::mapPaintRect(const FloatRect& rect, bool forward) co nst
58 { 58 {
59 FloatRect result = rect; 59 FloatRect result = rect;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 << "divisor=\"" << m_divisor << "\" " 186 << "divisor=\"" << m_divisor << "\" "
187 << "bias=\"" << m_bias << "\" " 187 << "bias=\"" << m_bias << "\" "
188 << "target=\"" << m_targetOffset << "\" " 188 << "target=\"" << m_targetOffset << "\" "
189 << "edgeMode=\"" << m_edgeMode << "\" " 189 << "edgeMode=\"" << m_edgeMode << "\" "
190 << "preserveAlpha=\"" << m_preserveAlpha << "\"]\n"; 190 << "preserveAlpha=\"" << m_preserveAlpha << "\"]\n";
191 inputEffect(0)->externalRepresentation(ts, indent + 1); 191 inputEffect(0)->externalRepresentation(ts, indent + 1);
192 return ts; 192 return ts;
193 } 193 }
194 194
195 } // namespace blink 195 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698