Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: src/core/SkXfermode.cpp

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Minor fixes Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkXfermode.h" 10 #include "SkXfermode.h"
11 #include "SkXfermode_proccoeff.h" 11 #include "SkXfermode_proccoeff.h"
12 #include "SkColorPriv.h" 12 #include "SkColorPriv.h"
13 #include "SkFlattenableBuffers.h" 13 #include "SkFlattenableBuffers.h"
14 #include "SkMathPriv.h" 14 #include "SkMathPriv.h"
15 #include "SkString.h" 15 #include "SkString.h"
16 #include "SkUtilsArm.h" 16 #include "SkUtilsArm.h"
17 #include "SkValidationUtils.h"
17 18
18 #if !SK_ARM_NEON_IS_NONE 19 #if !SK_ARM_NEON_IS_NONE
19 #include "SkXfermode_opts_arm_neon.h" 20 #include "SkXfermode_opts_arm_neon.h"
20 #endif 21 #endif
21 22
22 SK_DEFINE_INST_COUNT(SkXfermode) 23 SK_DEFINE_INST_COUNT(SkXfermode)
23 24
24 #define SkAlphaMulAlpha(a, b) SkMulDiv255Round(a, b) 25 #define SkAlphaMulAlpha(a, b) SkMulDiv255Round(a, b)
25 26
26 #if 0 27 #if 0
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode) 1953 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode)
1953 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode) 1954 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode)
1954 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkClearXfermode) 1955 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkClearXfermode)
1955 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSrcXfermode) 1956 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSrcXfermode)
1956 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDstInXfermode) 1957 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDstInXfermode)
1957 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDstOutXfermode) 1958 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDstOutXfermode)
1958 #if !SK_ARM_NEON_IS_NONE 1959 #if !SK_ARM_NEON_IS_NONE
1959 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkNEONProcCoeffXfermode) 1960 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkNEONProcCoeffXfermode)
1960 #endif 1961 #endif
1961 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END 1962 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698