| OLD | NEW |
| 1 // Copyright (c) 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 #ifndef MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_ | 5 #ifndef MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_ |
| 6 #define MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_ | 6 #define MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
| 9 | 9 |
| 10 namespace mojo { | 10 namespace mojo { |
| 11 | 11 |
| 12 class GLES2Interface { | 12 class GLES2Interface { |
| 13 public: | 13 public: |
| 14 virtual ~GLES2Interface() {} | 14 virtual ~GLES2Interface() {} |
| 15 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ | 15 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ |
| 16 virtual ReturnType Function PARAMETERS = 0; | 16 virtual ReturnType Function PARAMETERS = 0; |
| 17 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" | 17 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" |
| 18 #undef VISIT_GL_CALL | 18 #undef VISIT_GL_CALL |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace mojo | 21 } // namespace mojo |
| 22 | 22 |
| 23 #endif // MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_ | 23 #endif // MOJO_PUBLIC_GLES2_GLES2_INTERFACE_H_ |
| OLD | NEW |