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

Side by Side Diff: gpu/gles2_conform_support/native/main.cc

Issue 7057033: Move OpenGL ES 2.0 conformance test support into main tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for osx Created 9 years, 7 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/gles2_conform_support/native/egl_native_win.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) 2011 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 #include "base/at_exit.h"
6 #include "base/message_loop.h"
7
8 #if defined(OS_LINUX)
9 #include <gtk/gtk.h>
10 #endif // OS_LINUX
11
12 extern "C" {
13 #if defined(GLES2_CONFORM_SUPPORT_ONLY)
14 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h"
15 #else
16 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/GTFMain.h"
17 #endif
18 }
19
20 int main(int argc, char *argv[]) {
21 #if defined(OS_LINUX)
22 gtk_init(&argc, &argv);
23 #endif // OS_LINUX
24
25 base::AtExitManager at_exit;
26 MessageLoopForUI message_loop;
27
28 GTFMain(argc, argv);
29
30 return 0;
31 }
32
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/native/egl_native_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698