| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 The Android Open Source Project |
| 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 #include "SkAtomics.h" | 8 #include "../private/SkAtomics.h" |
| 9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
| 10 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
| 11 #include "SkData.h" | 11 #include "SkData.h" |
| 12 #include "SkFilterQuality.h" | 12 #include "SkFilterQuality.h" |
| 13 #include "SkMallocPixelRef.h" | 13 #include "SkMallocPixelRef.h" |
| 14 #include "SkMask.h" | 14 #include "SkMask.h" |
| 15 #include "SkMath.h" | 15 #include "SkMath.h" |
| 16 #include "SkPixelRef.h" | 16 #include "SkPixelRef.h" |
| 17 #include "SkReadBuffer.h" | 17 #include "SkReadBuffer.h" |
| 18 #include "SkRect.h" | 18 #include "SkRect.h" |
| (...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1316 /////////////////////////////////////////////////////////////////////////////// | 1316 /////////////////////////////////////////////////////////////////////////////// |
| 1317 | 1317 |
| 1318 #ifdef SK_DEBUG | 1318 #ifdef SK_DEBUG |
| 1319 void SkImageInfo::validate() const { | 1319 void SkImageInfo::validate() const { |
| 1320 SkASSERT(fWidth >= 0); | 1320 SkASSERT(fWidth >= 0); |
| 1321 SkASSERT(fHeight >= 0); | 1321 SkASSERT(fHeight >= 0); |
| 1322 SkASSERT(SkColorTypeIsValid(fColorType)); | 1322 SkASSERT(SkColorTypeIsValid(fColorType)); |
| 1323 SkASSERT(SkAlphaTypeIsValid(fAlphaType)); | 1323 SkASSERT(SkAlphaTypeIsValid(fAlphaType)); |
| 1324 } | 1324 } |
| 1325 #endif | 1325 #endif |
| OLD | NEW |