blob: 7130b774df72e516db34a48da8a377cece388564 [file] [log] [blame]
daniel@transgaming.comd5d10192012-11-28 20:57:55 +00001//
2// Copyright (c) 2012 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//
6
7// ShaderExecutable.h: Defines a renderer-agnostic class to contain shader
8// executable implementation details.
9
10#ifndef LIBGLESV2_RENDERER_SHADEREXECUTABLE_H_
11#define LIBGLESV2_RENDERER_SHADEREXECUTABLE_H_
12
13#include "common/angleutils.h"
14
15namespace rx
16{
17
18class ShaderExecutable
19{
20 public:
21 ShaderExecutable() {};
22 virtual ~ShaderExecutable() {};
23
daniel@transgaming.comc0ccbd82012-11-28 20:59:37 +000024 virtual bool getVertexFunction(void *pData, UINT *pSizeOfData) = 0;
25 virtual bool getPixelFunction(void *pData, UINT *pSizeOfData) = 0;
26
daniel@transgaming.comd5d10192012-11-28 20:57:55 +000027 private:
28 DISALLOW_COPY_AND_ASSIGN(ShaderExecutable);
29};
30
31}
32
33#endif // LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_