OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 just a compile fix. If this is really needed when using aura, the | 5 // This is just a compile fix. If this is really needed when using aura, the |
6 // methods below should be filled out. | 6 // methods below should be filled out. |
7 | 7 |
8 #include <EGL/egl.h> | 8 #include <EGL/egl.h> |
9 #include <EGL/eglext.h> | 9 #include <EGL/eglext.h> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 | 12 |
13 extern "C" { | 13 extern "C" { |
14 #if defined(GLES2_CONFORM_SUPPORT_ONLY) | 14 #if defined(GLES2_CONFORM_SUPPORT_ONLY) |
15 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h" | 15 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h" |
16 #else | 16 #else |
17 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" | 17 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" // nogn
check |
18 #endif | 18 #endif |
19 | 19 |
20 GTFbool GTFNativeCreateDisplay(EGLNativeDisplayType *pNativeDisplay) { | 20 GTFbool GTFNativeCreateDisplay(EGLNativeDisplayType *pNativeDisplay) { |
21 NOTIMPLEMENTED(); | 21 NOTIMPLEMENTED(); |
22 return GTFfalse; | 22 return GTFfalse; |
23 } | 23 } |
24 | 24 |
25 void GTFNativeDestroyDisplay(EGLNativeDisplayType nativeDisplay) { | 25 void GTFNativeDestroyDisplay(EGLNativeDisplayType nativeDisplay) { |
26 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
27 } | 27 } |
28 | 28 |
29 void GTFNativeDestroyWindow(EGLNativeDisplayType nativeDisplay, | 29 void GTFNativeDestroyWindow(EGLNativeDisplayType nativeDisplay, |
30 EGLNativeWindowType nativeWindow) { | 30 EGLNativeWindowType nativeWindow) { |
31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
32 } | 32 } |
33 | 33 |
34 GTFbool GTFNativeCreateWindow(EGLNativeDisplayType nativeDisplay, | 34 GTFbool GTFNativeCreateWindow(EGLNativeDisplayType nativeDisplay, |
35 EGLDisplay eglDisplay, EGLConfig eglConfig, | 35 EGLDisplay eglDisplay, EGLConfig eglConfig, |
36 const char* title, int width, int height, | 36 const char* title, int width, int height, |
37 EGLNativeWindowType *pNativeWindow) { | 37 EGLNativeWindowType *pNativeWindow) { |
38 NOTIMPLEMENTED(); | 38 NOTIMPLEMENTED(); |
39 return GTFfalse; | 39 return GTFfalse; |
40 } | 40 } |
41 | 41 |
42 } // extern "C" | 42 } // extern "C" |
OLD | NEW |