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

Side by Side Diff: src/opts/SkXfermode_opts_SSE2.cpp

Issue 264603002: Cleanup of SSE optimization files. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added chromium sync patch Created 6 years, 7 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
« no previous file with comments | « src/opts/SkXfermode_opts_SSE2.h ('k') | src/opts/opts_check_SSE2.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
1 #include "SkColorPriv.h" 8 #include "SkColorPriv.h"
2 #include "SkColor_opts_SSE2.h" 9 #include "SkColor_opts_SSE2.h"
3 #include "SkMathPriv.h" 10 #include "SkMathPriv.h"
4 #include "SkMath_opts_SSE2.h" 11 #include "SkMath_opts_SSE2.h"
5 #include "SkXfermode.h" 12 #include "SkXfermode.h"
6 #include "SkXfermode_opts_SSE2.h" 13 #include "SkXfermode_opts_SSE2.h"
7 #include "SkXfermode_proccoeff.h" 14 #include "SkXfermode_proccoeff.h"
8 15
9 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
10 // 4 pixels SSE2 version functions 17 // 4 pixels SSE2 version functions
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 809
803 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_SSE2(const ProcCoeff& rec, 810 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_SSE2(const ProcCoeff& rec,
804 SkXfermode::Mode mode) { 811 SkXfermode::Mode mode) {
805 void* procSIMD = reinterpret_cast<void*>(gSSE2XfermodeProcs[mode]); 812 void* procSIMD = reinterpret_cast<void*>(gSSE2XfermodeProcs[mode]);
806 813
807 if (procSIMD != NULL) { 814 if (procSIMD != NULL) {
808 return SkNEW_ARGS(SkSSE2ProcCoeffXfermode, (rec, mode, procSIMD)); 815 return SkNEW_ARGS(SkSSE2ProcCoeffXfermode, (rec, mode, procSIMD));
809 } 816 }
810 return NULL; 817 return NULL;
811 } 818 }
OLDNEW
« no previous file with comments | « src/opts/SkXfermode_opts_SSE2.h ('k') | src/opts/opts_check_SSE2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698