| 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 quad with a 2D | 5 // This is a simple example that draws a quad with a 2D |
| 6 // texture image. The purpose of this example is to demonstrate | 6 // texture image. The purpose of this example is to demonstrate |
| 7 // the basics of 2D texturing. | 7 // the basics of 2D texturing. |
| 8 | 8 |
| 9 #include "gpu/demos/framework/demo_factory.h" | 9 #include "gpu/demos/framework/demo_factory.h" |
| 10 #include "gpu/demos/gles2_book/example.h" | 10 #include "gpu/demos/gles2_book/example.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 } | 25 } |
| 26 }; | 26 }; |
| 27 } // namespace gles2_book | 27 } // namespace gles2_book |
| 28 | 28 |
| 29 Demo* CreateDemo() { | 29 Demo* CreateDemo() { |
| 30 return new gles2_book::SimpleTexture2D(); | 30 return new gles2_book::SimpleTexture2D(); |
| 31 } | 31 } |
| 32 | 32 |
| 33 } // namespace demos | 33 } // namespace demos |
| 34 } // namespace gpu | 34 } // namespace gpu |
| OLD | NEW |