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

Side by Side Diff: gpu/demos/texture_wrap/main.cc

Issue 549159: Hooked all demos to gpu/demos.gyp. Now all demos run as both - standalone exe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « gpu/demos/stencil_test/main.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // This is an example that demonstrates the three texture
6 // wrap modes available on 2D textures.
7
8 #include "gpu/demos/gles2_book/example.h"
9 #include "third_party/gles2_book/Chapter_9/TextureWrap/TextureWrap.h"
10
11 namespace gpu {
12 namespace demos {
13 namespace gles2_book {
14 typedef Example<TWUserData,
15 twInit,
16 NoOpUpdateFunc,
17 twDraw,
18 twShutDown> TextureWrap;
19 } // namespace gles2_book
20 } // namespace demos
21 } // namespace gpu
22
23 int main(int argc, char *argv[]) {
24 gpu::demos::gles2_book::TextureWrap demo;
25 CHECK(demo.Init());
26
27 demo.MainLoop();
28 return EXIT_SUCCESS;
29 }
OLDNEW
« no previous file with comments | « gpu/demos/stencil_test/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698