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

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

Issue 957433002: Remove SSE2 ColorRect32 code/files (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added back declaration Created 5 years, 10 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/SkBlitRect_opts_SSE2.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009 The Android Open Source Project 2 * Copyright 2009 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 "SkBitmapFilter_opts_SSE2.h" 8 #include "SkBitmapFilter_opts_SSE2.h"
9 #include "SkBitmapProcState_opts_SSE2.h" 9 #include "SkBitmapProcState_opts_SSE2.h"
10 #include "SkBitmapProcState_opts_SSSE3.h" 10 #include "SkBitmapProcState_opts_SSSE3.h"
11 #include "SkBitmapScaler.h" 11 #include "SkBitmapScaler.h"
12 #include "SkBlitMask.h" 12 #include "SkBlitMask.h"
13 #include "SkBlitRect_opts_SSE2.h"
14 #include "SkBlitRow.h" 13 #include "SkBlitRow.h"
15 #include "SkBlitRow_opts_SSE2.h" 14 #include "SkBlitRow_opts_SSE2.h"
16 #include "SkBlitRow_opts_SSE4.h" 15 #include "SkBlitRow_opts_SSE4.h"
17 #include "SkBlurImage_opts_SSE2.h" 16 #include "SkBlurImage_opts_SSE2.h"
18 #include "SkBlurImage_opts_SSE4.h" 17 #include "SkBlurImage_opts_SSE4.h"
19 #include "SkLazyPtr.h" 18 #include "SkLazyPtr.h"
20 #include "SkMorphology_opts.h" 19 #include "SkMorphology_opts.h"
21 #include "SkMorphology_opts_SSE2.h" 20 #include "SkMorphology_opts_SSE2.h"
22 #include "SkRTConf.h" 21 #include "SkRTConf.h"
23 #include "SkUtils.h" 22 #include "SkUtils.h"
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { 257 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
259 return Color32_SSE2; 258 return Color32_SSE2;
260 } else { 259 } else {
261 return NULL; 260 return NULL;
262 } 261 }
263 } 262 }
264 263
265 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning 264 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning
266 265
267 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { 266 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() {
268 /* Return NULL for now, since the optimized path in ColorRect32_SSE2 is disabled .
269 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
270 return ColorRect32_SSE2;
271 } else {
272 return NULL;
273 }
274 */
275 return NULL; 267 return NULL;
276 } 268 }
277 269
278 //////////////////////////////////////////////////////////////////////////////// 270 ////////////////////////////////////////////////////////////////////////////////
279 271
280 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkColorType dstCT, 272 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkColorType dstCT,
281 SkMask::Format maskFormat, 273 SkMask::Format maskFormat,
282 SkColor color) { 274 SkColor color) {
283 if (SkMask::kA8_Format != maskFormat) { 275 if (SkMask::kA8_Format != maskFormat) {
284 return NULL; 276 return NULL;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 } else { 398 } else {
407 return SkPlatformXfermodeFactory_impl(rec, mode); 399 return SkPlatformXfermodeFactory_impl(rec, mode);
408 } 400 }
409 } 401 }
410 402
411 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); 403 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode);
412 404
413 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { 405 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
414 return NULL; 406 return NULL;
415 } 407 }
OLDNEW
« no previous file with comments | « src/opts/SkBlitRect_opts_SSE2.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698