| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-18 | loader: Grab next before destroying the data | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Support multiple layers in one library by using <layerName>GetProcAddr | Jon Ashburn | |
| Get*ExtensionInfo string was being used to see if layer extensions are aliases. Change this over to Get*ProcAddr pointer since that will be different in libraries that have multiple layers/ICDs in them. Conflicts: loader/loader.c | |||
| 2015-06-18 | loader: Remove the test for device layers activated; they follow create/destroy | Jon Ashburn | |
| 2015-06-18 | loader: Add device struct so can destroy layer info at DestroyDevice | Jon Ashburn | |
| This also allows multiple logical devices per icd/gpu combo. Old code conflated a icd/gpu combo with a logical device | |||
| 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 | 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 | loader: Add error messages if layer libraries fail to load | Jon Ashburn | |
| 2015-06-18 | loader: Make global functions (instance chain entrypoints) thread safe | 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 | 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 | loader: Remove obsolete extension / layer code | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Fix code format, add some debug info | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: remove dependency fields from extension info | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Remove resolved TODOs | Courtney Goeltzenleuchter | |
| Update comments and remove TODOs that are done. | |||
| 2015-06-18 | loader: Remove unused functions | Courtney Goeltzenleuchter | |
| Now that we are using the full VkExtensionProperties structure to designate extensions needed new query functions | |||
| 2015-06-18 | loader: Put static function prototypes in .c | Courtney Goeltzenleuchter | |
| 2015-06-18 | loader: Add support for debug report | Courtney Goeltzenleuchter | |
| 2015-06-17 | loader: Support layers that don't have an extension entrypoint | Jon Ashburn | |
| Change all layers and loader interface to init dispatch tables on GPA("GetXXXProcAddr"). After that initialization rest of dispatch tables are inited via unwrapped object using the GPA in the dispatch table. This also allows App generated GPA calls that the loader can't resolve to function correctly. | |||
| 2015-06-17 | loader: Fix info string of device versus instance layer being added | Jon Ashburn | |
| 2015-06-17 | loader: Add wsi extension to loader's list of global extensions | Jon Ashburn | |
| 2015-06-17 | loader: Fix debug_report utility functions string names to be consistent | Jon Ashburn | |
| 2015-06-17 | misc: Make DEBUG_MARKER entrypoints a device extension with separate dispatch | Jon Ashburn | |
| Right now only DrawState and ParamChecker implement this extension. | |||
| 2015-06-17 | loader: simplify wrapping setup | Courtney Goeltzenleuchter | |
| 2015-06-17 | extensions: begin changes for extension support | Courtney Goeltzenleuchter | |
| This patch starts restructuring the various components (loader, driver, layers, etc.) to support global and device extensions. Require GetProcAddr to access the extension functions and related support. | |||
| 2015-06-17 | loader: Return NULL for WSI entrypoints if extension not enabled | Jon Ashburn | |
| 2015-06-17 | loader: FIXME - horrible WSI workaround | Courtney Goeltzenleuchter | |
| 2015-06-17 | wsi: Fix icd lookup for WSI extension | Courtney Goeltzenleuchter | |
| 2015-06-17 | loader: Use ICD's GetDeviceProcAddr as end of layer chain rather than loader's | Jon Ashburn | |
| If function name is unknown to loader and layers the old gpa_internal would recurse without terminator. Use Driver's GPA as terminator. Also simplifies code. | |||
| 2015-06-17 | misc: Make wsi lunarg an extension rather than core entrypoints | Jon Ashburn | |
| 2015-06-17 | loader: Fix for CreateInstance object created being pointer to pointer to disp | Jon Ashburn | |
| 2015-06-17 | loader: make the instance dispatch table per instance | Jon Ashburn | |
| 2015-06-17 | misc: Change vkGetProcAddr to vkGetDeviceProcAddr | Jon Ashburn | |
| Also cleanup layer/loader GPA's to only return device level entrypoints. | |||
| 2015-06-17 | loader: Remove GetGlobalExtensionInfo trampoline | Jon Ashburn | |
| Wasn't working correctly for now remove GetGlobalExtensionInfo from the instance layer chain. | |||
| 2015-06-17 | misc: Loader and Layers move device chain activation to CreateDevice | Jon Ashburn | |
| 2015-06-17 | loader: Move lookup of icd entrypoints to CreateInstance and add more lookups | Jon Ashburn | |
| Move the icd Vulkan entrypoint address lookups to CreateInstance and icd list rather than in the scanned_icd list. Also add more instance chain entrypoints | |||
| 2015-06-17 | loader: Activate layers on the instance chain at CreateInstance | Jon Ashburn | |
