gfx/angle/src/libGLESv2/renderer/ShaderExecutable9.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/angle/src/libGLESv2/renderer/ShaderExecutable9.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +//
     1.5 +// Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved.
     1.6 +// Use of this source code is governed by a BSD-style license that can be
     1.7 +// found in the LICENSE file.
     1.8 +//
     1.9 +
    1.10 +// ShaderExecutable9.h: Defines a D3D9-specific class to contain shader
    1.11 +// executable implementation details.
    1.12 +
    1.13 +#ifndef LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_
    1.14 +#define LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_
    1.15 +
    1.16 +#include "libGLESv2/renderer/ShaderExecutable.h"
    1.17 +
    1.18 +namespace rx
    1.19 +{
    1.20 +
    1.21 +class ShaderExecutable9 : public ShaderExecutable
    1.22 +{
    1.23 +  public:
    1.24 +    ShaderExecutable9(const void *function, size_t length, IDirect3DPixelShader9 *executable);
    1.25 +    ShaderExecutable9(const void *function, size_t length, IDirect3DVertexShader9 *executable);
    1.26 +    virtual ~ShaderExecutable9();
    1.27 +
    1.28 +    static ShaderExecutable9 *makeShaderExecutable9(ShaderExecutable *executable);
    1.29 +
    1.30 +    IDirect3DPixelShader9 *getPixelShader() const;
    1.31 +    IDirect3DVertexShader9 *getVertexShader() const;
    1.32 +
    1.33 +  private:
    1.34 +    DISALLOW_COPY_AND_ASSIGN(ShaderExecutable9);
    1.35 +
    1.36 +    IDirect3DPixelShader9 *mPixelExecutable;
    1.37 +    IDirect3DVertexShader9 *mVertexExecutable;
    1.38 +};
    1.39 +
    1.40 +}
    1.41 +
    1.42 +#endif // LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_
    1.43 \ No newline at end of file

mercurial