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

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

Issue 847363002: skia: blend32_16_row for neon version (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: skia: blend32_16_row for neon version 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/core/SkBlitter_RGB16.cpp ('k') | src/opts/SkBlitRow_opts_arm_neon.h » ('j') | 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 2012 The Android Open Source Project 2 * Copyright 2012 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 "SkBlitRow.h" 8 #include "SkBlitRow.h"
9 #include "SkColorPriv.h" 9 #include "SkColorPriv.h"
10 #include "SkDither.h" 10 #include "SkDither.h"
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 S32A_D565_Opaque, // S32A_D565_Opaque 357 S32A_D565_Opaque, // S32A_D565_Opaque
358 NULL, // S32A_D565_Blend 358 NULL, // S32A_D565_Blend
359 359
360 // dither 360 // dither
361 NULL, // S32_D565_Opaque_Dither 361 NULL, // S32_D565_Opaque_Dither
362 NULL, // S32_D565_Blend_Dither 362 NULL, // S32_D565_Blend_Dither
363 NULL, // S32A_D565_Opaque_Dither 363 NULL, // S32A_D565_Opaque_Dither
364 NULL, // S32A_D565_Blend_Dither 364 NULL, // S32A_D565_Blend_Dither
365 }; 365 };
366 366
367 static const SkBlitRow::ColorProc16 sk_blitrow_platform_565_colorprocs_arm[] = {
368 NULL, // Color32_D565,
369 NULL, // Color32A_D565,
370 NULL, // Color32_D565_Dither,
371 NULL, // Color32A_D565_Dither
372 };
373
367 static const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = { 374 static const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = {
368 NULL, // S32_Opaque, 375 NULL, // S32_Opaque,
369 NULL, // S32_Blend, 376 NULL, // S32_Blend,
370 S32A_Opaque_BlitRow32_arm, // S32A_Opaque, 377 S32A_Opaque_BlitRow32_arm, // S32A_Opaque,
371 S32A_Blend_BlitRow32_arm // S32A_Blend 378 S32A_Blend_BlitRow32_arm // S32A_Blend
372 }; 379 };
373 380
374 #endif // USE_ARM_CODE 381 #endif // USE_ARM_CODE
375 382
376 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) { 383 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) {
377 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags]; 384 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags];
378 } 385 }
379 386
380 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) { 387 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) {
381 return NULL; 388 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_colorprocs_arm)[flags];
382 } 389 }
383 390
384 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { 391 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) {
385 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; 392 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags];
386 } 393 }
387 394
388 /////////////////////////////////////////////////////////////////////////////// 395 ///////////////////////////////////////////////////////////////////////////////
389 #define Color32_arm NULL 396 #define Color32_arm NULL
390 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { 397 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() {
391 return SK_ARM_NEON_WRAP(Color32_arm); 398 return SK_ARM_NEON_WRAP(Color32_arm);
392 } 399 }
393 400
394 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { 401 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() {
395 return NULL; 402 return NULL;
396 } 403 }
OLDNEW
« no previous file with comments | « src/core/SkBlitter_RGB16.cpp ('k') | src/opts/SkBlitRow_opts_arm_neon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698