aboutsummaryrefslogtreecommitdiff
path: root/loader
AgeCommit message (Collapse)Author
2015-05-22vulkan.h: V96 -- xglCmdBlitImage filter mode. Bug# 13759.Mark Lobodzinski
2015-05-15Add win32 condition variables.Mike Stroyan
2015-05-15layers: Make threading layer provide thread-safetyMike Stroyan
Add mutual exclusion behavior to threading layer after reporting collisions. This will allow applications to continue beyond first threading error. It can't help reentrant calls.
2015-05-13loader: On Windows disable global optimization for API entrypointsTobin Ehlis
Without this change, on a Windows Release build, mhook is unable to hook the entrypoint functions.
2015-05-11vulkan.h: V93 -- fine-grained memory binding synchronization. Bug# 13464Mark Lobodzinski
New names and behavior for QueueBind* APIs.
2015-05-11Windows: Fix build from recent loader changesJon Ashburn
2015-05-08vulkan.h: V94 -- remove vkCmdCloneImageData. Bug #16550.Mark Lobodzinski
2015-05-07misc: Add vkGetInstanceProcAddr() entrypointJon Ashburn
Adding this entrypoint as this has been discussed in khronos and is needed for the loader/layer/extension proposal. Caveats: 1) Have not updated layers or any tests/demos yet that will come later; 2) No one including loader is using this call yet; 3) Leaving exisitng vkGetProcAddr() as is for now; later once loader is using vkGetInstanceProcAddr call can switch vkGetProcAddr() to vkGetDeviceProcAddr()
2015-05-07loader: No longer generate code, instead directly check in source codeJon Ashburn
2015-05-07loader: logging on Windows to both debug output and stderrJon Ashburn
2015-05-05loader: Fix bugs where non-dispatchable objects overwrite dispatch tableJon Ashburn
Also fix the GPA for non pass through cases
2015-05-05loader: Fix bug in vkGetProcAddr so trampoline code is returned as neededJon Ashburn
2015-05-05loader: Separate out the python generator scriptJon Ashburn
Loader is a reference component. Intel driver is a sample component. Loader should not be sharing files with driver. This is a first step in that direction. Also loader has special cases that are not in driver or layers. So it simplifies their scripts not to have loader baggage in them.
2015-05-05loader: rename a few dispatch utiltiesJon Ashburn
2015-04-29loader: Eliminate compiler warnings on Windows.Ian Elliott
2015-04-29loader: Terminate chain of GetProcAddr() in driver if gpu obj is baseJon Ashburn
Fixes issue when driver doesn't implement an entrypoint of recursing and unwrapping gpu object too many times.
2015-04-27loader: Fix bug on layer name prefix string lengthJon Ashburn
Also add GetGlobalExtensionInfo to layer .def file
2015-04-22misc: Changes to fix warnings in Windows / VC++ buildTony Barbour
2015-04-22misc: Changes to clean up warnings in Release buildTony Barbour
2015-04-22loader: Make sure max layer count is set properlyCourtney Goeltzenleuchter
2015-04-22vkEnumerateLayers: Update to match upstreamCourtney Goeltzenleuchter
The upstream vulkan.h header removed maxLayerCount parameter from vkEnumerateLayers. This patch implements that change for the sample driver and layers.
2015-04-21vulkan.h: Fix up warnings and use VkObject appropriatelyTony Barbour
2015-04-17update to vulkan.h header version 90, bug 13529Mike Stroyan
2015-04-17switch to VK_WSI_LunarGChia-I Wu
Switch from VK_WSI_X11 to VK_WSI_LunarG v2: - split out glave changes - redo mem_tracker changes - rebase Conflicts: demos/cube.c demos/tri.c v3 (from Ian): - Put "#if 0" around non-upstream members of VkDisplayPropertiesWSI.
2015-04-17loader: add a missing VKAPIChia-I Wu
loader_gpa_internal() needs VKAPI.
2015-04-16Bug 13632 Header 84 Assorted questions and comments on vulkan.hTony Barbour
2015-04-16misc: Change vkEnumerateGpus to vkEnumeratePhysicalDevicesJon Ashburn
Conflicts: loader/loader.h
2015-04-16loader: Only check magic value from Icd on debug builds.Jon Ashburn
2015-04-16Win: Some compilation/link fixes.Ian Elliott
2015-04-16loader: Add support for loading layers that support a groupJon Ashburn
Specifically support the "Validation" group for activating any layer which supports that name.
2015-04-16loader: Add check for invalid enabled extensions at CreateInstanceJon Ashburn
2015-04-16loader: Fix GetProcAddr to return proper function pointers for appJon Ashburn
Add case of handling null gpu object for global functions. For device specifc functions use the dispatch table or the loader entrypoints depending on if the trampoline code can be skipped or not. Conflicts: loader/CMakeLists.txt vk-generate.py v2: undo accidental rename of LayerInterceptProcSubcommand fix WinDefFileSubcommand due to rebase (olv)
2015-04-16vulkan: Add vkGetGlobalExtensionInfo entrypointJon Ashburn
have loader use it to enumerate all extensions from layers and drivers. Non-gode_gen layers also updated to include vkGetGlobalExtensionInfo Includes verion info as part of GetExtensionSupport return data. TODO: vk-layer-generate needs work v2: do not check for non-existing ENABLE_WSI_X11 (olv)
2015-04-16layers: Remove wrapping of GPU objects by loader and layersJon Ashburn
Loader only wraps GPU objects for creating a layer chain. After layer activation layers and loader use unwrapped gpu object returned by the driver. This is a large simplification. This fixes a nasty bug where layers intercepting entrypoints with gpu objects but not all these entrypoints would fail. These would cause non-uniform unwrapping of gpu objects by the time the driver was called with a gpu object. Fixes issue in loader_get_icd where it was trying to compare a wrapped GPU against a non-wrapped GPU.
2015-04-16loader: Don't have GetExtensionSupport as loader special case codeJon Ashburn
Allows layers to intercept GetExtensionSupport()
2015-04-16loader: Activate layers at EnumerateGpus instead of CreateDeviceJon Ashburn
2015-04-16loader: refactor layer activation function to handle more general inputsJon Ashburn
Renamed structure types as well. TODO: verify vk-layer-generate.py v2: fix LoaderEntrypointsSubcommand (olv)
2015-04-16loader: Store the enabled extensions at CreateInstanceJon Ashburn
2015-04-16vulkan: beautification changesCourtney Goeltzenleuchter
TODO: verify vk-layer-generate.py TODO: need to rename object tracker generator v2: fix "python3 vulkan.py" fix dead cod in tri introduced by rebase beautify wsi_null.c (olv)
2015-04-16Win: Fix typo and incorrect strlen for finding/loading ICDs.Ian Elliott
2015-04-16vulkan: API renamingCourtney Goeltzenleuchter
VK_DEVICE_QUEUE_CREATE_INFO => VkDeviceQueueCreateInfo VK_DEVICE_CREATE_INFO => VkDeviceCreateInfo VK_INSTANCE_CREATE_INFO => VkInstanceCreateInfo VK_LAYER_CREATE_INFO => VkLayerCreateInfo VK_MEMORY_ALLOC_INFO => VkMemoryAllocInfo VK_MEMORY_ALLOC_IMAGE_INFO => VkMemoryAllocImageInfo VK_MEMORY_ALLOC_BUFFER_INFO => VkMemoryAllocBufferInfo VK_BUFFER_CREATE_INFO => VkBufferCreateInfo VK_BUFFER_VIEW_CREATE_INFO => VkBufferViewCreateInfo
2015-04-16renaming: Move many xgl files to vk versionCourtney Goeltzenleuchter
2015-04-16Stage 1 of renameCourtney Goeltzenleuchter
TODO: re-enable glave build, advance API for glave v2: get rid of outdated code in tri introduced by rebase rename wsi_null.c (olv)
2015-04-16misc: Add create_info struct to CreateInstance()Jon Ashburn
Allows extnesion or layer enablement at CreateInstance Khronos Bug 13637
2015-04-16loader: Merge extensions and layersCourtney Goeltzenleuchter
Update loader so that it extensions and layers work in same basic fashion. That is, application can query for extension/layer support by calling GetExtensionSupport. The loader will then query the available drivers AND layers for that support. Likewise, when the application does CreateDevice the list of "extensions" can be both layers and extensions and the loader will figure out the right thing to do. Conflicts: loader/loader.c xgl-generate.py
2015-04-16loader: Fix Dbg entrypoints with instance param to not loop all instancesJon Ashburn
DbgRegisterMsgCallback, DbgUnregisterMsgCallback, DbgSetGlobalOption were all making these calls for all instances rather than just instance passed in as parameter.
2015-04-16xgl: update xglDbg.h for XGL_INSTANCECourtney Goeltzenleuchter
Add XGL_INSTANCE as the first parameter of xglDbgRegisterMsgCallback(), xglDbgUnregisterMsgCallback(), and xglDbgSetGlobalOption(). The loader is simplified. loader_log() is modified to always output to stderr. glave is modified to register its message callback after xglEnumerateGpus(), and xglDbgUnregisterMsgCallback() is called only before xglDestroyInstance(). XGL_INSTANCE is ignored by the layers and the driver for now. Bump up API version to XGL_MAKE_VERSION(0, 56, 1).
2015-04-16loader: Fix prefix used to find layer library.Courtney Goeltzenleuchter
2015-04-11xgl-generate.py: add and use helpers from loader.hChia-I Wu
Add helpers to loader.h to improve readability of LoaderEntrypointsSubcommand.
2015-04-11xgl-generate.py: add WinDefFileSubcommandChia-I Wu
It replaces xgl-win-def-file-generate.py and is able to generate loader's XGL.def.