aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-18loader: Fix code format, add some debug infoCourtney Goeltzenleuchter
2015-06-18shader_checker: Use DEBUG_REPORT helper functionsCourtney Goeltzenleuchter
Include and use DEBUG_REPORT layer helper functions for create, destroy and GetInstanceProcAddr.
2015-06-18param_checker: Use DEBUG_REPORT extension helpersCourtney Goeltzenleuchter
2015-06-18mem_tracker: DEBUG_REPORT handled by helper functionsCourtney Goeltzenleuchter
2015-06-18mem_tracker: DEBUG_REPORT is global, do not use in CreateDeviceCourtney Goeltzenleuchter
2015-06-18mem_tracker: Updates to match latest loader changesCourtney Goeltzenleuchter
2015-06-18draw_state: Add validation extension recordCourtney Goeltzenleuchter
To make things easier for applications the validation layers will advertise support for two extensions. The named extension (i.e. DRAW_STATE) is used if the app only wants to enable this specific layer / extension. If an app wants to enable all Validation layers they simply include all VkExtensionProperties who's name is "Validation". This patch adds this extension to this layer.
2015-06-18draw_state: Add support for DEBUG_REPORTCourtney Goeltzenleuchter
DrawState can report errors it details via the DEBUG_REPORT extension. This patch updates DrawState so that it uses the DEBUG_REPORT extension if it is enabled.
2015-06-18draw_state: Add CreateInstance supportCourtney Goeltzenleuchter
Layers need to intercept CreateInstance in order to see what's been enabled on the Instance chain. As this layer supports DEBUG_REPORT extension it needs to know if that has been enabled or not.
2015-06-18loader: remove dependency fields from extension infoCourtney Goeltzenleuchter
2015-06-18loader: Remove resolved TODOsCourtney Goeltzenleuchter
Update comments and remove TODOs that are done.
2015-06-18loader: Remove unused functionsCourtney Goeltzenleuchter
Now that we are using the full VkExtensionProperties structure to designate extensions needed new query functions
2015-06-18loader: Put static function prototypes in .cCourtney Goeltzenleuchter
2015-06-18loader: Add support for debug reportCourtney Goeltzenleuchter
2015-06-17loader: Support layers that don't have an extension entrypointJon 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-17loader: Fix info string of device versus instance layer being addedJon Ashburn
2015-06-17layers: Fixed dispatch table teardown issues in ObjectTrackerMark Lobodzinski
Table pointers need to be saved before tables destroyed.
2015-06-17layers: Add multi-device/instance support to param checker layerMark Lobodzinski
Conflicts: layers/param_checker.cpp
2015-06-17layers: Add multi-device/instance support to APIDump layerMark Lobodzinski
2015-06-17loader: Add wsi extension to loader's list of global extensionsJon Ashburn
2015-06-17loader: Fix debug_report utility functions string names to be consistentJon Ashburn
2015-06-17layers: Add multi-device/instance support to generated layersMark Lobodzinski
- Converted Generic and ObjectTracker to C++ - Added multi-device/instance support to objecttracker, generic, and threading layers - Various cleanup and efficiency changes - Paramchecker and apidump layers disabled temporarily Conflicts: vk-layer-generate.py
2015-06-17layers: Multi-device/instance support for Memtracker.Mark Lobodzinski
Conflicts: layers/mem_tracker.cpp
2015-06-17misc: Make DEBUG_MARKER entrypoints a device extension with separate dispatchJon Ashburn
Right now only DrawState and ParamChecker implement this extension.
2015-06-17genericLayer: Fix generation codeJon Ashburn
2015-06-17loader: simplify wrapping setupCourtney Goeltzenleuchter
2015-06-17debug: remove old debug extension headerCourtney Goeltzenleuchter
2015-06-17extensions: begin changes for extension supportCourtney 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-17misc: Fix file permissionsCourtney Goeltzenleuchter
2015-06-17misc: white space cleanupCourtney Goeltzenleuchter
2015-06-17loader: Return NULL for WSI entrypoints if extension not enabledJon Ashburn
2015-06-17loader: FIXME - horrible WSI workaroundCourtney Goeltzenleuchter
2015-06-17wsi: Fix icd lookup for WSI extensionCourtney Goeltzenleuchter
2015-06-17tri: Use GetProcAddr to get GetDisplayInfoWSI fpCourtney Goeltzenleuchter
2015-06-17cube: Use GetProcAddr to get GetDisplayInfoWSI fpCourtney Goeltzenleuchter
2015-06-17loader: Use ICD's GetDeviceProcAddr as end of layer chain rather than loader'sJon 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-17misc: Make wsi lunarg an extension rather than core entrypointsJon Ashburn
2015-06-17loader: Fix for CreateInstance object created being pointer to pointer to dispJon Ashburn
2015-06-17DrawState: Add support for multiple PhysicalDevices or InstancesJon Ashburn
2015-06-17layers: Add DestroyDevice and DestroyInstance hooking to deinitialize tablesJon Ashburn
Table maps need to get cleaned up at DestroyInstance and DestroyDevice
2015-06-17loader: make the instance dispatch table per instanceJon Ashburn
2015-06-17layers: GPA table initialization shouldn't recurseJon Ashburn
2015-06-17misc: Change vkGetProcAddr to vkGetDeviceProcAddrJon Ashburn
Also cleanup layer/loader GPA's to only return device level entrypoints.
2015-06-17object_tracker: Remove queues from global queueinfo listJon Ashburn
2015-06-17loader: Remove GetGlobalExtensionInfo trampolineJon Ashburn
Wasn't working correctly for now remove GetGlobalExtensionInfo from the instance layer chain.
2015-06-17shader_checker: Eliminate redefinition of macroJon Ashburn
2015-06-17misc: Remove validation bit from the CreateDevice flagsJon Ashburn
2015-06-17glave: Remove glave source files from this repoJon Ashburn
2015-06-17layers: Use objects dispatch table for key to layer mapsJon Ashburn
Since the object may vary but the dispatch table may be same, use dispatch table as the key to various table maps rather than emplace method to add new map key. This eliminates the need for layers that support multiple devices or instances to add entrypoints on the object creation calls.
2015-06-17misc: Loader and Layers move device chain activation to CreateDeviceJon Ashburn