gfx/angle/src/libGLESv2/renderer/ShaderExecutable9.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) 2012-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 // ShaderExecutable9.h: Defines a D3D9-specific class to contain shader
     8 // executable implementation details.
    10 #ifndef LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_
    11 #define LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_
    13 #include "libGLESv2/renderer/ShaderExecutable.h"
    15 namespace rx
    16 {
    18 class ShaderExecutable9 : public ShaderExecutable
    19 {
    20   public:
    21     ShaderExecutable9(const void *function, size_t length, IDirect3DPixelShader9 *executable);
    22     ShaderExecutable9(const void *function, size_t length, IDirect3DVertexShader9 *executable);
    23     virtual ~ShaderExecutable9();
    25     static ShaderExecutable9 *makeShaderExecutable9(ShaderExecutable *executable);
    27     IDirect3DPixelShader9 *getPixelShader() const;
    28     IDirect3DVertexShader9 *getVertexShader() const;
    30   private:
    31     DISALLOW_COPY_AND_ASSIGN(ShaderExecutable9);
    33     IDirect3DPixelShader9 *mPixelExecutable;
    34     IDirect3DVertexShader9 *mVertexExecutable;
    35 };
    37 }
    39 #endif // LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_

mercurial