Mark Lobodzinski | 288e4f7 | 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 | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 4 | * |
| 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
Mark Lobodzinski | 288e4f7 | 2016-02-02 15:55:36 -0700 | [diff] [blame] | 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 | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 11 | * |
Mark Lobodzinski | 288e4f7 | 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 | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 14 | * |
Mark Lobodzinski | 288e4f7 | 2016-02-02 15:55:36 -0700 | [diff] [blame] | 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
Jon Ashburn | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
Mark Lobodzinski | 288e4f7 | 2016-02-02 15:55:36 -0700 | [diff] [blame] | 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 18 | * |
| 19 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| 20 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 21 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE |
| 22 | * USE OR OTHER DEALINGS IN THE MATERIALS |
Jon Ashburn | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 23 | * |
Jon Ashburn | c5a5d63 | 2015-11-03 13:41:23 -0700 | [diff] [blame] | 24 | * Author: Jon Ashburn <jon@lunarg.com> |
Jon Ashburn | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 25 | **************************************************************************/ |
| 26 | #pragma once |
Jon Ashburn | e472239 | 2015-03-03 15:07:15 -0700 | [diff] [blame] | 27 | #include <stdbool.h> |
Jon Ashburn | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 28 | |
| 29 | #ifdef __cplusplus |
| 30 | extern "C" { |
| 31 | #endif |
| 32 | |
| 33 | const char *getLayerOption(const char *_option); |
Jon Ashburn | 491a3cd | 2016-03-08 17:48:44 -0700 | [diff] [blame] | 34 | FILE *getLayerLogOutput(const char *_option, const char *layerName); |
Mark Lobodzinski | b838dc0 | 2016-02-03 09:57:14 -0700 | [diff] [blame] | 35 | VkDebugReportFlagsEXT getLayerOptionFlags(const char *_option, uint32_t optionDefault); |
Jon Ashburn | e472239 | 2015-03-03 15:07:15 -0700 | [diff] [blame] | 36 | bool getLayerOptionEnum(const char *_option, uint32_t *optionDefault); |
Jon Ashburn | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 37 | |
Jon Ashburn | 0f1dbf1 | 2015-01-13 17:24:01 -0700 | [diff] [blame] | 38 | void setLayerOption(const char *_option, const char *_val); |
| 39 | void setLayerOptionEnum(const char *_option, const char *_valEnum); |
Courtney Goeltzenleuchter | 065843d | 2015-06-14 11:33:06 -0600 | [diff] [blame] | 40 | void print_msg_flags(VkFlags msgFlags, char *msg_flags); |
Jon Ashburn | 47e9289 | 2014-12-22 12:04:40 -0700 | [diff] [blame] | 41 | #ifdef __cplusplus |
| 42 | } |
| 43 | #endif |