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

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

Issue 1818143003: Whitelist some GPU test includes in GN check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "gpu/gles2_conform_support/egl/display.h" 5 #include "gpu/gles2_conform_support/egl/display.h"
6 6
7 extern "C" { 7 extern "C" {
8 #if defined(GLES2_CONFORM_SUPPORT_ONLY) 8 #if defined(GLES2_CONFORM_SUPPORT_ONLY)
9 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h" 9 #include "gpu/gles2_conform_support/gtf/gtf_stubs.h"
10 #else 10 #else
11 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" 11 #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" // nogn check
12 #endif 12 #endif
13 13
14 GTFbool GTFNativeCreateDisplay(EGLNativeDisplayType *pNativeDisplay) { 14 GTFbool GTFNativeCreateDisplay(EGLNativeDisplayType *pNativeDisplay) {
15 *pNativeDisplay = EGL_DEFAULT_DISPLAY; 15 *pNativeDisplay = EGL_DEFAULT_DISPLAY;
16 return GTFtrue; 16 return GTFtrue;
17 } 17 }
18 18
19 void GTFNativeDestroyDisplay(EGLNativeDisplayType nativeDisplay) { 19 void GTFNativeDestroyDisplay(EGLNativeDisplayType nativeDisplay) {
20 // Nothing to destroy since we are using EGL_DEFAULT_DISPLAY 20 // Nothing to destroy since we are using EGL_DEFAULT_DISPLAY
21 } 21 }
(...skipping 14 matching lines...) Expand all
36 EGLImageKHR GTFCreateEGLImage(int width, int height, 36 EGLImageKHR GTFCreateEGLImage(int width, int height,
37 GLenum format, GLenum type) { 37 GLenum format, GLenum type) {
38 return (EGLImageKHR)0; 38 return (EGLImageKHR)0;
39 } 39 }
40 40
41 void GTFDestroyEGLImage(EGLImageKHR image) { 41 void GTFDestroyEGLImage(EGLImageKHR image) {
42 } 42 }
43 43
44 } // extern "C" 44 } // extern "C"
45 45
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/native/egl_native_aura.cc ('k') | gpu/gles2_conform_support/native/egl_native_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698