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 "gpu/command_buffer/client/gles2_interface.h" | 16 #include "gpu/command_buffer/client/gles2_interface.h" |
17 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h" | 17 #include "mojo/public/c/gles2/gles2.h" |
18 | 18 |
19 namespace mojo { | 19 namespace mojo { |
20 | 20 |
21 class MojoGLES2Impl : public gpu::gles2::GLES2Interface { | 21 class MojoGLES2Impl : public gpu::gles2::GLES2Interface { |
22 public: | 22 public: |
23 explicit MojoGLES2Impl(MojoGLES2Context context) { context_ = context; } | 23 explicit MojoGLES2Impl(MojoGLES2Context context) { context_ = context; } |
24 ~MojoGLES2Impl() override {} | 24 ~MojoGLES2Impl() override {} |
25 void ActiveTexture(GLenum texture) override; | 25 void ActiveTexture(GLenum texture) override; |
26 void AttachShader(GLuint program, GLuint shader) override; | 26 void AttachShader(GLuint program, GLuint shader) override; |
27 void BindAttribLocation(GLuint program, | 27 void BindAttribLocation(GLuint program, |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 GLenum GetGraphicsResetStatusKHR() override; | 887 GLenum GetGraphicsResetStatusKHR() override; |
888 void BlendBarrierKHR() override; | 888 void BlendBarrierKHR() override; |
889 void ApplyScreenSpaceAntialiasingCHROMIUM() override; | 889 void ApplyScreenSpaceAntialiasingCHROMIUM() override; |
890 | 890 |
891 private: | 891 private: |
892 MojoGLES2Context context_; | 892 MojoGLES2Context context_; |
893 }; | 893 }; |
894 | 894 |
895 } // namespace mojo | 895 } // namespace mojo |
896 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ | 896 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_ |
OLD | NEW |