Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Side by Side Diff: gpu/demos/gles2_book/demo_hello_triangle.cc

Issue 3132017: GLES demos on PPAPI. (Closed)
Patch Set: Removed DEPS, they are already up to date. Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/demos/framework/pepper.cc ('k') | gpu/demos/gles2_book/demo_mip_map_2d.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « gpu/demos/framework/pepper.cc ('k') | gpu/demos/gles2_book/demo_mip_map_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698