gfx/angle/src/libGLESv2/precompiled.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 (c) 2013 The ANGLE Project Authors. All rights reserved.
     3 // Use of this source code is governed by a BSD-style license that can be
     4 // found in the LICENSE file.
     5 //
     7 // precompiled.h: Precompiled header file for libGLESv2.
     9 #define GL_APICALL
    10 #include <GLES2/gl2.h>
    11 #include <GLES2/gl2ext.h>
    13 #define EGLAPI
    14 #include <EGL/egl.h>
    16 #include <assert.h>
    17 #include <cstddef>
    18 #include <float.h>
    19 #include <intrin.h>
    20 #include <math.h>
    21 #include <stdarg.h>
    22 #include <stdlib.h>
    23 #include <stdio.h>
    24 #include <string.h>
    26 #include <algorithm> // for std::min and std::max
    27 #include <limits>
    28 #include <map>
    29 #include <set>
    30 #include <sstream>
    31 #include <string>
    32 #include <unordered_map>
    33 #include <vector>
    35 #include <d3d9.h>
    36 #include <d3d11.h>
    37 #include <dxgi.h>
    38 #include <d3dcompiler.h>
    40 #ifdef _MSC_VER
    41 #include <hash_map>
    42 #endif

mercurial