| Jesse Hall | d27f6aa | 2015-08-15 17:58:48 -0700 | [diff] [blame] | 1 | // Copyright (c) 2015 The Khronos Group Inc. | 
|  | 2 | // | 
|  | 3 | // Permission is hereby granted, free of charge, to any person obtaining a | 
|  | 4 | // copy of this software and/or associated documentation files (the | 
|  | 5 | // "Materials"), to deal in the Materials without restriction, including | 
|  | 6 | // without limitation the rights to use, copy, modify, merge, publish, | 
|  | 7 | // distribute, sublicense, and/or sell copies of the Materials, and to | 
|  | 8 | // permit persons to whom the Materials are furnished to do so, subject to | 
|  | 9 | // the following conditions: | 
|  | 10 | // | 
|  | 11 | // The above copyright notice and this permission notice shall be included | 
|  | 12 | // in all copies or substantial portions of the Materials. | 
|  | 13 | // | 
|  | 14 | // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | 
|  | 15 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | 
|  | 16 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | 
|  | 17 | // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | 
|  | 18 | // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | 
|  | 19 | // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 
|  | 20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | 
|  | 21 |  | 
|  | 22 | // Platform types, as defined or included in vk_platform.h | 
|  | 23 |  | 
|  | 24 | type u64 size_t | 
| Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 25 |  | 
| Jesse Hall | a642925 | 2015-11-29 18:59:42 -0800 | [diff] [blame] | 26 | // VK_USE_PLATFORM_XLIB_KHR | 
| Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 27 | @internal class Display {} | 
|  | 28 | @internal class Window {} | 
| Jesse Hall | a642925 | 2015-11-29 18:59:42 -0800 | [diff] [blame] | 29 | @internal type u64 VisualID | 
| Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 30 |  | 
|  | 31 | // VK_USE_PLATFORM_XCB_KHR | 
|  | 32 | @internal class xcb_connection_t {} | 
|  | 33 | @internal type u32 xcb_window_t | 
| Jesse Hall | a642925 | 2015-11-29 18:59:42 -0800 | [diff] [blame] | 34 | @internal type u32 xcb_visualid_t | 
| Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 35 |  | 
|  | 36 | // VK_USE_PLATFORM_WAYLAND_KHR | 
|  | 37 | @internal class wl_display {} | 
|  | 38 | @internal class wl_surface {} | 
|  | 39 |  | 
|  | 40 | // VK_USE_PLATFORM_MIR_KHR | 
|  | 41 | @internal class MirConnection {} | 
|  | 42 | @internal class MirSurface {} | 
|  | 43 |  | 
|  | 44 | // VK_USE_PLATFORM_ANDROID_KHR | 
|  | 45 | @internal class ANativeWindow {} | 
| Chia-I Wu | b262ddc | 2016-03-22 07:38:20 +0800 | [diff] [blame] | 46 | @internal type void* buffer_handle_t | 
| Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 47 |  | 
|  | 48 | // VK_USE_PLATFORM_WIN32_KHR | 
|  | 49 | @internal type void* HINSTANCE | 
|  | 50 | @internal type void* HWND | 
| Jesse Hall | eb02c47 | 2017-02-24 15:13:45 -0800 | [diff] [blame] | 51 | @internal type void* HANDLE | 
|  | 52 | @internal type u32   DWORD | 
| Jesse Hall | ad25084 | 2017-03-10 18:35:38 -0800 | [diff] [blame] | 53 | @internal type u16*  LPCWSTR | 
| Jesse Hall | eb02c47 | 2017-02-24 15:13:45 -0800 | [diff] [blame] | 54 | @internal class SECURITY_ATTRIBUTES {} | 
| Jesse Hall | 77ad05b | 2017-03-10 22:02:20 -0800 | [diff] [blame] | 55 |  | 
|  | 56 | // VK_USE_PLATFORM_XLIB_XRANDR_EXT | 
|  | 57 | @internal type u64 RROutput |