OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Base class for OpenGL ES 2.0 book examples. | 5 // Base class for OpenGL ES 2.0 book examples. |
6 | 6 |
7 #ifndef GPU_DEMOS_GLES2_BOOK_EXAMPLE_H_ | 7 #ifndef GPU_DEMOS_GLES2_BOOK_EXAMPLE_H_ |
8 #define GPU_DEMOS_GLES2_BOOK_EXAMPLE_H_ | 8 #define GPU_DEMOS_GLES2_BOOK_EXAMPLE_H_ |
9 | 9 |
10 #include <cassert> | 10 #include <cassert> |
11 #include <cstring> | 11 #include <cstring> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 InitFunc* init_func_; | 82 InitFunc* init_func_; |
83 UpdateFunc* update_func_; | 83 UpdateFunc* update_func_; |
84 DrawFunc* draw_func_; | 84 DrawFunc* draw_func_; |
85 ShutDownFunc* shut_down_func_; | 85 ShutDownFunc* shut_down_func_; |
86 }; | 86 }; |
87 | 87 |
88 } // namespace gles2_book | 88 } // namespace gles2_book |
89 } // namespace demos | 89 } // namespace demos |
90 } // namespace gpu | 90 } // namespace gpu |
91 #endif // GPU_DEMOS_GLES2_BOOK_EXAMPLE_H_ | 91 #endif // GPU_DEMOS_GLES2_BOOK_EXAMPLE_H_ |
OLD | NEW |