blob: e87d40e872add32390a435b8fdf9773e13a06c69 [file] [log] [blame]
Brandon Jonesf05cdee2014-08-27 15:24:07 -07001//
2// Copyright 2014 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// ShaderImpl.h: Defines the abstract rx::ShaderImpl class.
8
9#ifndef LIBGLESV2_RENDERER_SHADERIMPL_H_
10#define LIBGLESV2_RENDERER_SHADERIMPL_H_
11
12#include "common/angleutils.h"
13
14namespace rx
15{
16
17class ShaderImpl
18{
19 public:
20 virtual ~ShaderImpl() { }
21
22 virtual bool compile(const std::string &source) = 0;
23 virtual const std::string &getInfoLog() const = 0;
24 virtual const std::string &getTranslatedSource() const = 0;
25};
26
27}
28
29#endif // LIBGLESV2_RENDERER_SHADERIMPL_H_