| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 is a simple example that draws a single triangle with | 5 // This is a simple example that draws a single triangle with |
| 6 // a minimal vertex/fragment shader. The purpose of this | 6 // a minimal vertex/fragment shader. The purpose of this |
| 7 // example is to demonstrate the basic concepts of | 7 // example is to demonstrate the basic concepts of |
| 8 // OpenGL ES 2.0 rendering. | 8 // OpenGL ES 2.0 rendering. |
| 9 | 9 |
| 10 #include "gpu/demos/framework/demo_factory.h" | 10 #include "gpu/demos/framework/demo_factory.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 }; | 27 }; |
| 28 } // namespace gles2_book | 28 } // namespace gles2_book |
| 29 | 29 |
| 30 Demo* CreateDemo() { | 30 Demo* CreateDemo() { |
| 31 return new gles2_book::HelloTriangle(); | 31 return new gles2_book::HelloTriangle(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 } // namespace demos | 34 } // namespace demos |
| 35 } // namespace gpu | 35 } // namespace gpu |
| OLD | NEW |