OLD | NEW |
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 extern "C" { | 5 extern "C" { |
6 #if defined(GLES2_CONFORM_SUPPORT_ONLY) | 6 #if defined(GLES2_CONFORM_SUPPORT_ONLY) |
7 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h" | 7 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h" |
8 #else | 8 #else |
9 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" | 9 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" |
10 #endif | 10 #endif |
11 } | 11 } |
12 | 12 |
13 GTFbool GTFNativeCreatePixmap(EGLNativeDisplayType nativeDisplay, | 13 GTFbool GTFNativeCreatePixmap(EGLNativeDisplayType nativeDisplay, |
14 EGLDisplay eglDisplay, EGLConfig eglConfig, | 14 EGLDisplay eglDisplay, EGLConfig eglConfig, |
15 const char *title, int width, int height, | 15 const char *title, int width, int height, |
16 EGLNativePixmapType *pNativePixmap) { | 16 EGLNativePixmapType *pNativePixmap) { |
17 return GTFtrue; | 17 return GTFtrue; |
18 } | 18 } |
19 | 19 |
20 void GTFNativeDestroyPixmap(EGLNativeDisplayType nativeDisplay, | 20 void GTFNativeDestroyPixmap(EGLNativeDisplayType nativeDisplay, |
21 EGLNativePixmapType nativePixmap) { | 21 EGLNativePixmapType nativePixmap) { |
22 } | 22 } |
OLD | NEW |