HomeSort by relevance Sort by last modified time
    Searched refs:FilterOperation (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/chromium_org/cc/output/
filter_operations_unittest.cc 16 ops.Append(FilterOperation::CreateBlurFilter(20));
28 ops.Append(FilterOperation::CreateDropShadowFilter(gfx::Point(3, 8), 20, 0));
40 FilterOperation op = FilterOperation::Create##filter_name##Filter(a); \
41 EXPECT_EQ(FilterOperation::filter_type, op.type()); \
44 FilterOperation op2 = FilterOperation::CreateEmptyFilter(); \
45 op2.set_type(FilterOperation::filter_type); \
51 EXPECT_EQ(FilterOperation::filter_type, op2.type()); \
57 FilterOperation op =
    [all...]
filter_operation.cc 15 bool FilterOperation::operator==(const FilterOperation& other) const {
30 FilterOperation::FilterOperation(FilterType type, float amount)
42 FilterOperation::FilterOperation(FilterType type,
55 FilterOperation::FilterOperation(FilterType type, SkScalar matrix[20])
65 FilterOperation::FilterOperation(FilterType type, float amount, int inset
    [all...]
filter_operation.h 23 class CC_EXPORT FilterOperation {
42 FilterOperation(const FilterOperation& other);
44 ~FilterOperation();
79 static FilterOperation CreateGrayscaleFilter(float amount) {
80 return FilterOperation(GRAYSCALE, amount);
83 static FilterOperation CreateSepiaFilter(float amount) {
84 return FilterOperation(SEPIA, amount);
87 static FilterOperation CreateSaturateFilter(float amount) {
88 return FilterOperation(SATURATE, amount)
    [all...]
filter_operations.cc 36 void FilterOperations::Append(const FilterOperation& filter) {
62 const FilterOperation& op = operations_[i];
65 DCHECK(op.type() != FilterOperation::REFERENCE);
66 if (op.type() == FilterOperation::BLUR ||
67 op.type() == FilterOperation::DROP_SHADOW) {
69 if (op.type() == FilterOperation::BLUR) {
86 const FilterOperation& op = operations_[i];
90 case FilterOperation::BLUR:
91 case FilterOperation::DROP_SHADOW:
92 case FilterOperation::ZOOM
    [all...]
filter_operations.h 37 void Append(const FilterOperation& filter);
53 const FilterOperation& at(size_t index) const {
74 std::vector<FilterOperation> operations_;
render_surface_filters.cc 167 const FilterOperation& op = filters.at(i);
169 case FilterOperation::GRAYSCALE:
173 case FilterOperation::SEPIA:
177 case FilterOperation::SATURATE:
181 case FilterOperation::HUE_ROTATE:
185 case FilterOperation::INVERT:
189 case FilterOperation::OPACITY:
193 case FilterOperation::BRIGHTNESS:
197 case FilterOperation::CONTRAST:
201 case FilterOperation::BLUR
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
ReferenceFilterBuilder.h 43 class FilterOperation;
49 static DocumentResourceReference* documentResourceReference(const FilterOperation*);
50 static void setDocumentResourceReference(const FilterOperation*, PassOwnPtr<DocumentResourceReference>);
51 static void clearDocumentResourceReference(const FilterOperation*);
56 static HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >* documentResourceReferences;
ReferenceFilterBuilder.cpp 45 HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >* ReferenceFilterBuilder::documentResourceReferences = 0;
47 DocumentResourceReference* ReferenceFilterBuilder::documentResourceReference(const FilterOperation* filterOperation)
52 return documentResourceReferences->get(filterOperation);
55 void ReferenceFilterBuilder::setDocumentResourceReference(const FilterOperation* filterOperation, PassOwnPtr<DocumentResourceReference> documentResourceReference)
58 documentResourceReferences = new HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >;
59 documentResourceReferences->add(filterOperation, documentResourceReference);
62 void ReferenceFilterBuilder::clearDocumentResourceReference(const FilterOperation* filterOperation)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FilterOperation.h 43 class PLATFORM_EXPORT FilterOperation : public RefCounted<FilterOperation> {
62 static bool canInterpolate(FilterOperation::OperationType type)
87 virtual ~FilterOperation() { }
89 static PassRefPtr<FilterOperation> blend(const FilterOperation* from, const FilterOperation* to, double progress);
90 virtual bool operator==(const FilterOperation&) const = 0;
91 bool operator!=(const FilterOperation& o) const { return !(*this == o); }
94 virtual bool isSameType(const FilterOperation& o) const { return o.type() == m_type;
    [all...]
SkiaImageFilterBuilder.cpp 102 const FilterOperation& op = *operations.at(i);
104 case FilterOperation::REFERENCE: {
128 case FilterOperation::GRAYSCALE:
129 case FilterOperation::SEPIA:
130 case FilterOperation::SATURATE:
131 case FilterOperation::HUE_ROTATE: {
134 case FilterOperation::GRAYSCALE:
137 case FilterOperation::SEPIA:
140 case FilterOperation::SATURATE:
143 case FilterOperation::HUE_ROTATE
    [all...]
FilterOperation.cpp 28 #include "platform/graphics/filters/FilterOperation.h"
34 PassRefPtr<FilterOperation> FilterOperation::blend(const FilterOperation* from, const FilterOperation* to, double progress)
42 PassRefPtr<FilterOperation> BasicColorMatrixFilterOperation::blend(const FilterOperation* from, double progress) const
81 PassRefPtr<FilterOperation> BasicComponentTransferFilterOperation::blend(const FilterOperation* from, double progress) const
119 PassRefPtr<FilterOperation> BlurFilterOperation::blend(const FilterOperation* from, double progress) cons
    [all...]
FilterOperations.cpp 76 if (!FilterOperation::canInterpolate(operations()[i]->type()))
81 if (!FilterOperation::canInterpolate(other.operations()[i]->type()))
96 FilterOperation::OperationType type = m_operations.at(i)->type();
97 if (type == FilterOperation::CUSTOM || type == FilterOperation::VALIDATED_CUSTOM)
106 if (m_operations.at(i)->type() == FilterOperation::REFERENCE)
115 FilterOperation::OperationType operationType = m_operations.at(i)->type();
116 if (operationType == FilterOperation::BLUR || operationType == FilterOperation::DROP_SHADOW || operationType == FilterOperation::REFERENCE
    [all...]
FilterOperations.h 31 #include "platform/graphics/filters/FilterOperation.h"
58 Vector<RefPtr<FilterOperation> >& operations() { return m_operations; }
59 const Vector<RefPtr<FilterOperation> >& operations() const { return m_operations; }
63 const FilterOperation* at(size_t index) const { return index < m_operations.size() ? m_operations.at(index).get() : 0; }
76 Vector<RefPtr<FilterOperation> > m_operations;
  /external/chromium_org/webkit/renderer/compositor_bindings/
web_filter_operations_impl.cc 25 filter_operations_.Append(cc::FilterOperation::CreateGrayscaleFilter(amount));
29 filter_operations_.Append(cc::FilterOperation::CreateSepiaFilter(amount));
33 filter_operations_.Append(cc::FilterOperation::CreateSaturateFilter(amount));
37 filter_operations_.Append(cc::FilterOperation::CreateHueRotateFilter(amount));
41 filter_operations_.Append(cc::FilterOperation::CreateInvertFilter(amount));
46 cc::FilterOperation::CreateBrightnessFilter(amount));
50 filter_operations_.Append(cc::FilterOperation::CreateContrastFilter(amount));
54 filter_operations_.Append(cc::FilterOperation::CreateOpacityFilter(amount));
58 filter_operations_.Append(cc::FilterOperation::CreateBlurFilter(amount));
64 filter_operations_.Append(cc::FilterOperation::CreateDropShadowFilter
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/
ValidatedCustomFilterOperation.cpp 40 : FilterOperation(VALIDATED_CUSTOM)
53 PassRefPtr<FilterOperation> ValidatedCustomFilterOperation::blend(const FilterOperation*, double) const
CustomFilterOperation.cpp 38 : FilterOperation(CUSTOM)
51 PassRefPtr<FilterOperation> CustomFilterOperation::blend(const FilterOperation* from, double progress) const
CustomFilterOperation.h 34 #include "platform/graphics/filters/FilterOperation.h"
43 class PLATFORM_EXPORT CustomFilterOperation : public FilterOperation {
70 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress) const OVERRIDE;
71 virtual bool operator==(const FilterOperation& o) const
ValidatedCustomFilterOperation.h 33 #include "platform/graphics/filters/FilterOperation.h"
41 class PLATFORM_EXPORT ValidatedCustomFilterOperation : public FilterOperation {
64 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress) const OVERRIDE;
65 virtual bool operator==(const FilterOperation& o) const
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ElementStyleResources.h 39 class FilterOperation;
43 typedef HashMap<FilterOperation*, RefPtr<CSSSVGDocumentValue> > PendingSVGDocumentMap;
69 void addPendingSVGDocument(FilterOperation*, CSSSVGDocumentValue*);
FilterOperationResolver.cpp 53 static FilterOperation::OperationType filterOperationForType(CSSFilterValue::FilterOperationType type)
57 return FilterOperation::REFERENCE;
59 return FilterOperation::GRAYSCALE;
61 return FilterOperation::SEPIA;
63 return FilterOperation::SATURATE;
65 return FilterOperation::HUE_ROTATE;
67 return FilterOperation::INVERT;
69 return FilterOperation::OPACITY;
71 return FilterOperation::BRIGHTNESS;
73 return FilterOperation::CONTRAST
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableFilterOperations.cpp 49 FilterOperation* from = (i < fromSize) ? m_operations.operations()[i].get() : 0;
50 FilterOperation* to = (i < toSize) ? target->m_operations.operations()[i].get() : 0;
51 RefPtr<FilterOperation> blendedOp = FilterOperation::blend(from, to, fraction);
  /external/chromium_org/content/common/
cc_messages.cc 18 void ParamTraits<cc::FilterOperation>::Write(
22 case cc::FilterOperation::GRAYSCALE:
23 case cc::FilterOperation::SEPIA:
24 case cc::FilterOperation::SATURATE:
25 case cc::FilterOperation::HUE_ROTATE:
26 case cc::FilterOperation::INVERT:
27 case cc::FilterOperation::BRIGHTNESS:
28 case cc::FilterOperation::SATURATING_BRIGHTNESS:
29 case cc::FilterOperation::CONTRAST:
30 case cc::FilterOperation::OPACITY
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
FilterEffectRenderer.cpp 128 FilterOperation* filterOperation = operations.operations().at(i).get();
129 switch (filterOperation->type()) {
130 case FilterOperation::REFERENCE: {
131 effect = ReferenceFilterBuilder::build(this, renderer, previousEffect.get(), toReferenceFilterOperation(filterOperation));
134 case FilterOperation::GRAYSCALE: {
136 double oneMinusAmount = clampTo(1 - toBasicColorMatrixFilterOperation(filterOperation)->amount(), 0.0, 1.0);
161 case FilterOperation::SEPIA: {
163 double oneMinusAmount = clampTo(1 - toBasicColorMatrixFilterOperation(filterOperation)->amount(), 0.0, 1.0);
188 case FilterOperation::SATURATE:
    [all...]
RenderLayerFilterInfo.cpp 118 RefPtr<FilterOperation> filterOperation = operations.operations().at(i);
119 if (filterOperation->type() != FilterOperation::REFERENCE)
121 ReferenceFilterOperation* referenceFilterOperation = toReferenceFilterOperation(filterOperation.get());
174 const FilterOperation* filterOperation = operations.at(i);
175 if (filterOperation->type() != FilterOperation::CUSTOM)
177 RefPtr<CustomFilterProgram> program = toCustomFilterOperation(filterOperation)->program()
    [all...]
  /external/chromium_org/cc/trees/
layer_tree_host_pixeltest_filters.cc 33 filters.Append(FilterOperation::CreateBlurFilter(2.f));
74 filters.Append(FilterOperation::CreateBlurFilter(5.f));
128 filters.Append(FilterOperation::CreateBlurFilter(2.f));
178 filters.Append(FilterOperation::CreateReferenceFilter(filter));

Completed in 342 milliseconds

1 2 3