| 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 demonstrates generating a mipmap chain | 5 // This is a simple example that demonstrates generating a mipmap chain |
| 6 // and rendering with it. | 6 // and rendering with it. |
| 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_9/MipMap2D/MipMap2D.h" | 10 #include "third_party/gles2_book/Chapter_9/MipMap2D/MipMap2D.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } | 24 } |
| 25 }; | 25 }; |
| 26 } // namespace gles2_book | 26 } // namespace gles2_book |
| 27 | 27 |
| 28 Demo* CreateDemo() { | 28 Demo* CreateDemo() { |
| 29 return new gles2_book::MipMap2D(); | 29 return new gles2_book::MipMap2D(); |
| 30 } | 30 } |
| 31 | 31 |
| 32 } // namespace demos | 32 } // namespace demos |
| 33 } // namespace gpu | 33 } // namespace gpu |
| OLD | NEW |