gfx/angle/src/libGLESv2/precompiled.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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