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

Side by Side Diff: gpu/gles2_conform_support/gles2_conform_support.c

Issue 7066028: Resubmit CL 86306 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 // A small sample just to make sure we can actually compile and link 5 // A small sample just to make sure we can actually compile and link
6 // our OpenGL ES 2.0 conformance test support code. 6 // our OpenGL ES 2.0 conformance test support code.
7 7
8 #include <EGL/egl.h> 8 #include <EGL/egl.h>
9 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h" 9 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h"
10 10
11 // Note: This code is not intended to run, only compile and link. 11 // Note: This code is not intended to run, only compile and link.
12 int GTFMain(int argc, char** argv) { 12 int GTFMain(int argc, char** argv) {
13 EGLint major, minor; 13 EGLint major, minor;
14 EGLDisplay eglDisplay; 14 EGLDisplay eglDisplay;
15 EGLNativeDisplayType nativeDisplay = EGL_DEFAULT_DISPLAY; 15 EGLNativeDisplayType nativeDisplay = EGL_DEFAULT_DISPLAY;
16 16
17 eglDisplay = eglGetDisplay(nativeDisplay); 17 eglDisplay = eglGetDisplay(nativeDisplay);
18 eglInitialize(eglDisplay, &major, &minor); 18 eglInitialize(eglDisplay, &major, &minor);
19 19
20 return 0; 20 return 0;
21 } 21 }
22 22
23 23
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/surface.cc ('k') | gpu/gles2_conform_support/gles2_conform_support.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698