Raise SIGKILL if cast_service doesn't Finalize() within timeout.
[chromium-blink-merge.git] / gpu / gles2_conform_support / gles2_conform_support.c
blobdb0e8c0bc2ca66eac72e7334b2002153924bd351
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.
5 // A small sample just to make sure we can actually compile and link
6 // our OpenGL ES 2.0 conformance test support code.
8 #include <EGL/egl.h>
9 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h"
11 // Note: This code is not intended to run, only compile and link.
12 int GTFMain(int argc, char** argv) {
13 EGLint major, minor;
14 EGLDisplay eglDisplay;
15 EGLNativeDisplayType nativeDisplay = EGL_DEFAULT_DISPLAY;
17 eglDisplay = eglGetDisplay(nativeDisplay);
18 eglInitialize(eglDisplay, &major, &minor);
20 return 0;