aboutsummaryrefslogtreecommitdiff
path: root/loader
AgeCommit message (Collapse)Author
2016-01-04loader: Convert getenv on Windows to use GetEnvironmentVariableJon Ashburn
This allows loader to get updated environment variables. That is after the CRT has been initialized.
2016-01-04loader: MR111, Fix memleaksBogDan Vatra
[instance|dev] activated_layer_list is always allocated so, we need to always free it.
2015-12-31misc: rename startXXX to firstXXX and add firstXXX param to setviewport/scissorJon Ashburn
Header file changes going to 213 version
2015-12-29loader: Version 217 WSI changes.Ian Elliott
2015-12-24loader: Don't override VK_LAYER_PATH for implicit layersJon Ashburn
2015-12-24loader: Fix typo in CreateDevice so ICDs see filtered device extension listJon Ashburn
2015-12-22loader: Properly filter ICD extensionsCourtney Goeltzenleuchter
As of NVIDIA driver 355.00.19, the ICD's CreateInstance checks for invalid extension names and it turns out the loader was passing on DEBUG_REPORT when it should have been filtered out. This change re-constructs the ICD's extension list to do that filtering.
2015-12-18Bug 15314: Make clear for layers that the registry value must be 0.Ian Elliott
2015-12-17loader: Add support for implicit layersJon Ashburn
2015-12-17loader: Fix erroneous call to loader_log previously addedJon Ashburn
2015-12-17loader: Fix compile error from rebaseJon Ashburn
2015-12-17loader: Fix comment leader on def filesCourtney Goeltzenleuchter
2015-12-17loader: fix mismatch size warningCourtney Goeltzenleuchter
2015-12-17loader: correct compiler warningCourtney Goeltzenleuchter
Fixed compiler warning of idx potentially being undefined. Also added test to check if the code took that path and return an error if that happens.
2015-12-17debug_report: rename object type and error bitsCourtney Goeltzenleuchter
Conflicts: demos/tri.c layers/device_limits.cpp layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp layers/param_checker.cpp layers/vk_layer_logging.h loader/debug_report.c tests/layer_validation_tests.cpp
2015-12-17loader: save memory pointer before it's lostCourtney Goeltzenleuchter
The first time a library is loaded the code will allocate space for the list. But if the dlopen fails the pointer for that wasn't being saved and the next call would get a segfault on a null pointer. Now save the new pointer so it doesn't get lost.
2015-12-17loader: Enable callbacks from loader_logCourtney Goeltzenleuchter
Need to have the instance pointer to find the list of callbacks. Anything that happens before CreateInstance is invisible to the application. For that reason, I've left in the environment variable logging.
2015-12-17loader: use callbacks from CreateInstanceCourtney Goeltzenleuchter
If an application links a VkDebugReportCreateInfo structure to the InstanceCreateInfo structure the loader will log the callback for the duration of the CreateInstance call. This allows the app to catch any loader issues detected at CreateInstance time.
2015-12-17loader: utils for managing debug report eventsCourtney Goeltzenleuchter
Now need to create & destroy callbacks as part of vkCreateInstance, so refactor debug_report entries into API function and work function that can be used from the loader. Conflicts: loader/debug_report.c
2015-12-17misc: Update copyright statementsCourtney Goeltzenleuchter
2015-12-17loader: Adjust internal naming to match API namingCourtney Goeltzenleuchter
Now that we've settled on EnumerateInstance* and EnumerateDevice* we can change the internal function names in the loader that were global and physical_device to instance and device to make it more clear what's being used by the function.
2015-12-17loader: debug_report terminator functions use cast to get loader instanceJon Ashburn
2015-12-17debug_report: Add DebugReportMessage functionCourtney Goeltzenleuchter
2015-12-17debug_report: make destroy have void return valueCourtney Goeltzenleuchter
2015-12-17debug_report: rename and update to use CreateInfoCourtney Goeltzenleuchter
2015-12-17debug_report: Rename VkDbgMsgCallback objectCourtney Goeltzenleuchter
2015-12-15loader: Remove unused functionCourtney Goeltzenleuchter
2015-12-15loader: Remove unused debug helper functionsCourtney Goeltzenleuchter
Helper functions weren't considered essential to the debug_report extension and will be moved to a library.
2015-12-15layers: Rename VK_DEBUG_REPORT_EXTENSION enumsCourtney Goeltzenleuchter
2015-12-15layers: rename VkDbgObjectTypeCourtney Goeltzenleuchter
VkDebugReportObjectTypeLUNARG fits the extension naming requirements
2015-12-15layers: Rename DebugReport flagsCourtney Goeltzenleuchter
Conflicts: layers/mem_tracker.cpp Conflicts: layers/draw_state.cpp
2015-12-14loader: Fix physical device cast for enumerate properties trampoline codeJon Ashburn
Enumerate layer and extension properties don't always call down chain so can't just cast physical device to the loader struct. Must search for it in cases where a layer wrapped it.
2015-12-11wsi: Make WSI cases more consistent, fail if not set correctlyMark Lobodzinski
Filled in build details for Mir, Wayland, etc.
2015-12-11loader: Fix bug where dynamic dispatch for layer dev exts needs to come laterJon Ashburn
GetDeviceProcAddr dynamic dispatch init was happening too soon before layer device extension was enabled. Fix it.
2015-12-11loader: In CreateDevice trampoline code allow wrapped PhysicalDevice objectsJon Ashburn
It was assuming object was not wrapped. Now look up object in instance structure based on dispatch table pointer.
2015-12-11Add an 'all' debug flagMichael Worcester
2015-12-10loader: Add support for device extension entrypoints in layer JSON filesJon Ashburn
Bugzilla #15012
2015-12-10loader: Convert ext list helper functions to generic formJon Ashburn
This allows future changes where the device and instance ext lists are different types.
2015-12-07Loader doc: Modifed WindowsICDs.txtDavid Pinedo
2015-12-07Make sure all createInfo is used creating instanceTony Barbour
2015-12-02Doc: change api_version and layer names in documentation filesDavid Pinedo
2015-12-02loader: Fix layer library_path bugJon Ashburn
2015-12-01loader: Add initialization of loader dispatch table for wsi device extensionsJon Ashburn
Since we had trampoline code for these, layers were getting skipped when called thru the trampoline code.
2015-12-01loader: Fix WSI compilation error if not XCBJon Ashburn
2015-12-01loader: Add documentation fo loader handling of VK_surface_*KHR extensions.Jon Ashburn
Document the special handling og vkSurfaceKHR objects.
2015-12-01wsi: Various fixes and Windows build issuesMark Lobodzinski
2015-12-01loader: Add terminator functions for Create*SurfaceKHR functionsJon Ashburn
These need to call down the chain for layer intercept. Also remove DestroySurfaceKHR from ICD table.
2015-12-01loader: Convert vkDestroySurfaceKHR() to have a terminator.Ian Elliott
2015-12-01wsi: Moved definition of CreateXxxSurface extension to CMakefileMark Lobodzinski
Removed component-specific definitions
2015-12-01vulkan: Add win32 and xcb extensions to vulkan.pyMark Lobodzinski
Conflicts: vulkan.py