aboutsummaryrefslogtreecommitdiff
path: root/loader
AgeCommit message (Collapse)Author
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
2015-12-01loader: Fix typo in wsi fileMark Lobodzinski
2015-12-01loader: Add vkGetPhysicalDevice*PresentationSupportKHR()Ian Elliott
These queries involve trampoline and terminator functions (the latter of which calls the ICD's function).
2015-12-01wsi: Fix windows build issuesMark Lobodzinski
2015-12-01loader: Address Jon Ashburn's review comments.Ian Elliott
It took a few commits (squashed down into 1) to get it correct. Includes: Use loader_heap_{alloc|free}(). Try to deal correctly with initializing the vkCreate*SurfaceKHR()'s.
2015-12-01loader: Add WSI "device" trampoline funcs (e.g. vkCreateSwapchainKHR).Ian Elliott
This is because these entrypoints are now "statically defined" (i.e. the loader on Windows, Linux, and Android will export these symbols directly, with no need to call a GPA() function).
2015-12-01loader: Add new vkGetPhysicalDeviceSurface*KHR() functions.Ian Elliott
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR() - vkGetPhysicalDeviceSurfaceFormatsKHR() - vkGetPhysicalDeviceSurfacePresentModesKHR()
2015-12-01loader: Wrote vk{Create|Destroy}*SurfaceKHR() trampoline functions.Ian Elliott
This is an area where the loader-ICD interface is different. Instead of the trampoline function calling down a call-chain, For Windows and Linux, this function actually fully implements the function. A VkSurfaceKHR is actually a pointer to a platform-specific struct (declared in "vk_icd.h"). The memory for the struct is allocated, and the struct is initialized. All ICDs and layers on Windows and Linux are supposed to treat VkSurfaceKHR's (e.g. in other calls) as such a pointer to a struct. Also, per a Skype conversation with Jon Ashburn, there will be per-WSI-extension sections of the file, with pairs of trampoline-terminator functions right next to each other.
2015-12-01loader: Export the trampoline code for vkGetPhysicalDeviceSurfaceSupportKHRIan Elliott
Also, fix which extension is used to enable this function.
2015-12-01loader: Create defaults for which platforms WSI is supported on.Ian Elliott
Windows: VK_USE_PLATFORM_WIN32_KHR Linux: VK_USE_PLATFORM_XCB_KHR
2015-12-01loader: Started plumbing the platform extensions.Ian Elliott
2015-12-01loader: Started porting loader to new WSI (GIPA missing).Ian Elliott
2015-12-01loader: Get loader compiling.Ian Elliott
2015-12-01WSI: Eliminate a lot of references to WSI header files.Ian Elliott
Conflicts: include/vulkan/vk_layer.h loader/loader.h
2015-12-01loader: Hand-editsIan Elliott
2015-12-01WSI: sed-generated changes to WSI code (not all that's needed).Ian Elliott
Conflicts: demos/cube.c demos/tri.c demos/vulkaninfo.c icd/common/icd.h loader/loader.h
2015-11-24Layers: changed layer names to conform to specDavid Pinedo
2015-11-20loader: Don't use ICD's VkDevice after it has been destroyedJon Ashburn
LX # 201 Conflicts: loader/trampoline.c
2015-11-19loader: Don't init icds if CreateInstance() from ICD fails.Jon Ashburn
2015-11-18loader: Make version in layer JSON files consistentJon Ashburn
bugzilla #15057 part two
2015-11-18loader: Add parsing of api_version in ICD JSONJon Ashburn
bugzilla #15057 part one Also make this version for Intel sample driver be v210.
2015-11-18loader: Add dynamic dispatch for unknown device extension entrypointsJon Ashburn
GetInstancePorcAddr() is specified to return trampoline entrypoints for all Vulkan core and extension entrypoints that are dispatched on an instance object or a child of that instance object. However, typically, device extensions would be unknown to the loader (don't want to rev the loader everytime an IHV creates a new device extension). This patch allows loader to dynamically discover device extension entrypoints and configure generic trampoline code for these discovered device extensions.