| OLD | NEW |
| 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 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" // nogn
check |
| 10 #endif | 10 #endif |
| 11 } | 11 } |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 LPCTSTR kWindowClassName = TEXT("ES2CONFORM"); | 16 LPCTSTR kWindowClassName = TEXT("ES2CONFORM"); |
| 17 | 17 |
| 18 LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, | 18 LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, |
| 19 WPARAM w_param, LPARAM l_param) { | 19 WPARAM w_param, LPARAM l_param) { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 EGLImageKHR GTFCreateEGLImage(int width, int height, | 109 EGLImageKHR GTFCreateEGLImage(int width, int height, |
| 110 GLenum format, GLenum type) { | 110 GLenum format, GLenum type) { |
| 111 return (EGLImageKHR)NULL; | 111 return (EGLImageKHR)NULL; |
| 112 } | 112 } |
| 113 | 113 |
| 114 void GTFDestroyEGLImage(EGLImageKHR image) { | 114 void GTFDestroyEGLImage(EGLImageKHR image) { |
| 115 } | 115 } |
| 116 | 116 |
| 117 } // extern "C" | 117 } // extern "C" |
| OLD | NEW |