| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef __eglplatform_shim_h_ | 5 #ifndef __eglplatform_shim_h_ |
| 6 #define __eglplatform_shim_h_ | 6 #define __eglplatform_shim_h_ |
| 7 | 7 |
| 8 #include <stdbool.h> | 8 #include <stdbool.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // Create window handle & query window properties (called from browser process). | 41 // Create window handle & query window properties (called from browser process). |
| 42 SHIM_EXPORT ShimNativeWindowId ShimCreateWindow(void); | 42 SHIM_EXPORT ShimNativeWindowId ShimCreateWindow(void); |
| 43 SHIM_EXPORT bool ShimQueryWindow(ShimNativeWindowId window_id, | 43 SHIM_EXPORT bool ShimQueryWindow(ShimNativeWindowId window_id, |
| 44 int attribute, | 44 int attribute, |
| 45 int* value); | 45 int* value); |
| 46 SHIM_EXPORT bool ShimDestroyWindow(ShimNativeWindowId window_id); | 46 SHIM_EXPORT bool ShimDestroyWindow(ShimNativeWindowId window_id); |
| 47 | 47 |
| 48 // Manage actual EGL platform objects (called from GPU process). | 48 // Manage actual EGL platform objects (called from GPU process). |
| 49 SHIM_EXPORT ShimEGLNativeDisplayType ShimGetNativeDisplay(void); | 49 SHIM_EXPORT ShimEGLNativeDisplayType ShimGetNativeDisplay(void); |
| 50 SHIM_EXPORT ShimEGLNativeWindowType | 50 SHIM_EXPORT ShimEGLNativeWindowType |
| 51 ShimGetNativeWindow(ShimNativeWindowId native_window_id); | 51 ShimGetNativeWindow(ShimNativeWindowId native_window_id); |
| 52 SHIM_EXPORT bool ShimReleaseNativeWindow(ShimEGLNativeWindowType native_window); | 52 SHIM_EXPORT bool ShimReleaseNativeWindow(ShimEGLNativeWindowType native_window); |
| 53 | 53 |
| 54 #ifdef __cplusplus | 54 #ifdef __cplusplus |
| 55 } | 55 } |
| 56 #endif | 56 #endif |
| 57 | 57 |
| 58 #endif /* __eglplatform_shim_h */ | 58 #endif /* __eglplatform_shim_h */ |
| OLD | NEW |