| 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 rotating cube in perspective | 5 // This is a simple example that draws a rotating cube in perspective |
| 6 // using a vertex shader to transform the object. | 6 // using a vertex shader to transform the object. |
| 7 | 7 |
| 8 #include "gpu/demos/framework/demo_factory.h" | 8 #include "gpu/demos/framework/demo_factory.h" |
| 9 #include "gpu/demos/gles2_book/example.h" | 9 #include "gpu/demos/gles2_book/example.h" |
| 10 #include "third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShad
er.h" | 10 #include "third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShad
er.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 } | 28 } |
| 29 }; | 29 }; |
| 30 } // namespace gles2_book | 30 } // namespace gles2_book |
| 31 | 31 |
| 32 Demo* CreateDemo() { | 32 Demo* CreateDemo() { |
| 33 return new gles2_book::SimpleVertexShader(); | 33 return new gles2_book::SimpleVertexShader(); |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // namespace demos | 36 } // namespace demos |
| 37 } // namespace gpu | 37 } // namespace gpu |
| OLD | NEW |