Mark Lobodzinski | 6eda00a | 2016-02-02 15:55:36 -0700 | [diff] [blame^] | 1 | /* Copyright (c) 2015-2016 The Khronos Group Inc. |
| 2 | * Copyright (c) 2015-2016 Valve Corporation |
| 3 | * Copyright (c) 2015-2016 LunarG, Inc. |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 4 | * |
Mark Lobodzinski | 6eda00a | 2016-02-02 15:55:36 -0700 | [diff] [blame^] | 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6 | * of this software and/or associated documentation files (the "Materials"), to |
| 7 | * deal in the Materials without restriction, including without limitation the |
| 8 | * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
| 9 | * sell copies of the Materials, and to permit persons to whom the Materials |
| 10 | * are furnished to do so, subject to the following conditions: |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 11 | * |
Mark Lobodzinski | 6eda00a | 2016-02-02 15:55:36 -0700 | [diff] [blame^] | 12 | * The above copyright notice(s) and this permission notice shall be included |
| 13 | * in all copies or substantial portions of the Materials. |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 14 | * |
Mark Lobodzinski | 6eda00a | 2016-02-02 15:55:36 -0700 | [diff] [blame^] | 15 | * The Materials are Confidential Information as defined by the Khronos |
| 16 | * Membership Agreement until designated non-confidential by Khronos, at which |
| 17 | * point this condition clause shall be removed. |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 18 | * |
Mark Lobodzinski | 6eda00a | 2016-02-02 15:55:36 -0700 | [diff] [blame^] | 19 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 20 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
Mark Lobodzinski | 6eda00a | 2016-02-02 15:55:36 -0700 | [diff] [blame^] | 21 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 22 | * |
| 23 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| 24 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 25 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE |
| 26 | * USE OR OTHER DEALINGS IN THE MATERIALS |
Courtney Goeltzenleuchter | 0555952 | 2015-10-30 11:14:30 -0600 | [diff] [blame] | 27 | * |
| 28 | * Author: Tobin Ehlis <tobin@lunarg.com> |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 29 | */ |
| 30 | #include <assert.h> |
| 31 | #include <unordered_map> |
| 32 | #include "vk_dispatch_table_helper.h" |
David Pinedo | 9316d3b | 2015-11-06 12:54:48 -0700 | [diff] [blame] | 33 | #include "vulkan/vk_layer.h" |
Tobin Ehlis | a0cb02e | 2015-07-03 10:15:26 -0600 | [diff] [blame] | 34 | #include "vk_layer_table.h" |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 35 | static device_table_map tableMap; |
| 36 | static instance_table_map tableInstanceMap; |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 37 | |
Jon Ashburn | 94f36d9 | 2015-06-15 09:30:12 -0600 | [diff] [blame] | 38 | #define DISPATCH_MAP_DEBUG 0 |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 39 | |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 40 | // Map lookup must be thread safe |
Tobin Ehlis | a30e7e5 | 2015-07-06 14:02:36 -0600 | [diff] [blame] | 41 | VkLayerDispatchTable *device_dispatch_table(void* object) |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 42 | { |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 43 | dispatch_key key = get_dispatch_key(object); |
| 44 | device_table_map::const_iterator it = tableMap.find((void *) key); |
| 45 | assert(it != tableMap.end() && "Not able to find device dispatch entry"); |
| 46 | return it->second; |
| 47 | } |
| 48 | |
Tobin Ehlis | a30e7e5 | 2015-07-06 14:02:36 -0600 | [diff] [blame] | 49 | VkLayerInstanceDispatchTable *instance_dispatch_table(void* object) |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 50 | { |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 51 | dispatch_key key = get_dispatch_key(object); |
| 52 | instance_table_map::const_iterator it = tableInstanceMap.find((void *) key); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 53 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 54 | if (it != tableInstanceMap.end()) { |
| 55 | fprintf(stderr, "instance_dispatch_table: map: %p, object: %p, key: %p, table: %p\n", &tableInstanceMap, object, key, it->second); |
| 56 | } else { |
| 57 | fprintf(stderr, "instance_dispatch_table: map: %p, object: %p, key: %p, table: UNKNOWN\n", &tableInstanceMap, object, key); |
| 58 | } |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 59 | #endif |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 60 | assert(it != tableInstanceMap.end() && "Not able to find instance dispatch entry"); |
| 61 | return it->second; |
| 62 | } |
| 63 | |
| 64 | void destroy_dispatch_table(device_table_map &map, dispatch_key key) |
| 65 | { |
| 66 | device_table_map::const_iterator it = map.find((void *) key); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 67 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 68 | if (it != map.end()) { |
| 69 | fprintf(stderr, "destroy device dispatch_table: map: %p, key: %p, table: %p\n", &map, key, it->second); |
| 70 | } else { |
| 71 | fprintf(stderr, "destroy device dispatch table: map: %p, key: %p, table: UNKNOWN\n", &map, key); |
| 72 | assert(it != map.end()); |
| 73 | } |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 74 | #endif |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 75 | map.erase(key); |
| 76 | } |
| 77 | |
| 78 | void destroy_dispatch_table(instance_table_map &map, dispatch_key key) |
| 79 | { |
| 80 | instance_table_map::const_iterator it = map.find((void *) key); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 81 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 82 | if (it != map.end()) { |
| 83 | fprintf(stderr, "destroy instance dispatch_table: map: %p, key: %p, table: %p\n", &map, key, it->second); |
| 84 | } else { |
| 85 | fprintf(stderr, "destroy instance dispatch table: map: %p, key: %p, table: UNKNOWN\n", &map, key); |
| 86 | assert(it != map.end()); |
| 87 | } |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 88 | #endif |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 89 | map.erase(key); |
| 90 | } |
| 91 | |
| 92 | void destroy_device_dispatch_table(dispatch_key key) |
| 93 | { |
| 94 | destroy_dispatch_table(tableMap, key); |
| 95 | } |
| 96 | |
| 97 | void destroy_instance_dispatch_table(dispatch_key key) |
| 98 | { |
| 99 | destroy_dispatch_table(tableInstanceMap, key); |
| 100 | } |
| 101 | |
Tobin Ehlis | a30e7e5 | 2015-07-06 14:02:36 -0600 | [diff] [blame] | 102 | VkLayerDispatchTable *get_dispatch_table(device_table_map &map, void* object) |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 103 | { |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 104 | dispatch_key key = get_dispatch_key(object); |
| 105 | device_table_map::const_iterator it = map.find((void *) key); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 106 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 107 | if (it != map.end()) { |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 108 | fprintf(stderr, "device_dispatch_table: map: %p, object: %p, key: %p, table: %p\n", &tableInstanceMap, object, key, it->second); |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 109 | } else { |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 110 | fprintf(stderr, "device_dispatch_table: map: %p, object: %p, key: %p, table: UNKNOWN\n", &tableInstanceMap, object, key); |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 111 | } |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 112 | #endif |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 113 | assert(it != map.end() && "Not able to find device dispatch entry"); |
| 114 | return it->second; |
| 115 | } |
| 116 | |
Tobin Ehlis | a30e7e5 | 2015-07-06 14:02:36 -0600 | [diff] [blame] | 117 | VkLayerInstanceDispatchTable *get_dispatch_table(instance_table_map &map, void* object) |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 118 | { |
| 119 | // VkLayerInstanceDispatchTable *pDisp = *(VkLayerInstanceDispatchTable **) object; |
| 120 | dispatch_key key = get_dispatch_key(object); |
| 121 | instance_table_map::const_iterator it = map.find((void *) key); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 122 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 123 | if (it != map.end()) { |
| 124 | fprintf(stderr, "instance_dispatch_table: map: %p, object: %p, key: %p, table: %p\n", &tableInstanceMap, object, key, it->second); |
| 125 | } else { |
| 126 | fprintf(stderr, "instance_dispatch_table: map: %p, object: %p, key: %p, table: UNKNOWN\n", &tableInstanceMap, object, key); |
| 127 | } |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 128 | #endif |
Courtney Goeltzenleuchter | c08e72d | 2015-06-13 21:18:30 -0600 | [diff] [blame] | 129 | assert(it != map.end() && "Not able to find instance dispatch entry"); |
| 130 | return it->second; |
| 131 | } |
| 132 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 133 | VkLayerInstanceCreateInfo *get_chain_info(const VkInstanceCreateInfo *pCreateInfo, VkLayerFunction func) |
Courtney Goeltzenleuchter | 93a89cc | 2016-01-08 11:52:37 -0700 | [diff] [blame] | 134 | { |
| 135 | VkLayerInstanceCreateInfo *chain_info = (VkLayerInstanceCreateInfo *) pCreateInfo->pNext; |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 136 | while (chain_info && !(chain_info->sType == VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO |
| 137 | && chain_info->function == func)) { |
Courtney Goeltzenleuchter | 93a89cc | 2016-01-08 11:52:37 -0700 | [diff] [blame] | 138 | chain_info = (VkLayerInstanceCreateInfo *) chain_info->pNext; |
| 139 | } |
| 140 | assert(chain_info != NULL); |
| 141 | return chain_info; |
| 142 | } |
| 143 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 144 | VkLayerDeviceCreateInfo *get_chain_info(const VkDeviceCreateInfo *pCreateInfo, VkLayerFunction func) |
Courtney Goeltzenleuchter | 93a89cc | 2016-01-08 11:52:37 -0700 | [diff] [blame] | 145 | { |
| 146 | VkLayerDeviceCreateInfo *chain_info = (VkLayerDeviceCreateInfo *) pCreateInfo->pNext; |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 147 | while (chain_info && !(chain_info->sType == VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO |
| 148 | && chain_info->function == func)) { |
Courtney Goeltzenleuchter | 93a89cc | 2016-01-08 11:52:37 -0700 | [diff] [blame] | 149 | chain_info = (VkLayerDeviceCreateInfo *) chain_info->pNext; |
| 150 | } |
| 151 | assert(chain_info != NULL); |
| 152 | return chain_info; |
| 153 | } |
| 154 | |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 155 | /* Various dispatchable objects will use the same underlying dispatch table if they |
| 156 | * are created from that "parent" object. Thus use pointer to dispatch table |
| 157 | * as the key to these table maps. |
| 158 | * Instance -> PhysicalDevice |
Chia-I Wu | 3432a0c | 2015-10-27 18:04:07 +0800 | [diff] [blame] | 159 | * Device -> CommandBuffer or Queue |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 160 | * If use the object themselves as key to map then implies Create entrypoints have to be intercepted |
| 161 | * and a new key inserted into map */ |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 162 | VkLayerInstanceDispatchTable * initInstanceTable(VkInstance instance, const PFN_vkGetInstanceProcAddr gpa, instance_table_map &map) |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 163 | { |
| 164 | VkLayerInstanceDispatchTable *pTable; |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 165 | dispatch_key key = get_dispatch_key(instance); |
| 166 | instance_table_map::const_iterator it = map.find((void *) key); |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 167 | |
Jeremy Hayes | d427d72 | 2015-06-19 10:57:11 -0600 | [diff] [blame] | 168 | if (it == map.end()) |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 169 | { |
| 170 | pTable = new VkLayerInstanceDispatchTable; |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 171 | map[(void *) key] = pTable; |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 172 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 173 | fprintf(stderr, "New, Instance: map: %p, key: %p, table: %p\n", &map, key, pTable); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 174 | #endif |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 175 | } else |
| 176 | { |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 177 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 178 | fprintf(stderr, "Instance: map: %p, key: %p, table: %p\n", &map, key, it->second); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 179 | #endif |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 180 | return it->second; |
| 181 | } |
| 182 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 183 | layer_init_instance_dispatch_table(instance, pTable, gpa); |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 184 | |
| 185 | return pTable; |
| 186 | } |
| 187 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 188 | VkLayerInstanceDispatchTable * initInstanceTable(VkInstance instance, const PFN_vkGetInstanceProcAddr gpa) |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 189 | { |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 190 | return initInstanceTable(instance, gpa, tableInstanceMap); |
Courtney Goeltzenleuchter | e45acec | 2015-06-14 12:03:26 -0600 | [diff] [blame] | 191 | } |
| 192 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 193 | VkLayerDispatchTable * initDeviceTable(VkDevice device, const PFN_vkGetDeviceProcAddr gpa, device_table_map &map) |
Courtney Goeltzenleuchter | e45acec | 2015-06-14 12:03:26 -0600 | [diff] [blame] | 194 | { |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 195 | VkLayerDispatchTable *pTable; |
| 196 | dispatch_key key = get_dispatch_key(device); |
| 197 | device_table_map::const_iterator it = map.find((void *) key); |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 198 | |
Jeremy Hayes | d427d72 | 2015-06-19 10:57:11 -0600 | [diff] [blame] | 199 | if (it == map.end()) |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 200 | { |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 201 | pTable = new VkLayerDispatchTable; |
| 202 | map[(void *) key] = pTable; |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 203 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 204 | fprintf(stderr, "New, Device: map: %p, key: %p, table: %p\n", &map, key, pTable); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 205 | #endif |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 206 | } else |
| 207 | { |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 208 | #if DISPATCH_MAP_DEBUG |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 209 | fprintf(stderr, "Device: map: %p, key: %p, table: %p\n", &map, key, it->second); |
Courtney Goeltzenleuchter | e3d3f5d | 2015-06-13 21:48:26 -0600 | [diff] [blame] | 210 | #endif |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 211 | return it->second; |
| 212 | } |
| 213 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 214 | layer_init_device_dispatch_table(device, pTable, gpa); |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 215 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 216 | return pTable; |
Courtney Goeltzenleuchter | e45acec | 2015-06-14 12:03:26 -0600 | [diff] [blame] | 217 | } |
| 218 | |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 219 | VkLayerDispatchTable * initDeviceTable(VkDevice device, const PFN_vkGetDeviceProcAddr gpa) |
Courtney Goeltzenleuchter | e45acec | 2015-06-14 12:03:26 -0600 | [diff] [blame] | 220 | { |
Courtney Goeltzenleuchter | 00150eb | 2016-01-08 12:18:43 -0700 | [diff] [blame] | 221 | return initDeviceTable(device, gpa, tableMap); |
Jon Ashburn | 9eed289 | 2015-06-01 10:02:09 -0600 | [diff] [blame] | 222 | } |