| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-18 | layers: Add config parser to compute debug flags | Courtney Goeltzenleuchter | |
| 2015-06-18 | layers: Move dbg flag print to config header | Courtney Goeltzenleuchter | |
| The print function seems to go better here with the config file parsing as they use similar values. | |||
| 2015-06-18 | layers: Add logging callback function for layers | Courtney Goeltzenleuchter | |
| Now that new debug report mechanism is in place, need a callback function to output a log message. Can then have layers register callback with debug_report to have messages sent to stdout / FILE as well as whatever the application asked for. | |||
| 2015-06-18 | layers: Set helpers as static inline | Courtney Goeltzenleuchter | |
| static inline allows the code to be unused | |||
| 2015-06-18 | layers: make log_msg format log strings for perf | Courtney Goeltzenleuchter | |
| Performance analysis showed a lot of time being spent formating unused log messages (particularly INFO). By moving the formatting into the logging function we can only do the formatting if the message will be used. | |||
| 2015-06-18 | layers: Ifdef out debug code | Courtney Goeltzenleuchter | |
| 2015-06-18 | mem_tracker: Add some more debug code | Courtney Goeltzenleuchter | |
| 2015-06-18 | mem_tracker: Use dispatch access functions | Courtney Goeltzenleuchter | |
| Hopefully makes code easier to read when using the dispatch table access functions. | |||
| 2015-06-18 | mem_tracker: Need dispatch object for logging | Courtney Goeltzenleuchter | |
| Needed to make sure we had a dispatchable object to perform logging. Can't trust that mem or object are correct, so have caller pass in user's dispatchable object. | |||
| 2015-06-18 | mem_tracker: Add debug asserts | Courtney Goeltzenleuchter | |
| 2015-06-18 | mem_tracker: Initialize new mem record | Courtney Goeltzenleuchter | |
| Need to intialize the record put on the list. Removed the unused, newed record. | |||
| 2015-06-18 | draw_state: Update to use private dispatch map | Courtney Goeltzenleuchter | |
| 2015-06-18 | layers: Use static dispatch table maps | Courtney Goeltzenleuchter | |
| Changes to use dispatch table access functions. | |||
| 2015-06-18 | layers: utilities for layer storage | Courtney Goeltzenleuchter | |
| Have defined tableMap and tableInstanceMap as static here to prevent layers from accidentally using a common map. Moved all the access functions here as well to be able to access the static maps. Added destroy functions to eliminate last of references to tableMap and tableInstanceMap maps outside this file. | |||
| 2015-06-18 | layers: per-instance data helpers | Courtney Goeltzenleuchter | |
| 2015-06-18 | mem_tracker: add per-instance persistent data | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Set some log messages as debug messages | Courtney Goeltzenleuchter | |
| 2015-06-18 | memtracker: Add persistent storage | Courtney Goeltzenleuchter | |
| This patch eliminates global variables and accesses everything through pre-instance or per-device storage. Have basic template supporting get_my_data_ptr function working. | |||
| 2015-06-18 | debug_report: Utilities for layers to use | Courtney Goeltzenleuchter | |
| This header is intended to be used by all validation layers and provides the necessary functions to process DEBUG_REPORT messages and generate callbacks. This is intended for layers implementing per instance / device storage. | |||
| 2015-06-18 | debug_report: Add error codes | Courtney Goeltzenleuchter | |
| Add error codes for messages the debug report layer can generate. | |||
| 2015-06-18 | loader: Fix device layer activation to properly filter out repeat layers | Jon Ashburn | |
| 2015-06-18 | loader: Move device dispatch table to CreateDevice from EnumeratePhysDev | Jon Ashburn | |
| For now just have a static array for these will fix this in later commit Conflicts: loader/loader.c | |||
| 2015-06-18 | loader: Remove GetGlobalExtensionInfo from dispatch table | Jon Ashburn | |
| No way to reliably dispatch this entry point in layers; will not be recursive. Conflicts: loader/loader.c | |||
| 2015-06-18 | loader: Remove linefeed from log messages | Courtney Goeltzenleuchter | |
| The output function already puts in linefeeds. | |||
| 2015-06-18 | loader: Use type flags not code for filter | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: clean up dead code | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: only search for layers | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: remove now unused hosted field | Courtney Goeltzenleuchter | |
| 2015-06-18 | bug-13466: Implement comment #14 | Courtney Goeltzenleuchter | |
| https://cvs.khronos.org/bugzilla/show_bug.cgi?id=13466 | |||
| 2015-06-18 | loader: Add error messages if layer libraries fail to load | Jon Ashburn | |
| 2015-06-18 | layers: Make dispatch table thread safe | Jon Ashburn | |
| 2015-06-18 | layers: Fix DrawState and ParamChecker to only use debug_marker if enabled | Jon Ashburn | |
| 2015-06-18 | loader: Make global functions (instance chain entrypoints) thread safe | Jon Ashburn | |
| 2015-06-18 | layer: Remove EnumerateLayers | Jon Ashburn | |
| 2015-06-18 | loader: Remove storage of wrappedGPUs only need during layer activation | Jon Ashburn | |
| 2015-06-18 | loader: add debug log message | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Add LOADER_DEBUG environment flags | Courtney Goeltzenleuchter | |
| The loader_log function now uses a global flag to determine which log messages to echo to stderr. The flags can be set by setting the LOADER_DEBUG environment variable to colon separate list of tokens. | |||
| 2015-06-18 | loader: Fix DestroyInstance | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Add utility to return loader instance ptr | Courtney Goeltzenleuchter | |
| 2015-06-18 | layers: Initialize debug_report instance proc table | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Increase library name length for safety | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Fix EnumeratePhysDev to handle less gpus than icd has and no mem leak | Jon Ashburn | |
| Also no longer wrap gpu objs of inst objs in CreateInstance. | |||
| 2015-06-18 | loader: Only allow layer in chain once | Courtney Goeltzenleuchter | |
| If an application were to specify a "Validatio" layer and the environment specified a ParamChecker layer it was possible to load the same layer twice in one chain. Layers don't like that can only be referenced once and that's all they need to support multiple extensions from the one layer. This patch adds an alias pointer so that when putting together the lists of available extensions the loader can keep track of multiple extensions that are servied by the same library. Also now create specific activated_layers_list that contains only the list of layers that need to be activated. | |||
| 2015-06-18 | debug_report: Add debug message flag | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Remove obsolete extension / layer code | Courtney Goeltzenleuchter | |
| 2015-06-18 | layer: Generic is not a validation layer | Courtney Goeltzenleuchter | |
| Remove the Validation extension definition for the generated generic example layer. | |||
| 2015-06-18 | vulkaninfo: Update to new extension mechanism | Courtney Goeltzenleuchter | |
| 2015-06-18 | vulkan: Fix for bug 13785. | Courtney Goeltzenleuchter | |
| Implement proposal in comment #3. Agreed in June '15 Khronos face-to-face | |||
| 2015-06-18 | nulldriver: Update to new VkExtensionProperties | Courtney Goeltzenleuchter | |
| 2015-06-18 | layers: Update generator for DEBUG_REPORT | Courtney Goeltzenleuchter | |
| Generated layers that support DEBUG_REPORT now need to intercept CreateInstance and call the appropriate DEBUG_REPORT layer helper functions. | |||
