gfx/skia/trunk/src/opts/SkBlitRow_opts_SSE2.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.

     2 /*
     3  * Copyright 2009 The Android Open Source Project
     4  *
     5  * Use of this source code is governed by a BSD-style license that can be
     6  * found in the LICENSE file.
     7  */
    10 #include "SkBlitRow.h"
    12 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst,
    13                               const SkPMColor* SK_RESTRICT src,
    14                               int count, U8CPU alpha);
    16 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst,
    17                                 const SkPMColor* SK_RESTRICT src,
    18                                 int count, U8CPU alpha);
    20 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst,
    21                                const SkPMColor* SK_RESTRICT src,
    22                                int count, U8CPU alpha);
    23 void SkARGB32_A8_BlitMask_SSE2(void* device, size_t dstRB, const void* mask,
    24                                size_t maskRB, SkColor color,
    25                                int width, int height);
    27 void SkBlitLCD16Row_SSE2(SkPMColor dst[], const uint16_t src[],
    28                          SkColor color, int width, SkPMColor);
    29 void SkBlitLCD16OpaqueRow_SSE2(SkPMColor dst[], const uint16_t src[],
    30                                SkColor color, int width, SkPMColor opaqueDst);
    32 void S32_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst,
    33                           const SkPMColor* SK_RESTRICT src, int count,
    34                           U8CPU alpha, int /*x*/, int /*y*/);
    35 void S32A_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst,
    36                            const SkPMColor* SK_RESTRICT src,
    37                            int count, U8CPU alpha, int /*x*/, int /*y*/);
    38 void S32_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst,
    39                                  const SkPMColor* SK_RESTRICT src,
    40                                  int count, U8CPU alpha, int x, int y);
    41 void S32A_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst,
    42                                   const SkPMColor* SK_RESTRICT src,
    43                                   int count, U8CPU alpha, int x, int y);

mercurial