FilterOperation 23 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_EQ(FilterOperation::BRIGHTNESS, filter.at(0).type()); FilterOperation 295 cc/animation/keyframed_animation_curve_unittest.cc operations.Append(FilterOperation::CreateBrightnessFilter(2.f)); FilterOperation 311 cc/animation/keyframed_animation_curve_unittest.cc operations1.Append(FilterOperation::CreateBrightnessFilter(2.f)); FilterOperation 313 cc/animation/keyframed_animation_curve_unittest.cc operations2.Append(FilterOperation::CreateBrightnessFilter(4.f)); FilterOperation 331 cc/animation/keyframed_animation_curve_unittest.cc operations1.Append(FilterOperation::CreateBrightnessFilter(2.f)); FilterOperation 333 cc/animation/keyframed_animation_curve_unittest.cc operations2.Append(FilterOperation::CreateBrightnessFilter(4.f)); FilterOperation 335 cc/animation/keyframed_animation_curve_unittest.cc operations3.Append(FilterOperation::CreateBrightnessFilter(8.f)); FilterOperation 358 cc/animation/keyframed_animation_curve_unittest.cc operations1.Append(FilterOperation::CreateBrightnessFilter(4.f)); FilterOperation 360 cc/animation/keyframed_animation_curve_unittest.cc operations2.Append(FilterOperation::CreateBrightnessFilter(4.f)); FilterOperation 362 cc/animation/keyframed_animation_curve_unittest.cc operations3.Append(FilterOperation::CreateBrightnessFilter(6.f)); FilterOperation 364 cc/animation/keyframed_animation_curve_unittest.cc operations4.Append(FilterOperation::CreateBrightnessFilter(6.f)); FilterOperation 381 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_EQ(FilterOperation::BRIGHTNESS, value.at(0).type()); FilterOperation 477 cc/animation/layer_animation_controller_unittest.cc start_filters.Append(FilterOperation::CreateBrightnessFilter(1.f)); FilterOperation 481 cc/animation/layer_animation_controller_unittest.cc end_filters.Append(FilterOperation::CreateBrightnessFilter(2.f)); FilterOperation 500 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(FilterOperation::CreateBrightnessFilter(1.5f), FilterOperation 526 cc/animation/layer_animation_controller_unittest.cc start_filters.Append(FilterOperation::CreateBrightnessFilter(1.f)); FilterOperation 530 cc/animation/layer_animation_controller_unittest.cc end_filters.Append(FilterOperation::CreateBrightnessFilter(2.f)); FilterOperation 135 cc/layers/layer_impl_unittest.cc arbitrary_filters.Append(FilterOperation::CreateOpacityFilter(0.5f)); FilterOperation 273 cc/layers/layer_impl_unittest.cc arbitrary_filters.Append(FilterOperation::CreateOpacityFilter(0.5f)); FilterOperation 752 cc/layers/layer_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 764 cc/layers/layer_unittest.cc filters.Append(FilterOperation::CreateSepiaFilter(0.5f)); FilterOperation 15 cc/output/filter_operation.cc bool FilterOperation::operator==(const FilterOperation& other) const { FilterOperation 30 cc/output/filter_operation.cc FilterOperation::FilterOperation(FilterType type, float amount) FilterOperation 42 cc/output/filter_operation.cc FilterOperation::FilterOperation(FilterType type, FilterOperation 55 cc/output/filter_operation.cc FilterOperation::FilterOperation(FilterType type, SkScalar matrix[20]) FilterOperation 65 cc/output/filter_operation.cc FilterOperation::FilterOperation(FilterType type, float amount, int inset) FilterOperation 75 cc/output/filter_operation.cc FilterOperation::FilterOperation( FilterOperation 88 cc/output/filter_operation.cc FilterOperation::FilterOperation(const FilterOperation& other) FilterOperation 98 cc/output/filter_operation.cc FilterOperation::~FilterOperation() { FilterOperation 101 cc/output/filter_operation.cc static FilterOperation CreateNoOpFilter(FilterOperation::FilterType type) { FilterOperation 103 cc/output/filter_operation.cc case FilterOperation::GRAYSCALE: FilterOperation 104 cc/output/filter_operation.cc return FilterOperation::CreateGrayscaleFilter(0.f); FilterOperation 105 cc/output/filter_operation.cc case FilterOperation::SEPIA: FilterOperation 106 cc/output/filter_operation.cc return FilterOperation::CreateSepiaFilter(0.f); FilterOperation 107 cc/output/filter_operation.cc case FilterOperation::SATURATE: FilterOperation 108 cc/output/filter_operation.cc return FilterOperation::CreateSaturateFilter(1.f); FilterOperation 109 cc/output/filter_operation.cc case FilterOperation::HUE_ROTATE: FilterOperation 110 cc/output/filter_operation.cc return FilterOperation::CreateHueRotateFilter(0.f); FilterOperation 111 cc/output/filter_operation.cc case FilterOperation::INVERT: FilterOperation 112 cc/output/filter_operation.cc return FilterOperation::CreateInvertFilter(0.f); FilterOperation 113 cc/output/filter_operation.cc case FilterOperation::BRIGHTNESS: FilterOperation 114 cc/output/filter_operation.cc return FilterOperation::CreateBrightnessFilter(1.f); FilterOperation 115 cc/output/filter_operation.cc case FilterOperation::CONTRAST: FilterOperation 116 cc/output/filter_operation.cc return FilterOperation::CreateContrastFilter(1.f); FilterOperation 117 cc/output/filter_operation.cc case FilterOperation::OPACITY: FilterOperation 118 cc/output/filter_operation.cc return FilterOperation::CreateOpacityFilter(1.f); FilterOperation 119 cc/output/filter_operation.cc case FilterOperation::BLUR: FilterOperation 120 cc/output/filter_operation.cc return FilterOperation::CreateBlurFilter(0.f); FilterOperation 121 cc/output/filter_operation.cc case FilterOperation::DROP_SHADOW: FilterOperation 122 cc/output/filter_operation.cc return FilterOperation::CreateDropShadowFilter( FilterOperation 124 cc/output/filter_operation.cc case FilterOperation::COLOR_MATRIX: { FilterOperation 128 cc/output/filter_operation.cc return FilterOperation::CreateColorMatrixFilter(matrix); FilterOperation 130 cc/output/filter_operation.cc case FilterOperation::ZOOM: FilterOperation 131 cc/output/filter_operation.cc return FilterOperation::CreateZoomFilter(1.f, 0); FilterOperation 132 cc/output/filter_operation.cc case FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 133 cc/output/filter_operation.cc return FilterOperation::CreateSaturatingBrightnessFilter(0.f); FilterOperation 134 cc/output/filter_operation.cc case FilterOperation::REFERENCE: FilterOperation 135 cc/output/filter_operation.cc return FilterOperation::CreateReferenceFilter( FilterOperation 139 cc/output/filter_operation.cc return FilterOperation::CreateEmptyFilter(); FilterOperation 143 cc/output/filter_operation.cc FilterOperation::FilterType type) { FilterOperation 145 cc/output/filter_operation.cc case FilterOperation::GRAYSCALE: FilterOperation 146 cc/output/filter_operation.cc case FilterOperation::SEPIA: FilterOperation 147 cc/output/filter_operation.cc case FilterOperation::INVERT: FilterOperation 148 cc/output/filter_operation.cc case FilterOperation::OPACITY: FilterOperation 150 cc/output/filter_operation.cc case FilterOperation::SATURATE: FilterOperation 151 cc/output/filter_operation.cc case FilterOperation::BRIGHTNESS: FilterOperation 152 cc/output/filter_operation.cc case FilterOperation::CONTRAST: FilterOperation 153 cc/output/filter_operation.cc case FilterOperation::BLUR: FilterOperation 154 cc/output/filter_operation.cc case FilterOperation::DROP_SHADOW: FilterOperation 156 cc/output/filter_operation.cc case FilterOperation::ZOOM: FilterOperation 158 cc/output/filter_operation.cc case FilterOperation::HUE_ROTATE: FilterOperation 159 cc/output/filter_operation.cc case FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 161 cc/output/filter_operation.cc case FilterOperation::COLOR_MATRIX: FilterOperation 162 cc/output/filter_operation.cc case FilterOperation::REFERENCE: FilterOperation 171 cc/output/filter_operation.cc FilterOperation FilterOperation::Blend(const FilterOperation* from, FilterOperation 172 cc/output/filter_operation.cc const FilterOperation* to, FilterOperation 174 cc/output/filter_operation.cc FilterOperation blended_filter = FilterOperation::CreateEmptyFilter(); FilterOperation 179 cc/output/filter_operation.cc const FilterOperation& from_op = from ? *from : CreateNoOpFilter(to->type()); FilterOperation 180 cc/output/filter_operation.cc const FilterOperation& to_op = to ? *to : CreateNoOpFilter(from->type()); FilterOperation 185 cc/output/filter_operation.cc DCHECK(to_op.type() != FilterOperation::COLOR_MATRIX); FilterOperation 188 cc/output/filter_operation.cc if (to_op.type() == FilterOperation::REFERENCE) { FilterOperation 200 cc/output/filter_operation.cc if (to_op.type() == FilterOperation::DROP_SHADOW) { FilterOperation 211 cc/output/filter_operation.cc } else if (to_op.type() == FilterOperation::ZOOM) { FilterOperation 221 cc/output/filter_operation.cc scoped_ptr<base::Value> FilterOperation::AsValue() const { FilterOperation 225 cc/output/filter_operation.cc case FilterOperation::GRAYSCALE: FilterOperation 226 cc/output/filter_operation.cc case FilterOperation::SEPIA: FilterOperation 227 cc/output/filter_operation.cc case FilterOperation::SATURATE: FilterOperation 228 cc/output/filter_operation.cc case FilterOperation::HUE_ROTATE: FilterOperation 229 cc/output/filter_operation.cc case FilterOperation::INVERT: FilterOperation 230 cc/output/filter_operation.cc case FilterOperation::BRIGHTNESS: FilterOperation 231 cc/output/filter_operation.cc case FilterOperation::CONTRAST: FilterOperation 232 cc/output/filter_operation.cc case FilterOperation::OPACITY: FilterOperation 233 cc/output/filter_operation.cc case FilterOperation::BLUR: FilterOperation 234 cc/output/filter_operation.cc case FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 237 cc/output/filter_operation.cc case FilterOperation::DROP_SHADOW: FilterOperation 242 cc/output/filter_operation.cc case FilterOperation::COLOR_MATRIX: { FilterOperation 249 cc/output/filter_operation.cc case FilterOperation::ZOOM: FilterOperation 253 cc/output/filter_operation.cc case FilterOperation::REFERENCE: { FilterOperation 23 cc/output/filter_operation.h class CC_EXPORT FilterOperation { FilterOperation 43 cc/output/filter_operation.h FilterOperation(const FilterOperation& other); FilterOperation 45 cc/output/filter_operation.h ~FilterOperation(); FilterOperation 80 cc/output/filter_operation.h static FilterOperation CreateGrayscaleFilter(float amount) { FilterOperation 81 cc/output/filter_operation.h return FilterOperation(GRAYSCALE, amount); FilterOperation 84 cc/output/filter_operation.h static FilterOperation CreateSepiaFilter(float amount) { FilterOperation 85 cc/output/filter_operation.h return FilterOperation(SEPIA, amount); FilterOperation 88 cc/output/filter_operation.h static FilterOperation CreateSaturateFilter(float amount) { FilterOperation 89 cc/output/filter_operation.h return FilterOperation(SATURATE, amount); FilterOperation 92 cc/output/filter_operation.h static FilterOperation CreateHueRotateFilter(float amount) { FilterOperation 93 cc/output/filter_operation.h return FilterOperation(HUE_ROTATE, amount); FilterOperation 96 cc/output/filter_operation.h static FilterOperation CreateInvertFilter(float amount) { FilterOperation 97 cc/output/filter_operation.h return FilterOperation(INVERT, amount); FilterOperation 100 cc/output/filter_operation.h static FilterOperation CreateBrightnessFilter(float amount) { FilterOperation 101 cc/output/filter_operation.h return FilterOperation(BRIGHTNESS, amount); FilterOperation 104 cc/output/filter_operation.h static FilterOperation CreateContrastFilter(float amount) { FilterOperation 105 cc/output/filter_operation.h return FilterOperation(CONTRAST, amount); FilterOperation 108 cc/output/filter_operation.h static FilterOperation CreateOpacityFilter(float amount) { FilterOperation 109 cc/output/filter_operation.h return FilterOperation(OPACITY, amount); FilterOperation 112 cc/output/filter_operation.h static FilterOperation CreateBlurFilter(float amount) { FilterOperation 113 cc/output/filter_operation.h return FilterOperation(BLUR, amount); FilterOperation 116 cc/output/filter_operation.h static FilterOperation CreateDropShadowFilter(const gfx::Point& offset, FilterOperation 119 cc/output/filter_operation.h return FilterOperation(DROP_SHADOW, offset, std_deviation, color); FilterOperation 122 cc/output/filter_operation.h static FilterOperation CreateColorMatrixFilter(SkScalar matrix[20]) { FilterOperation 123 cc/output/filter_operation.h return FilterOperation(COLOR_MATRIX, matrix); FilterOperation 126 cc/output/filter_operation.h static FilterOperation CreateZoomFilter(float amount, int inset) { FilterOperation 127 cc/output/filter_operation.h return FilterOperation(ZOOM, amount, inset); FilterOperation 130 cc/output/filter_operation.h static FilterOperation CreateReferenceFilter( FilterOperation 132 cc/output/filter_operation.h return FilterOperation(REFERENCE, image_filter); FilterOperation 135 cc/output/filter_operation.h static FilterOperation CreateSaturatingBrightnessFilter(float amount) { FilterOperation 136 cc/output/filter_operation.h return FilterOperation(SATURATING_BRIGHTNESS, amount); FilterOperation 139 cc/output/filter_operation.h bool operator==(const FilterOperation& other) const; FilterOperation 141 cc/output/filter_operation.h bool operator!=(const FilterOperation& other) const { FilterOperation 146 cc/output/filter_operation.h static FilterOperation CreateEmptyFilter() { FilterOperation 147 cc/output/filter_operation.h return FilterOperation(GRAYSCALE, 0.f); FilterOperation 190 cc/output/filter_operation.h static FilterOperation Blend(const FilterOperation* from, FilterOperation 191 cc/output/filter_operation.h const FilterOperation* to, FilterOperation 197 cc/output/filter_operation.h FilterOperation(FilterType type, float amount); FilterOperation 199 cc/output/filter_operation.h FilterOperation(FilterType type, FilterOperation 204 cc/output/filter_operation.h FilterOperation(FilterType, SkScalar matrix[20]); FilterOperation 206 cc/output/filter_operation.h FilterOperation(FilterType type, float amount, int inset); FilterOperation 208 cc/output/filter_operation.h FilterOperation(FilterType type, FilterOperation 36 cc/output/filter_operations.cc void FilterOperations::Append(const FilterOperation& filter) { FilterOperation 62 cc/output/filter_operations.cc const FilterOperation& op = operations_[i]; FilterOperation 65 cc/output/filter_operations.cc DCHECK(op.type() != FilterOperation::REFERENCE); FilterOperation 66 cc/output/filter_operations.cc if (op.type() == FilterOperation::BLUR || FilterOperation 67 cc/output/filter_operations.cc op.type() == FilterOperation::DROP_SHADOW) { FilterOperation 69 cc/output/filter_operations.cc if (op.type() == FilterOperation::BLUR) { FilterOperation 86 cc/output/filter_operations.cc const FilterOperation& op = operations_[i]; FilterOperation 90 cc/output/filter_operations.cc case FilterOperation::BLUR: FilterOperation 91 cc/output/filter_operations.cc case FilterOperation::DROP_SHADOW: FilterOperation 92 cc/output/filter_operations.cc case FilterOperation::ZOOM: FilterOperation 93 cc/output/filter_operations.cc case FilterOperation::REFERENCE: FilterOperation 95 cc/output/filter_operations.cc case FilterOperation::OPACITY: FilterOperation 96 cc/output/filter_operations.cc case FilterOperation::COLOR_MATRIX: FilterOperation 97 cc/output/filter_operations.cc case FilterOperation::GRAYSCALE: FilterOperation 98 cc/output/filter_operations.cc case FilterOperation::SEPIA: FilterOperation 99 cc/output/filter_operations.cc case FilterOperation::SATURATE: FilterOperation 100 cc/output/filter_operations.cc case FilterOperation::HUE_ROTATE: FilterOperation 101 cc/output/filter_operations.cc case FilterOperation::INVERT: FilterOperation 102 cc/output/filter_operations.cc case FilterOperation::BRIGHTNESS: FilterOperation 103 cc/output/filter_operations.cc case FilterOperation::CONTRAST: FilterOperation 104 cc/output/filter_operations.cc case FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 113 cc/output/filter_operations.cc const FilterOperation& op = operations_[i]; FilterOperation 117 cc/output/filter_operations.cc case FilterOperation::OPACITY: FilterOperation 118 cc/output/filter_operations.cc case FilterOperation::BLUR: FilterOperation 119 cc/output/filter_operations.cc case FilterOperation::DROP_SHADOW: FilterOperation 120 cc/output/filter_operations.cc case FilterOperation::ZOOM: FilterOperation 121 cc/output/filter_operations.cc case FilterOperation::REFERENCE: FilterOperation 123 cc/output/filter_operations.cc case FilterOperation::COLOR_MATRIX: { FilterOperation 133 cc/output/filter_operations.cc case FilterOperation::GRAYSCALE: FilterOperation 134 cc/output/filter_operations.cc case FilterOperation::SEPIA: FilterOperation 135 cc/output/filter_operations.cc case FilterOperation::SATURATE: FilterOperation 136 cc/output/filter_operations.cc case FilterOperation::HUE_ROTATE: FilterOperation 137 cc/output/filter_operations.cc case FilterOperation::INVERT: FilterOperation 138 cc/output/filter_operations.cc case FilterOperation::BRIGHTNESS: FilterOperation 139 cc/output/filter_operations.cc case FilterOperation::CONTRAST: FilterOperation 140 cc/output/filter_operations.cc case FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 149 cc/output/filter_operations.cc if (operations_[i].type() == FilterOperation::REFERENCE) FilterOperation 181 cc/output/filter_operations.cc FilterOperation::Blend(&from.at(i), &at(i), progress)); FilterOperation 187 cc/output/filter_operations.cc FilterOperation::Blend(&from.at(i), NULL, progress)); FilterOperation 191 cc/output/filter_operations.cc blended_filters.Append(FilterOperation::Blend(NULL, &at(i), progress)); FilterOperation 37 cc/output/filter_operations.h void Append(const FilterOperation& filter); FilterOperation 53 cc/output/filter_operations.h const FilterOperation& at(size_t index) const { FilterOperation 74 cc/output/filter_operations.h std::vector<FilterOperation> operations_; FilterOperation 16 cc/output/filter_operations_unittest.cc ops.Append(FilterOperation::CreateBlurFilter(20)); FilterOperation 28 cc/output/filter_operations_unittest.cc ops.Append(FilterOperation::CreateDropShadowFilter(gfx::Point(3, 8), 20, 0)); FilterOperation 40 cc/output/filter_operations_unittest.cc FilterOperation op = FilterOperation::Create##filter_name##Filter(a); \ FilterOperation 41 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op.type()); \ FilterOperation 44 cc/output/filter_operations_unittest.cc FilterOperation op2 = FilterOperation::CreateEmptyFilter(); \ FilterOperation 45 cc/output/filter_operations_unittest.cc op2.set_type(FilterOperation::filter_type); \ FilterOperation 51 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op2.type()); \ FilterOperation 57 cc/output/filter_operations_unittest.cc FilterOperation op = \ FilterOperation 58 cc/output/filter_operations_unittest.cc FilterOperation::Create##filter_name##Filter(a, b, c); \ FilterOperation 59 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op.type()); \ FilterOperation 64 cc/output/filter_operations_unittest.cc FilterOperation op2 = FilterOperation::CreateEmptyFilter(); \ FilterOperation 65 cc/output/filter_operations_unittest.cc op2.set_type(FilterOperation::filter_type); \ FilterOperation 75 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op2.type()); \ FilterOperation 83 cc/output/filter_operations_unittest.cc FilterOperation op = FilterOperation::Create##filter_name##Filter(a); \ FilterOperation 84 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op.type()); \ FilterOperation 88 cc/output/filter_operations_unittest.cc FilterOperation op2 = FilterOperation::CreateEmptyFilter(); \ FilterOperation 89 cc/output/filter_operations_unittest.cc op2.set_type(FilterOperation::filter_type); \ FilterOperation 96 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op2.type()); \ FilterOperation 103 cc/output/filter_operations_unittest.cc FilterOperation op = FilterOperation::Create##filter_name##Filter(a, b); \ FilterOperation 104 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op.type()); \ FilterOperation 108 cc/output/filter_operations_unittest.cc FilterOperation op2 = FilterOperation::CreateEmptyFilter(); \ FilterOperation 109 cc/output/filter_operations_unittest.cc op2.set_type(FilterOperation::filter_type); \ FilterOperation 117 cc/output/filter_operations_unittest.cc EXPECT_EQ(FilterOperation::filter_type, op2.type()); \ FilterOperation 144 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateGrayscaleFilter(0.25f); FilterOperation 145 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateGrayscaleFilter(0.75f); FilterOperation 147 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 148 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateGrayscaleFilter(0.f); FilterOperation 151 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 152 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateGrayscaleFilter(0.625f); FilterOperation 155 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.8); FilterOperation 156 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateGrayscaleFilter(1.f); FilterOperation 161 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateGrayscaleFilter(1.f); FilterOperation 163 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 164 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateGrayscaleFilter(0.75f); FilterOperation 167 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 168 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateGrayscaleFilter(0.25f); FilterOperation 173 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateSepiaFilter(0.25f); FilterOperation 174 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateSepiaFilter(0.75f); FilterOperation 176 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 177 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateSepiaFilter(0.f); FilterOperation 180 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 181 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSepiaFilter(0.625f); FilterOperation 184 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.8); FilterOperation 185 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSepiaFilter(1.f); FilterOperation 190 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateSepiaFilter(1.f); FilterOperation 192 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 193 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateSepiaFilter(0.75f); FilterOperation 196 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 197 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSepiaFilter(0.25f); FilterOperation 202 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateSaturateFilter(0.25f); FilterOperation 203 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateSaturateFilter(0.75f); FilterOperation 205 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 206 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateSaturateFilter(0.f); FilterOperation 209 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 210 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSaturateFilter(0.625f); FilterOperation 213 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 2.0); FilterOperation 214 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSaturateFilter(1.25f); FilterOperation 219 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateSaturateFilter(0.f); FilterOperation 221 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 222 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateSaturateFilter(0.25f); FilterOperation 225 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 226 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSaturateFilter(0.75f); FilterOperation 231 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateHueRotateFilter(3.f); FilterOperation 232 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateHueRotateFilter(7.f); FilterOperation 234 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 235 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateHueRotateFilter(0.f); FilterOperation 238 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 239 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateHueRotateFilter(6.f); FilterOperation 242 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 243 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateHueRotateFilter(9.f); FilterOperation 248 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateHueRotateFilter(1.f); FilterOperation 250 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 251 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateHueRotateFilter(0.75f); FilterOperation 254 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 255 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateHueRotateFilter(0.25f); FilterOperation 260 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateInvertFilter(0.25f); FilterOperation 261 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateInvertFilter(0.75f); FilterOperation 263 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 264 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateInvertFilter(0.f); FilterOperation 267 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 268 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateInvertFilter(0.625f); FilterOperation 271 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.8); FilterOperation 272 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateInvertFilter(1.f); FilterOperation 277 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateInvertFilter(1.f); FilterOperation 279 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 280 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateInvertFilter(0.75f); FilterOperation 283 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 284 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateInvertFilter(0.25f); FilterOperation 289 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateBrightnessFilter(3.f); FilterOperation 290 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateBrightnessFilter(7.f); FilterOperation 292 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.9); FilterOperation 293 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateBrightnessFilter(0.f); FilterOperation 296 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 297 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateBrightnessFilter(6.f); FilterOperation 300 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 301 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateBrightnessFilter(9.f); FilterOperation 306 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateBrightnessFilter(0.f); FilterOperation 308 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 309 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateBrightnessFilter(0.25f); FilterOperation 312 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 313 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateBrightnessFilter(0.75f); FilterOperation 318 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateContrastFilter(3.f); FilterOperation 319 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateContrastFilter(7.f); FilterOperation 321 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.9); FilterOperation 322 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateContrastFilter(0.f); FilterOperation 325 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 326 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateContrastFilter(6.f); FilterOperation 329 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 330 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateContrastFilter(9.f); FilterOperation 335 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateContrastFilter(0.f); FilterOperation 337 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 338 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateContrastFilter(0.25f); FilterOperation 341 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 342 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateContrastFilter(0.75f); FilterOperation 347 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateOpacityFilter(0.25f); FilterOperation 348 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateOpacityFilter(0.75f); FilterOperation 350 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 351 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateOpacityFilter(0.f); FilterOperation 354 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 355 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateOpacityFilter(0.625f); FilterOperation 358 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.8); FilterOperation 359 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateOpacityFilter(1.f); FilterOperation 364 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateOpacityFilter(0.f); FilterOperation 366 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 367 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateOpacityFilter(0.25f); FilterOperation 370 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 371 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateOpacityFilter(0.75f); FilterOperation 376 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateBlurFilter(3.f); FilterOperation 377 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateBlurFilter(7.f); FilterOperation 379 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.9); FilterOperation 380 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateBlurFilter(0.f); FilterOperation 383 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 384 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateBlurFilter(6.f); FilterOperation 387 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 388 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateBlurFilter(9.f); FilterOperation 393 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateBlurFilter(1.f); FilterOperation 395 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 396 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateBlurFilter(0.75f); FilterOperation 399 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 400 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateBlurFilter(0.25f); FilterOperation 405 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateDropShadowFilter( FilterOperation 407 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateDropShadowFilter( FilterOperation 410 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 411 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateDropShadowFilter( FilterOperation 415 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.25); FilterOperation 416 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateDropShadowFilter( FilterOperation 420 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 421 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateDropShadowFilter( FilterOperation 425 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 426 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateDropShadowFilter( FilterOperation 432 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateDropShadowFilter( FilterOperation 435 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 436 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateDropShadowFilter( FilterOperation 440 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 441 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateDropShadowFilter( FilterOperation 447 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateZoomFilter(2.f, 3); FilterOperation 448 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateZoomFilter(6.f, 0); FilterOperation 450 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 451 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateZoomFilter(1.f, 5); FilterOperation 454 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 455 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateZoomFilter(5.f, 1); FilterOperation 458 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 459 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateZoomFilter(8.f, 0); FilterOperation 464 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateZoomFilter(2.f, 1); FilterOperation 466 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 467 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation::CreateZoomFilter(1.75f, 1); FilterOperation 470 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 471 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateZoomFilter(1.25f, 0); FilterOperation 476 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateSaturatingBrightnessFilter(3.f); FilterOperation 477 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateSaturatingBrightnessFilter(7.f); FilterOperation 479 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 480 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation 481 cc/output/filter_operations_unittest.cc FilterOperation::CreateSaturatingBrightnessFilter(0.f); FilterOperation 484 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.75); FilterOperation 485 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSaturatingBrightnessFilter(6.f); FilterOperation 488 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 489 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSaturatingBrightnessFilter(9.f); FilterOperation 494 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation 495 cc/output/filter_operations_unittest.cc FilterOperation::CreateSaturatingBrightnessFilter(1.f); FilterOperation 497 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 498 cc/output/filter_operations_unittest.cc FilterOperation expected = FilterOperation 499 cc/output/filter_operations_unittest.cc FilterOperation::CreateSaturatingBrightnessFilter(0.75f); FilterOperation 502 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 503 cc/output/filter_operations_unittest.cc expected = FilterOperation::CreateSaturatingBrightnessFilter(0.25f); FilterOperation 512 cc/output/filter_operations_unittest.cc FilterOperation from = FilterOperation::CreateReferenceFilter(from_filter); FilterOperation 513 cc/output/filter_operations_unittest.cc FilterOperation to = FilterOperation::CreateReferenceFilter(to_filter); FilterOperation 515 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); FilterOperation 518 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.5); FilterOperation 521 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 0.6); FilterOperation 524 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&from, &to, 1.5); FilterOperation 531 cc/output/filter_operations_unittest.cc FilterOperation filter = FilterOperation::CreateReferenceFilter(image_filter); FilterOperation 532 cc/output/filter_operations_unittest.cc FilterOperation null_filter = FilterOperation 533 cc/output/filter_operations_unittest.cc FilterOperation::CreateReferenceFilter(skia::RefPtr<SkImageFilter>()); FilterOperation 535 cc/output/filter_operations_unittest.cc FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); FilterOperation 537 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(&filter, NULL, 0.75); FilterOperation 540 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.25); FilterOperation 542 cc/output/filter_operations_unittest.cc blended = FilterOperation::Blend(NULL, &filter, 0.75); FilterOperation 552 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateBlurFilter(0.f)); FilterOperation 553 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 555 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateSaturateFilter(4.f)); FilterOperation 556 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateSaturateFilter(0.f)); FilterOperation 558 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateZoomFilter(2.0f, 1)); FilterOperation 559 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateZoomFilter(10.f, 9)); FilterOperation 563 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBlurFilter(0.f)); FilterOperation 564 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateSaturateFilter(7.f)); FilterOperation 565 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateZoomFilter(1.f, 0)); FilterOperation 570 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBlurFilter(1.5f)); FilterOperation 571 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateSaturateFilter(1.f)); FilterOperation 572 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateZoomFilter(8.f, 7)); FilterOperation 577 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBlurFilter(3.f)); FilterOperation 578 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateSaturateFilter(0.f)); FilterOperation 579 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateZoomFilter(14.f, 13)); FilterOperation 587 cc/output/filter_operations_unittest.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.75f)); FilterOperation 588 cc/output/filter_operations_unittest.cc filters.Append(FilterOperation::CreateBrightnessFilter(2.f)); FilterOperation 589 cc/output/filter_operations_unittest.cc filters.Append(FilterOperation::CreateHueRotateFilter(10.0f)); FilterOperation 593 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateGrayscaleFilter(1.f)); FilterOperation 594 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBrightnessFilter(2.75f)); FilterOperation 595 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateHueRotateFilter(17.5f)); FilterOperation 600 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateGrayscaleFilter(0.1875f)); FilterOperation 601 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBrightnessFilter(1.25f)); FilterOperation 602 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateHueRotateFilter(2.5f)); FilterOperation 607 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateGrayscaleFilter(0.f)); FilterOperation 608 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBrightnessFilter(0.5f)); FilterOperation 609 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateHueRotateFilter(-5.f)); FilterOperation 614 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateGrayscaleFilter(0.f)); FilterOperation 615 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBrightnessFilter(0.25f)); FilterOperation 616 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateHueRotateFilter(-7.5f)); FilterOperation 621 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateGrayscaleFilter(0.5625f)); FilterOperation 622 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBrightnessFilter(1.75f)); FilterOperation 623 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateHueRotateFilter(7.5f)); FilterOperation 628 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateGrayscaleFilter(1.f)); FilterOperation 629 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBrightnessFilter(2.5f)); FilterOperation 630 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateHueRotateFilter(15.f)); FilterOperation 652 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateSaturateFilter(3.f)); FilterOperation 653 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 654 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateSaturateFilter(4.f)); FilterOperation 655 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateHueRotateFilter(0.5f)); FilterOperation 670 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateSaturateFilter(3.f)); FilterOperation 671 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 672 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateSaturateFilter(4.f)); FilterOperation 676 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateSaturateFilter(2.25f)); FilterOperation 677 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBlurFilter(3.5f)); FilterOperation 682 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateSaturateFilter(3.75f)); FilterOperation 683 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBlurFilter(0.5f)); FilterOperation 688 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateSaturateFilter(4.5f)); FilterOperation 689 cc/output/filter_operations_unittest.cc expected.Append(FilterOperation::CreateBlurFilter(0.f)); FilterOperation 692 cc/output/filter_operations_unittest.cc from.Append(FilterOperation::CreateOpacityFilter(1.f)); FilterOperation 693 cc/output/filter_operations_unittest.cc to.Append(FilterOperation::CreateOpacityFilter(1.f)); FilterOperation 1356 cc/output/gl_renderer_unittest.cc filters.Append(FilterOperation::CreateReferenceFilter(filter)); FilterOperation 167 cc/output/render_surface_filters.cc const FilterOperation& op = filters.at(i); FilterOperation 169 cc/output/render_surface_filters.cc case FilterOperation::GRAYSCALE: FilterOperation 173 cc/output/render_surface_filters.cc case FilterOperation::SEPIA: FilterOperation 177 cc/output/render_surface_filters.cc case FilterOperation::SATURATE: FilterOperation 181 cc/output/render_surface_filters.cc case FilterOperation::HUE_ROTATE: FilterOperation 185 cc/output/render_surface_filters.cc case FilterOperation::INVERT: FilterOperation 189 cc/output/render_surface_filters.cc case FilterOperation::OPACITY: FilterOperation 193 cc/output/render_surface_filters.cc case FilterOperation::BRIGHTNESS: FilterOperation 197 cc/output/render_surface_filters.cc case FilterOperation::CONTRAST: FilterOperation 201 cc/output/render_surface_filters.cc case FilterOperation::BLUR: FilterOperation 205 cc/output/render_surface_filters.cc case FilterOperation::DROP_SHADOW: FilterOperation 213 cc/output/render_surface_filters.cc case FilterOperation::COLOR_MATRIX: FilterOperation 216 cc/output/render_surface_filters.cc case FilterOperation::ZOOM: { FilterOperation 236 cc/output/render_surface_filters.cc case FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 240 cc/output/render_surface_filters.cc case FilterOperation::REFERENCE: { FilterOperation 691 cc/output/renderer_pixeltest.cc filters.Append(FilterOperation::CreateReferenceFilter(filter)); FilterOperation 768 cc/output/renderer_pixeltest.cc filters.Append(FilterOperation::CreateSaturateFilter(0.5f)); FilterOperation 843 cc/output/renderer_pixeltest.cc filters.Append(FilterOperation::CreateGrayscaleFilter(1.f)); FilterOperation 844 cc/output/renderer_pixeltest.cc filters.Append(FilterOperation::CreateBrightnessFilter(0.5f)); FilterOperation 942 cc/output/renderer_pixeltest.cc filters.Append(FilterOperation::CreateReferenceFilter(filter)); FilterOperation 1332 cc/output/renderer_pixeltest.cc FilterOperation::CreateInvertFilter(1.f)); FilterOperation 400 cc/quads/draw_quad_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(1.f)); FilterOperation 403 cc/quads/draw_quad_unittest.cc FilterOperation::CreateGrayscaleFilter(1.f)); FilterOperation 741 cc/quads/draw_quad_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(1.f)); FilterOperation 744 cc/quads/draw_quad_unittest.cc FilterOperation::CreateGrayscaleFilter(1.f)); FilterOperation 110 cc/test/animation_test_common.cc FilterOperation::CreateBrightnessFilter(start_brightness)); FilterOperation 116 cc/test/animation_test_common.cc filters.Append(FilterOperation::CreateBrightnessFilter(end_brightness)); FilterOperation 410 cc/trees/damage_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(5.f)); FilterOperation 451 cc/trees/damage_tracker_unittest.cc filters.Append(FilterOperation::CreateReferenceFilter(filter)); FilterOperation 486 cc/trees/damage_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 103 cc/trees/layer_tree_host_pixeltest_blending.cc filters.Append(FilterOperation::CreateGrayscaleFilter(.75)); FilterOperation 33 cc/trees/layer_tree_host_pixeltest_filters.cc filters.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 74 cc/trees/layer_tree_host_pixeltest_filters.cc filters.Append(FilterOperation::CreateBlurFilter(5.f)); FilterOperation 135 cc/trees/layer_tree_host_pixeltest_filters.cc filters.Append(FilterOperation::CreateBlurFilter(2.f)); FilterOperation 185 cc/trees/layer_tree_host_pixeltest_filters.cc filters.Append(FilterOperation::CreateReferenceFilter(filter)); FilterOperation 392 cc/trees/layer_tree_host_unittest_context.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.5f)); FilterOperation 595 cc/trees/layer_tree_host_unittest_context.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.5f)); FilterOperation 501 cc/trees/layer_tree_host_unittest_delegated.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.5f)); FilterOperation 532 cc/trees/layer_tree_host_unittest_delegated.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.5f)); FilterOperation 565 cc/trees/layer_tree_host_unittest_delegated.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.5f)); FilterOperation 426 cc/trees/layer_tree_host_unittest_occlusion.cc filters.Append(FilterOperation::CreateOpacityFilter(0.5f)); FilterOperation 470 cc/trees/layer_tree_host_unittest_occlusion.cc filters.Append(FilterOperation::CreateBlurFilter(10.f)); FilterOperation 1553 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(10.f)); FilterOperation 1557 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateGrayscaleFilter(0.5f)); FilterOperation 1561 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateOpacityFilter(0.5f)); FilterOperation 2898 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(10.f)); FilterOperation 3040 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(1.f)); FilterOperation 3126 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(3.f)); FilterOperation 3193 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(3.f)); FilterOperation 3289 cc/trees/occlusion_tracker_unittest.cc filters.Append(FilterOperation::CreateBlurFilter(3.f)); FilterOperation 18 content/common/cc_messages.cc void ParamTraits<cc::FilterOperation>::Write( FilterOperation 22 content/common/cc_messages.cc case cc::FilterOperation::GRAYSCALE: FilterOperation 23 content/common/cc_messages.cc case cc::FilterOperation::SEPIA: FilterOperation 24 content/common/cc_messages.cc case cc::FilterOperation::SATURATE: FilterOperation 25 content/common/cc_messages.cc case cc::FilterOperation::HUE_ROTATE: FilterOperation 26 content/common/cc_messages.cc case cc::FilterOperation::INVERT: FilterOperation 27 content/common/cc_messages.cc case cc::FilterOperation::BRIGHTNESS: FilterOperation 28 content/common/cc_messages.cc case cc::FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 29 content/common/cc_messages.cc case cc::FilterOperation::CONTRAST: FilterOperation 30 content/common/cc_messages.cc case cc::FilterOperation::OPACITY: FilterOperation 31 content/common/cc_messages.cc case cc::FilterOperation::BLUR: FilterOperation 34 content/common/cc_messages.cc case cc::FilterOperation::DROP_SHADOW: FilterOperation 39 content/common/cc_messages.cc case cc::FilterOperation::COLOR_MATRIX: FilterOperation 43 content/common/cc_messages.cc case cc::FilterOperation::ZOOM: FilterOperation 47 content/common/cc_messages.cc case cc::FilterOperation::REFERENCE: FilterOperation 53 content/common/cc_messages.cc bool ParamTraits<cc::FilterOperation>::Read( FilterOperation 55 content/common/cc_messages.cc cc::FilterOperation::FilterType type; FilterOperation 68 content/common/cc_messages.cc case cc::FilterOperation::GRAYSCALE: FilterOperation 69 content/common/cc_messages.cc case cc::FilterOperation::SEPIA: FilterOperation 70 content/common/cc_messages.cc case cc::FilterOperation::SATURATE: FilterOperation 71 content/common/cc_messages.cc case cc::FilterOperation::HUE_ROTATE: FilterOperation 72 content/common/cc_messages.cc case cc::FilterOperation::INVERT: FilterOperation 73 content/common/cc_messages.cc case cc::FilterOperation::BRIGHTNESS: FilterOperation 74 content/common/cc_messages.cc case cc::FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 75 content/common/cc_messages.cc case cc::FilterOperation::CONTRAST: FilterOperation 76 content/common/cc_messages.cc case cc::FilterOperation::OPACITY: FilterOperation 77 content/common/cc_messages.cc case cc::FilterOperation::BLUR: FilterOperation 83 content/common/cc_messages.cc case cc::FilterOperation::DROP_SHADOW: FilterOperation 93 content/common/cc_messages.cc case cc::FilterOperation::COLOR_MATRIX: { FilterOperation 105 content/common/cc_messages.cc case cc::FilterOperation::ZOOM: FilterOperation 115 content/common/cc_messages.cc case cc::FilterOperation::REFERENCE: { FilterOperation 129 content/common/cc_messages.cc void ParamTraits<cc::FilterOperation>::Log( FilterOperation 136 content/common/cc_messages.cc case cc::FilterOperation::GRAYSCALE: FilterOperation 137 content/common/cc_messages.cc case cc::FilterOperation::SEPIA: FilterOperation 138 content/common/cc_messages.cc case cc::FilterOperation::SATURATE: FilterOperation 139 content/common/cc_messages.cc case cc::FilterOperation::HUE_ROTATE: FilterOperation 140 content/common/cc_messages.cc case cc::FilterOperation::INVERT: FilterOperation 141 content/common/cc_messages.cc case cc::FilterOperation::BRIGHTNESS: FilterOperation 142 content/common/cc_messages.cc case cc::FilterOperation::SATURATING_BRIGHTNESS: FilterOperation 143 content/common/cc_messages.cc case cc::FilterOperation::CONTRAST: FilterOperation 144 content/common/cc_messages.cc case cc::FilterOperation::OPACITY: FilterOperation 145 content/common/cc_messages.cc case cc::FilterOperation::BLUR: FilterOperation 148 content/common/cc_messages.cc case cc::FilterOperation::DROP_SHADOW: FilterOperation 155 content/common/cc_messages.cc case cc::FilterOperation::COLOR_MATRIX: FilterOperation 162 content/common/cc_messages.cc case cc::FilterOperation::ZOOM: FilterOperation 167 content/common/cc_messages.cc case cc::FilterOperation::REFERENCE: FilterOperation 189 content/common/cc_messages.cc cc::FilterOperation op = cc::FilterOperation::CreateEmptyFilter(); FilterOperation 46 content/common/cc_messages.h struct ParamTraits<cc::FilterOperation> { FilterOperation 47 content/common/cc_messages.h typedef cc::FilterOperation param_type; FilterOperation 130 content/common/cc_messages.h IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, FilterOperation 131 content/common/cc_messages.h cc::FilterOperation::FILTER_TYPE_LAST ) FilterOperation 26 content/common/cc_messages_unittest.cc using cc::FilterOperation; FilterOperation 152 content/common/cc_messages_unittest.cc if (a->filters.at(i).type() != cc::FilterOperation::REFERENCE) { FilterOperation 155 content/common/cc_messages_unittest.cc EXPECT_EQ(b->filters.at(i).type(), cc::FilterOperation::REFERENCE); FilterOperation 264 content/common/cc_messages_unittest.cc arbitrary_filters1.Append(FilterOperation::CreateGrayscaleFilter( FilterOperation 269 content/common/cc_messages_unittest.cc cc::FilterOperation::CreateReferenceFilter(arbitrary_filter)); FilterOperation 272 content/common/cc_messages_unittest.cc arbitrary_filters2.Append(FilterOperation::CreateBrightnessFilter( FilterOperation 335 ui/compositor/layer.cc filters.Append(cc::FilterOperation::CreateSaturateFilter( FilterOperation 339 ui/compositor/layer.cc filters.Append(cc::FilterOperation::CreateGrayscaleFilter( FilterOperation 343 ui/compositor/layer.cc filters.Append(cc::FilterOperation::CreateInvertFilter(1.0)); FilterOperation 348 ui/compositor/layer.cc filters.Append(cc::FilterOperation::CreateSaturatingBrightnessFilter( FilterOperation 358 ui/compositor/layer.cc filters.Append(cc::FilterOperation::CreateZoomFilter(zoom_, zoom_inset_)); FilterOperation 361 ui/compositor/layer.cc filters.Append(cc::FilterOperation::CreateBlurFilter( FilterOperation 25 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateGrayscaleFilter(amount)); FilterOperation 29 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateSepiaFilter(amount)); FilterOperation 33 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateSaturateFilter(amount)); FilterOperation 37 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateHueRotateFilter(amount)); FilterOperation 41 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateInvertFilter(amount)); FilterOperation 46 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc cc::FilterOperation::CreateBrightnessFilter(amount)); FilterOperation 50 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateContrastFilter(amount)); FilterOperation 54 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateOpacityFilter(amount)); FilterOperation 58 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateBlurFilter(amount)); FilterOperation 64 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc filter_operations_.Append(cc::FilterOperation::CreateDropShadowFilter( FilterOperation 70 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc cc::FilterOperation::CreateColorMatrixFilter(matrix)); FilterOperation 75 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc cc::FilterOperation::CreateZoomFilter(amount, inset)); FilterOperation 80 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc cc::FilterOperation::CreateSaturatingBrightnessFilter(amount)); FilterOperation 86 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc cc::FilterOperation::CreateReferenceFilter(skia::SharePtr(image_filter)));