| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkImageFilter_DEFINED | 8 #ifndef SkImageFilter_DEFINED |
| 9 #define SkImageFilter_DEFINED | 9 #define SkImageFilter_DEFINED |
| 10 | 10 |
| 11 #include "../private/SkTemplates.h" |
| 11 #include "SkFilterQuality.h" | 12 #include "SkFilterQuality.h" |
| 12 #include "SkFlattenable.h" | 13 #include "SkFlattenable.h" |
| 13 #include "SkMatrix.h" | 14 #include "SkMatrix.h" |
| 14 #include "SkRect.h" | 15 #include "SkRect.h" |
| 15 #include "SkSurfaceProps.h" | 16 #include "SkSurfaceProps.h" |
| 16 #include "SkTemplates.h" | |
| 17 | 17 |
| 18 class GrFragmentProcessor; | 18 class GrFragmentProcessor; |
| 19 class GrProcessorDataManager; | 19 class GrProcessorDataManager; |
| 20 class GrTexture; | 20 class GrTexture; |
| 21 class SkBaseDevice; | 21 class SkBaseDevice; |
| 22 class SkBitmap; | 22 class SkBitmap; |
| 23 class SkColorFilter; | 23 class SkColorFilter; |
| 24 struct SkIPoint; | 24 struct SkIPoint; |
| 25 | 25 |
| 26 /** | 26 /** |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 */ | 381 */ |
| 382 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ | 382 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ |
| 383 Common localVar; \ | 383 Common localVar; \ |
| 384 do { \ | 384 do { \ |
| 385 if (!localVar.unflatten(buffer, expectedCount)) { \ | 385 if (!localVar.unflatten(buffer, expectedCount)) { \ |
| 386 return NULL; \ | 386 return NULL; \ |
| 387 } \ | 387 } \ |
| 388 } while (0) | 388 } while (0) |
| 389 | 389 |
| 390 #endif | 390 #endif |
| OLD | NEW |