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

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

Issue 181293002: SSE2 implementation of S32_D565_Opaque_Dither (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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/SkBlitRow_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 "SkBitmapProcState_opts_SSE2.h" 8 #include "SkBitmapProcState_opts_SSE2.h"
9 #include "SkBitmapProcState_opts_SSSE3.h" 9 #include "SkBitmapProcState_opts_SSSE3.h"
10 #include "SkBitmapFilter_opts_SSE2.h" 10 #include "SkBitmapFilter_opts_SSE2.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 163 }
164 } 164 }
165 } 165 }
166 } 166 }
167 167
168 static SkBlitRow::Proc platform_16_procs[] = { 168 static SkBlitRow::Proc platform_16_procs[] = {
169 S32_D565_Opaque_SSE2, // S32_D565_Opaque 169 S32_D565_Opaque_SSE2, // S32_D565_Opaque
170 NULL, // S32_D565_Blend 170 NULL, // S32_D565_Blend
171 S32A_D565_Opaque_SSE2, // S32A_D565_Opaque 171 S32A_D565_Opaque_SSE2, // S32A_D565_Opaque
172 NULL, // S32A_D565_Blend 172 NULL, // S32A_D565_Blend
173 NULL, // S32_D565_Opaque_Dither 173 S32_D565_Opaque_Dither_SSE2, // S32_D565_Opaque_Dither
174 NULL, // S32_D565_Blend_Dither 174 NULL, // S32_D565_Blend_Dither
175 NULL, // S32A_D565_Opaque_Dither 175 NULL, // S32A_D565_Opaque_Dither
176 NULL, // S32A_D565_Blend_Dither 176 NULL, // S32A_D565_Blend_Dither
177 }; 177 };
178 178
179 static SkBlitRow::Proc32 platform_32_procs[] = { 179 static SkBlitRow::Proc32 platform_32_procs[] = {
180 NULL, // S32_Opaque, 180 NULL, // S32_Opaque,
181 S32_Blend_BlitRow32_SSE2, // S32_Blend, 181 S32_Blend_BlitRow32_SSE2, // S32_Blend,
182 S32A_Opaque_BlitRow32_SSE2, // S32A_Opaque 182 S32A_Opaque_BlitRow32_SSE2, // S32A_Opaque
183 S32A_Blend_BlitRow32_SSE2, // S32A_Blend, 183 S32A_Blend_BlitRow32_SSE2, // S32A_Blend,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning 301 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning
302 302
303 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { 303 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() {
304 if (cachedHasSSE2()) { 304 if (cachedHasSSE2()) {
305 return ColorRect32_SSE2; 305 return ColorRect32_SSE2;
306 } else { 306 } else {
307 return NULL; 307 return NULL;
308 } 308 }
309 } 309 }
OLDNEW
« no previous file with comments | « src/opts/SkBlitRow_opts_SSE2.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698