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

     1 /*
     2  * Copyright 2011 Google Inc.
     3  *
     4  * Use of this source code is governed by a BSD-style license that can be
     5  * found in the LICENSE file.
     6  */
     8 #ifndef SkBlitRect_opts_SSE2_DEFINED
     9 #define SkBlitRect_opts_SSE2_DEFINED
    11 /*
    12   These functions' implementations copy sections of both
    13   SkBlitRow_opts_SSE2 and SkUtils_opts_SSE2.
    14 */
    16 #include "SkColor.h"
    18 void ColorRect32_SSE2(SkPMColor* SK_RESTRICT dst,
    19                       int width, int height,
    20                       size_t rowBytes, uint32_t color);
    23 #endif

mercurial