OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file implements a stub GL Interface for unit testing. The interface |
| 6 // corresponds to the set of functionally distinct GL functions defined in |
| 7 // generate_bindings.py, which may originate from either desktop GL or GLES. |
| 8 |
| 9 #ifndef UI_GL_GL_STUB_API_BASE_H_ |
| 10 #define UI_GL_GL_STUB_API_BASE_H_ |
| 11 |
| 12 #include "ui/gl/gl_bindings.h" |
| 13 #include "ui/gl/gl_export.h" |
| 14 #include "ui/gl/gl_gl_api_implementation.h" |
| 15 |
| 16 namespace gl { |
| 17 |
| 18 class GL_EXPORT GLStubApiBase : public gl::GLApi { |
| 19 public: |
| 20 GLStubApiBase() {} |
| 21 ~GLStubApiBase() override {} |
| 22 |
| 23 #include "ui/gl/gl_stub_autogen_gl.h" |
| 24 }; |
| 25 |
| 26 } // namespace gl |
| 27 |
| 28 #endif // UI_GL_GL_STUB_API_BASE_H_ |
OLD | NEW |