| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file is auto-generated from | 5 // This file is auto-generated from |
| 6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
| 7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
| 10 | 10 |
| 11 // This file is included by gles2_interface.h to declare the | 11 // This file is included by gles2_interface.h to declare the |
| 12 // GL api functions. | 12 // GL api functions. |
| 13 #ifndef MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ | 13 #ifndef MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ |
| 14 #define MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ | 14 #define MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ |
| 15 | 15 |
| 16 #include <memory> |
| 17 |
| 16 #include "gpu/command_buffer/client/gles2_interface.h" | 18 #include "gpu/command_buffer/client/gles2_interface.h" |
| 17 #include "mojo/public/c/gles2/gles2.h" | 19 #include "mojo/public/c/gles2/gles2.h" |
| 18 | 20 |
| 19 namespace mojo { | 21 namespace mojo { |
| 20 | 22 |
| 21 class MojoGLES2Impl : public gpu::gles2::GLES2Interface { | 23 class MojoGLES2Impl : public gpu::gles2::GLES2Interface { |
| 22 public: | 24 public: |
| 23 explicit MojoGLES2Impl(MojoGLES2Context context) { context_ = context; } | 25 explicit MojoGLES2Impl(MojoGLES2Context context) { context_ = context; } |
| 24 ~MojoGLES2Impl() override {} | 26 ~MojoGLES2Impl() override {} |
| 25 void ActiveTexture(GLenum texture) override; | 27 void ActiveTexture(GLenum texture) override; |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 GLint location, | 886 GLint location, |
| 885 GLboolean transpose, | 887 GLboolean transpose, |
| 886 const GLfloat* default_value) override; | 888 const GLfloat* default_value) override; |
| 887 | 889 |
| 888 private: | 890 private: |
| 889 MojoGLES2Context context_; | 891 MojoGLES2Context context_; |
| 890 }; | 892 }; |
| 891 | 893 |
| 892 } // namespace mojo | 894 } // namespace mojo |
| 893 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ | 895 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ |
| OLD | NEW |