OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #if defined(_SKIA_SUPPORT_) | |
6 #include <algorithm> | 5 #include <algorithm> |
7 #include <vector> | 6 #include <vector> |
8 | 7 |
9 #include "core/fxcodec/fx_codec.h" | 8 #include "core/fxcodec/fx_codec.h" |
10 #include "core/fxcrt/fx_memory.h" | 9 #include "core/fxcrt/fx_memory.h" |
11 | 10 |
12 #include "core/fpdfapi/page/cpdf_shadingpattern.h" | 11 #include "core/fpdfapi/page/cpdf_shadingpattern.h" |
13 #include "core/fpdfapi/page/pageint.h" | 12 #include "core/fpdfapi/page/pageint.h" |
14 #include "core/fpdfapi/parser/cpdf_array.h" | 13 #include "core/fpdfapi/parser/cpdf_array.h" |
15 #include "core/fpdfapi/parser/cpdf_dictionary.h" | 14 #include "core/fpdfapi/parser/cpdf_dictionary.h" |
(...skipping 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1670 uint8_t g = SkGetPackedG32(srcRow[x]); | 1669 uint8_t g = SkGetPackedG32(srcRow[x]); |
1671 uint8_t b = SkGetPackedB32(srcRow[x]); | 1670 uint8_t b = SkGetPackedB32(srcRow[x]); |
1672 SkA32Assert(a); | 1671 SkA32Assert(a); |
1673 SkASSERT(r <= a); | 1672 SkASSERT(r <= a); |
1674 SkASSERT(g <= a); | 1673 SkASSERT(g <= a); |
1675 SkASSERT(b <= a); | 1674 SkASSERT(b <= a); |
1676 } | 1675 } |
1677 } | 1676 } |
1678 #endif | 1677 #endif |
1679 } | 1678 } |
1680 | |
1681 #endif | |
OLD | NEW |