Geoff Lang | d08f3b3 | 2016-09-23 15:56:30 -0400 | [diff] [blame^] | 1 | // |
| 2 | // Copyright 2016 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 | // CompilerNULL.h: |
| 7 | // Defines the class interface for CompilerNULL, implementing CompilerImpl. |
| 8 | // |
| 9 | |
| 10 | #ifndef LIBANGLE_RENDERER_NULL_COMPILERNULL_H_ |
| 11 | #define LIBANGLE_RENDERER_NULL_COMPILERNULL_H_ |
| 12 | |
| 13 | #include "libANGLE/renderer/CompilerImpl.h" |
| 14 | |
| 15 | namespace rx |
| 16 | { |
| 17 | |
| 18 | class CompilerNULL : public CompilerImpl |
| 19 | { |
| 20 | public: |
| 21 | CompilerNULL(); |
| 22 | ~CompilerNULL() override; |
| 23 | |
| 24 | gl::Error release() override; |
| 25 | |
| 26 | // TODO(jmadill): Expose translator built-in resources init method. |
| 27 | ShShaderOutput getTranslatorOutputType() const override; |
| 28 | }; |
| 29 | |
| 30 | } // namespace rx |
| 31 | |
| 32 | #endif // LIBANGLE_RENDERER_NULL_COMPILERNULL_H_ |