gfx/skia/trunk/src/opts/SkBlitMask_opts_arm_neon.h

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 #ifndef SkBlitMask_opts_arm_neon_DEFINED
     2 #define SkBlitMask_opts_arm_neon_DEFINED
     4 #include "SkColor.h"
     5 #include "SkBlitMask.h"
     7 extern SkBlitMask::ColorProc D32_A8_Factory_neon(SkColor color);
     9 extern void SkBlitLCD16OpaqueRow_neon(SkPMColor dst[], const uint16_t src[],
    10                                       SkColor color, int width,
    11                                       SkPMColor opaqueDst);
    13 extern void SkBlitLCD16Row_neon(SkPMColor dst[], const uint16_t src[],
    14                                 SkColor color, int width, SkPMColor);
    16 #endif // #ifndef SkBlitMask_opts_arm_neon_DEFINED

mercurial