fa472852a07e8497f5e4cb7a766bb927967e6e77 |
|
24-Jan-2018 |
Slawomir Cygan <slawomir.cygan@intel.com> |
loader: remove references to shlwapi.lib This change improves loader compatibility with Universal Windows drivers[1]: shlwapi.lib is not a part of allowed APIs. It seems PathFileExists call was already redundant as ERROR_MOD_NOT_FOUND was already returned by the loader in cse of wrong dll path. PathIsRelative is replaced by equivalent check. [1] https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/getting-started-with-universal-drivers Change-Id: I36854f38078670ac033e8bd415dbf368391e8448
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
97937d379a695575bdce6c218dd5627163a83cda |
|
19-Jan-2018 |
Lenny Komow <lenny@lunarg.com> |
loader: Fix static library initialization Fix the loader's global initialization being skipped when the loader is built as a static library on windows Change-Id: I492f87104fb3bf32aed3c7d251dee2caeb4f00ba
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
50afd58e3bedd4e7d0fc6b64c0c363e2738810d3 |
|
17-Jan-2018 |
Lenny Komow <lenny@lunarg.com> |
loader: Fix enabling extensions from layers This resolves a bug where it was impossible to enable an extension that was defined in a layer if that layer was not passed by the application. This applied to implicit layers, explicit layers enabled by environment variables, and metalayers. Change-Id: I03bee6fb778936d970f78b9142679654424f80ae
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
a2be059bbd655014ae210d34dd627cf0be67c2f7 |
|
15-Jan-2018 |
Lenny Komow <lenny@lunarg.com> |
loader: Clean up mutexes on destruction Change-Id: I7d1524da9167a576420c109ebbce8ebb5121cad0
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
cd99a31145b1d8477d33bc244be259755e3bc5e5 |
|
03-Dec-2017 |
Jamie Madill <jmadill@chromium.org> |
loader: Fix Clang errors/warnings. Fixes: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Werror,-Wformat] error : expected ')' (issue with __FUNCTION__ and format string)
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
886f933be29970d162d9241120aef17fb8d7fed3 |
|
01-Sep-2017 |
Lenny Komow <lenny@lunarg.com> |
loader: Allow layer loading from pnp registry Change-Id: I70682cf5904b95b52881457e14bbc2f9a772259d
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
266c90b0333c9ba0fa49f8a5198ef8a48a82566b |
|
31-Aug-2017 |
Lenny Komow <lenny@lunarg.com> |
loader: Fix PnP 32-bit registry handling Change-Id: I25eae83b4783e702ca5fbe74a99d7bdeae6218f0
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
9beaa801945469eebaae6feb2cb3ac1f85cea292 |
|
03-Jul-2017 |
Slawomir Cygan <slawomir.cygan@intel.com> |
loader: Add new ICD search paths to loader This change extends the functionality of searching for ICD JSONs by adding registry locations specific to given display adapter and software components associated with this display adapter. The exact locations in registry are queried using Windows public PnP Configuration Manager API[1]. This change is required, as previous ICD locations (constant path in "HKLM/Software") may be unreachable for drivers and their installers on Windows RS3[2]. Similar change is being made for OpenCL[2] [1]https://msdn.microsoft.com/en-us/library/windows/hardware/ff549713.aspx [2]https://github.com/KhronosGroup/OpenCL-ICD-Loader/pull/21
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
18ef0ba5c47c214bb4c040c4ccaf9afd025fe25d |
|
18-May-2017 |
Lenny Komow <lenny@lunarg.com> |
loader: Revert ICD dlopen back to using RTLD_LAZY Change-Id: I53ae66929ed38d81eb52cc0307341d5c8f97cdc8
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
0345b8925d79e175a000ff7c87b7a82bd5e91ff0 |
|
16-May-2017 |
Mark Young <marky@lunarg.com> |
loader: Expand error message info Expand loader_platform_open_library_error on Windows to include the error message from GetLastError(); Also, modify the loading of the layer library to use the loader_platform_open_library_error message sincce we want to get as much error information in that as possible. And fix a typo in a comment. Change-Id: I1ef5ede8c6716c4624b31ddb3b32b83392920a6c
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
95dab1d5881ecc952a1d12f97490227a4e90b993 |
|
16-May-2017 |
Mark Young <marky@lunarg.com> |
loader: Expand lib search locations Expand library search locations based on recommendations by Dustin. We still attempt to use the old LoadLibrary first, and then, only if that fails, do we attempt to use the new search. Change-Id: I4cf1358f9eb7e45ac61f36435e926aa89c212f83
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
a480e11deebf69a1b1dfebccd5314492409db601 |
|
16-May-2017 |
Mark Young <marky@lunarg.com> |
loader: Modify ICD dlopen to use RTLD_NOW Pierre-Loup at Valve caught this. By using RTLD_NOW on dlopen it fails if symbols are not resolved at dlopen time. This resolves an error where an ICD is missing a symbol on a system causing the loader to fail later at an unrecoverable time. Change-Id: Icf43fd36aebfbcb4b08e7e3891570161234118f7
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
f8aad33bca299621494cb3b9e311e8cff8d2e6ef |
|
08-Mar-2017 |
Mark Young <marky@lunarg.com> |
spelling: Fix spelling errors Fix some spelling errors (caught by VS2017 spelling extension) and a few floating func defs that are no longer valid. Change-Id: Ifd9394227dfe3b3255c27429dadaf405433232d2
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
1b9da316f15b56b52cdaae0f5056cca0f9de1791 |
|
02-Mar-2017 |
Lenny Komow <lenny@lunarg.com> |
loader: gh1153 - Modify layer search path The loader will now seach HKEY_CURRENT_USER in addition to HKEY_LOCAL_MACHINE when looking up layers in the registries. Change-Id: I899dc7d65a2fe08f1e471fa8dccba5255f8ef7b7
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
ae847980b0af50af49aa0b62d232e7be0ebfcab2 |
|
29-Jan-2017 |
Benjamin Saunders <ben.e.saunders@gmail.com> |
loader: Improve Linux manifest search Searching XDG_CONFIG_DIRS and XDG_DATA_DIRS instead of hard-coding specific paths improves portability, particularly on platforms which don't implement the Filesystem Hierarchy Standard. For example, this allows the loader to function correctly out of the box on NixOS.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
cc7c305c82f6443c324165edb7af59f60fc87eeb |
|
26-Jan-2017 |
Mark Lobodzinski <mark@lunarg.com> |
repo: Clang-format LVL source files using Google Switch clang-format standard from the LLVM style to the Google style for more consistency. Change-Id: I247c4abc275d7873a91522e1e234198adaa24033
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
bc9caa57c5583dfdf05198e78b78a7cb361da16c |
|
26-Jan-2017 |
Mark Lobodzinski <mark@lunarg.com> |
repo: Clang-format c/cpp/h LVL files using LLVM Bring all source files in the repo up to date with consistent coding style/standard. Change-Id: Iceedbc17109974d3a0437fc4995441c9ad7e0c23
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
98fa844b22ed570ca2688e2e64d31b041ae01346 |
|
13-Jan-2017 |
Karl Schultz <karl@lunarg.com> |
loader: Fix static analysis warnings Handle possible null pointer dereferences. Misc other warnings, nothing too serious. Not addressing alloca concerns yet. Change-Id: I712a6b4996a4d900604867e373521ff4d1c53df5
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
91b85f4715990437d728bfd80266cd7eb9f09866 |
|
14-Dec-2016 |
Jamie Madill <jmadill@chromium.org> |
loader: Fix Clang warnings. error: equality comparison with extraneous parentheses error: comparison of array equal to a null pointer is always false error: using namespace directive in global context in header Change-Id: I52b5d9062653b9429b9c42b40eca54e71b6d794b
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
eecc6dd1860e880d608a1fb19a3085cd7b0e9433 |
|
24-Nov-2016 |
Frank Henigman <fjhenigman@chromium.org> |
loader: avoid DEFAULT_VK_LAYERS_PATH redefinition. Commit df441f60 did this in the win32 section of the file, but missed the linux section. This commit fixes the linux section.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
72710a0abc870b7d1de7769db469484f2592ee25 |
|
25-Nov-2016 |
Frank Henigman <fjhenigman@chromium.org> |
loader: spell 'separator' correctly PATH_SEPERATOR -> PATH_SEPARATOR
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
623b44e7bb070fee825f3587efc1d4dc63d7a1a9 |
|
07-Nov-2016 |
Lenny Komow <lenny@lunarg.com> |
loader: Parameterize locations of drivers/layers Change-Id: I79c16e01f336b3cf90ec7e6e66901ad363502e7b
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
a4a2f9f90b778afe9a33ac5389eef5cb0d433568 |
|
22-Oct-2016 |
Dor Askayo <dor.askayo@gmail.com> |
loader: fix duplicate detection of manifests when CMAKE_INSTALL_PREFIX is defined This commit fixes GH-1084. (see the issue for more details) Note that this adds /usr/local/etc and /usr/local/share to the loader's search path for drivers and layers. Change-Id: I2cf502cc7d905225c8d38383ea6f856a4daed3ea Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
9b588e8d0ef3e331aff42a61f5cf2b12a7f7c781 |
|
22-Oct-2016 |
Dor Askayo <dor.askayo@gmail.com> |
loader: use CMAKE_INSTALL_FULL_<dir> to improve Linux filesystem compatibility In order to improve the loader's compatibility with different filesystem hierarchies under Linux, use CMake's CMAKE_INSTALL_FULL_<dir> instead of CMAKE_INSTALL_<dir> to correctly resolve the absolute paths of SYSCONFDIR and DATADIR in compliance with the GNU Coding Standard [1] and Linux Foundation's Filesystem Hierarchy Standard [2], as explained in CMake's documentation [3]. Note to packagers: When using CMAKE_INSTALL_PREFIX, this commit obviates the definition of other CMAKE_INSTALL_ defines to properly detect ICD and layer manifests in GNU/Linux-compliant filesystems. This commit fixes GH-1083. (see the issue for more details) [1] https://www.gnu.org/prep/standards/html_node/Directory-Variables.html [2] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html [3] https://cmake.org/cmake/help/v3.4/module/GNUInstallDirs.html Change-Id: If743a3c8f5f7381e00c0d23b95b9e13c0dead144 Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
227a2c8eae5448646ae7ca14c62945c3ab3f4ccb |
|
01-Aug-2016 |
John Drinkwater <john@nextraweb.com> |
loader: support manifests in XDG locations Some users set the environment variable XDG_DATA_HOME to relocate ~/.local/share/ to a more friendly location and so it is not wise to look solely at that location. This change adds basic support for that env var without changing the behaviour for typical users. If XDG_DATA_HOME is defined, the loader checks XDG_DATA_HOME/vulkan/..., if HOME is defined the loader will check HOME/.local/share/vulkan/..., and with neither it skips looking for user manifests. loader_get_manifest_files() now takes a relative location inside the config path eg `/vulkan/implicit_layer.d` and appends that onto the preferred location. vk_loader_platform.h Linux defines got minor adjustments to support this change, with an added bonus of being more readable. Change-Id: I44e8a99f2a984f94dc33cdda122e6c417d3a3653
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
74d013a5438f47a66a77d5375d1cdeef3f0beca7 |
|
30-Jun-2016 |
Mark Young <marky@lunarg.com> |
loader: GH370 - re-enable allocator usage This reverts commit 5876cc2b7563f909c8ac8cb49f51f7ef715877f8. This adds the previous fixes as well as additional fixes if Implicit layers aren't present. This is not a case that gets tested on Windows as most SDK installs have at least 1 Implicit layer (RenderDoc). This change passes an individual run on Jenkins Linux system. Change-Id: I466cc54b72946e2a9f6477bd4c3d4e4e72eb9579
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
5876cc2b7563f909c8ac8cb49f51f7ef715877f8 |
|
30-Jun-2016 |
Mark Young <marky@lunarg.com> |
Revert "loader: GH370 - re-enable allocator usage" This reverts commit 0860f9dbac51b241a9690d23b53db14f307b0181.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
0860f9dbac51b241a9690d23b53db14f307b0181 |
|
30-Jun-2016 |
Mark Young <marky@lunarg.com> |
loader: GH370 - re-enable allocator usage Re-enable reverted changes done in commit d6f491b88eaf11f6953c02638d079f6a76806658. But also include fixes for the Linux and Windows release runs. Change-Id: I7644bb305faab068b3229eb9c1d8a67b052af165
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
d6f491b88eaf11f6953c02638d079f6a76806658 |
|
30-Jun-2016 |
Chris Forbes <chrisforbes@google.com> |
Revert "loader: GH370 - re-enable allocator usage" This reverts commit aa32dbbf147d86257a0c9e091258e0ea2be5a013. This is broken in both debug and release 64bit linux.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
aa32dbbf147d86257a0c9e091258e0ea2be5a013 |
|
03-Jun-2016 |
Mark Young <marky@lunarg.com> |
loader: GH370 - re-enable allocator usage Re-enable the allocator usage in the loader. Also, fix several memory leaks. The leaks were especially noticeable during the Vulkan conformance object_management.alloc_callback_fail.instance and object_management.alloc_callback_fail.device tests because the tests were designed to intentionally fail the Alloc calls. This change now fully passes the Vulkan CTS object_management.alloc_callback_fail tests when the loader uses application-provided Allocators. Change-Id: I03f2a09bc33259442e02c917a34d78f8937808d8
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
7ee10ce39627ac06096a81839f4b8d0c654757d6 |
|
07-Jun-2016 |
Tobin Ehlis <tobine@ad.corp.google.com> |
loader: Increase error message length 120 chars in error message is very conservative as error prefix and LVL pathname alone are near 100 chars. This can easily cause layer path to get cut off which makes for a confusing error message. Bumping this to 164 chars to account for most reasonable layer names.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
df441f60dd2f146b0e673caae0a9a6e3838ff1e3 |
|
07-Apr-2016 |
Jamie Madill <jmadill@chromium.org> |
loader: Add compile-time option for layer search paths. This enables programatically specifying search directories for the layer JSON files. This makes deploying and running compiled layers in local and automated testing with multiple configurations a much simpler process. Change-Id: I0904ef230d020004d8d71cbe265e83cdb6120db8
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
9b7156e691fb27be3594b95f52e008bf4ebf3324 |
|
27-Apr-2016 |
Jamie Madill <jmadill@chromium.org> |
Revert "loader: Remove the default directory paths for ICDs and layers" This reverts commit b1e6b564616c40062b81d0b8b90e8689dd9aea11. Change-Id: I9e6bfad81369912c85c3122d6d36093c3c148454
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
43b53e83705f02245da6ae61e31273866a35b833 |
|
19-Apr-2016 |
Jon Ashburn <jon@lunarg.com> |
misc: Update licenses to Apache 2.0 Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
b1e6b564616c40062b81d0b8b90e8689dd9aea11 |
|
15-Apr-2016 |
Jon Ashburn <jon@lunarg.com> |
loader: Remove the default directory paths for ICDs and layers These are not needed since rely on OSes library loader to figure out default path. Change-Id: Ide5eec4ed4301c51de7dc9171f7e040deb1878e7
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
6ca0c1afcd3243d813580dad183b4b9ad3768e80 |
|
15-Apr-2016 |
Piers Daniell <pdaniell@nvidia.com> |
loader: `Remove the ICD and Layers search path for Windows This makes it more like Linux which leaves it up to the system LoadLibrary() call to find the .dll as specified in the .json files. Hard-coding "C:" or any other search path creates the possibility of picking up the wrong .dll. The LoadLibrary() implementation does the right thing. Change-Id: I58cbdf230a1e86481067efb4aec03447ee55f1ff
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
6029943a7ba6d5a91a5dfc104cee8dd8527f2ddf |
|
17-Feb-2016 |
Jon Ashburn <jon@lunarg.com> |
loader: Fix windows build from last loader checkin
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
a867ee49907c70fcc8135547e17c14f034eccb3d |
|
16-Feb-2016 |
Jon Ashburn <jon@lunarg.com> |
loader: Add a ICD and layer search path for loader to discover JSON files path is $HOME/.local/share/vulkan/*
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
3cd96a2da93fa325b0d51369388f9b93798f6c80 |
|
10-Feb-2016 |
Karl Schultz <karl@lunarg.com> |
Remove Khronos confidential clause from license text.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
44aed66f451bb8cb72e233f704aa1dd68397ffbb |
|
03-Feb-2016 |
Jon Ashburn <jon@lunarg.com> |
loader:Update copyright and apply clang-format (no logic changes)
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
5b25d9fa5ce45c31e68bea336eaabec071480789 |
|
04-Jan-2016 |
Jon Ashburn <jon@lunarg.com> |
loader: Convert getenv on Windows to use GetEnvironmentVariable This allows loader to get updated environment variables. That is after the CRT has been initialized.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
d2c905caa736e416e89fe8e06df687e4a5f91b21 |
|
18-Dec-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Add support for implicit layers
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
6f92feb2a1e8dded4a79b00d64ab36490b197581 |
|
26-Nov-2015 |
Mark Lobodzinski <mark@lunarg.com> |
wsi: Various fixes and Windows build issues
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
051ae4bd4545590437d46268ac6992358cb48c13 |
|
24-Nov-2015 |
Mark Lobodzinski <mark@lunarg.com> |
wsi: Fix windows build issues
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
429e19f6db395429cd2fe1a82f7a5df05e534dd1 |
|
17-Nov-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Add dynamic dispatch for unknown device extension entrypoints 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.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
329ca9eb16cdbee7a7644fb08ade7b3d3bb32e23 |
|
06-Nov-2015 |
David Pinedo <david@lunarg.com> |
Moved header files from include to include/vulkan
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
96cd795bb585711057cd90d37a2251419384c937 |
|
30-Oct-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
misc: Update author information Author information was added to any file with the standard license text. Authors were added that added/changed >= 3% of the lines of a file.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
8a17da586c0f31c72aefe229449d55ea18682be9 |
|
29-Oct-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
misc: switch copyright to Valve
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
50c57efd215d2bc06616b7707d460c7a1b8b7774 |
|
29-Oct-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
misc: Remove Vulkan name from Copyright
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
c8d7593db2a838a5369c487ba58b0cf1d279915b |
|
02-Nov-2015 |
Tobin Ehlis <tobin@lunarg.com> |
layers: Windows define fixes On windows WinBase.h redefines CreateSemaphore and synchapi.h redefines CreateEvent. Depending on order or header includes, this can break the build due to VkLayerDispatchTable struct having CreateSemaphore and CreateEvent members. To fix this conflict, undef those symbols after including windows.h.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
5fb79facbd2fa6c88393ab21d4664cd956ec756e |
|
29-Oct-2015 |
jon <jon@lunarg.com> |
loader: Move utility function so it is found on both Linux and Windows
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
7bb2c2370828915fcf6a0a9c04f38e15436c67a3 |
|
30-Sep-2015 |
Daniel Dadap <ddadap@nvidia.com> |
loader: set DEFAULT_VK_{DRIVER,LAYER}S_PATH to "" on Linux When loader_get_fullpath() gets an empty string as the 'dir' parameter, it immediately writes out the original, unexpanded filename. Setting the default drivers and layers paths to an empty string on Linux will allow the unmodified filenames to be passed to dlopen(3) without having to maintain a separate code path for Windows. Now that there is no longer a default path for drivers or layers on Linux, ${CMAKE_INSTALL_LIBDIR} no longer needs to be baked into the loader binary. Note that any ICDs or layers that are currently getting installed to the previous default paths (e.g. /usr/lib/vulkan/icd or /usr/lib/vulkanlayer) will not be discoverable when specified as plain filenames, unless these directories happen to be configured in the loader's search path on the system in question.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
2e13fca0cb928af806ecc0f202ba7d0510694352 |
|
30-Sep-2015 |
Daniel Dadap <ddadap@nvidia.com> |
loader: add helper for combining paths Add a helper function to combine an arbitrary number of path elements, separating them with the platform-specific directory separator, and use it in places where path combining is currently achieved through direct string manipulation. As an additional cleanup, update loader_get_fullpath() to duplicate the search path string internally, rather than relying on the caller to do so. Since loader_get_fullpath() and loader_expand_path() no longer modify input strings, and loader_expand_path() no longer requires that the caller append the DIRECTORY_SYMBOL ahead of time, acrobatics to duplicate strings to prevent modification and/or to add directory separators are no longer necessary. This change will result a behavior change on Windows: the existing logic for loading an ICD that is specified as a bare filename, and not as an absolute or relative path, is to search for a driver with the given ICD name in the DEFAULT_VK_DRIVERS_PATH search path on Linux, and to use the given ICD name as-is on Windows. This could lead to DLL injection attack on Windows. Merge the Linux/Windows behavior to limit the search for ICD filenames to the default search path on Windows as well, which is also more consistent with the behavior described in the loader spec. Conflicts: loader/loader.c
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
f6620c90c7fb1003fced18ae952947f73a31da81 |
|
15-Oct-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Clean up loader_platform file
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
b47264485ca012574eebd097cc3fe852cf1d636b |
|
08-Oct-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
loader: Remove unneeded defines
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
b5738ca8f81149f40403e0cc07328ae337e2cd03 |
|
08-Oct-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
loader: Use correct 64bit printf format for Windows Fixes LunarXchange issue #145
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
5d1b3b3143d2a5e68b6083757eb7c01e08ff4cda |
|
06-Oct-2015 |
Mike Stroyan <mike@LunarG.com> |
loader, icd: correct use of _aligned_malloc Memory allocated with _aligned_malloc on WIN32 should be released with _aligned_free. If icd/common/icd-instance is ever used on WIN32 it will now use _aligned_free. loader_aligned_heap_alloc and loader_aligned_alloc would require additional matching loader_aligned*_free functions to be correct for WIN32. But both functions are never used. Just remove those functions for now.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
c3f3742f6218d3967d2fed41984d48cd655a4bad |
|
24-Sep-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
misc: Move snprintf define to vk_sdk_platform.h Windows doesn't define snprintf so we need to #define it to what Windows does use in our SDK platform header.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
9268944f0ecf9da8e9e49e014d2fb45faedb64ce |
|
09-Sep-2015 |
Michael Lentine <mlentine@google.com> |
Make layers build on android.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
413d6587475294985134aa1f9052abd697b7a4e5 |
|
28-Aug-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: make thirdparty code use allocation callbacks Use TLS to keep instance pointer and use this for cJSON alloc/free callback.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
eccbb37d3e11632ca38f587c01c056fe52dbd7b9 |
|
01-Sep-2015 |
Mark Lobodzinski <mark@lunarg.com> |
headers: Add vk_sdk_platform.h for Win/Linux differences
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
68e2befdc1a99b11852fc9c4d37ef801b7c3315d |
|
06-Aug-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Change layer manifest file location env var to VK_LAYER_PATH bug #14394
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
3f731445a475139647f6cafd3e0373fae8b67a79 |
|
24-Jul-2015 |
James Jones <jajones@nvidia.com> |
Further layer search path fix: s/implicit/explict A cut+paste error resulted in using the same value for the explicit and implicit layer config paths. This change remedies that. Signed-off-by: James Jones <jajones@nvidia.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
fb6b3b38fdd6e923ccfd6b51ef3524f264b001bc |
|
24-Jul-2015 |
James Jones <jajones@nvidia.com> |
Fix loader paths for "etc" directories. The previous libdir/confdir patches mistakenly used /usr/etc rather than /etc as the default location for configuration files. This patch corrects that mistake. Signed-off-by: James Jones <jajones@nvidia.com> Tested-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
ac945bc59437bb5bdda808574fcb1951212abcca |
|
24-Jul-2015 |
James Jones <jajones@nvidia.com> |
linux: Fix standard GNU path usage The previous attempt at using GNU standard paths limited searching to the prefix where the loader was installed. What we really want though is to always search in /usr, also search in whatever local prefix the user installed at if it wasn't /usr, and use the standard GNU libdir, sysconfdir, and datadir under those prefixes. This change implements that behavior. Signed-off-by: James Jones <jajones@nvidia.com> Tested-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
05487a246cfbb8b8fae1b19ad54a8a5eb2a8e2a0 |
|
23-Jul-2015 |
Adam Jackson <ajax@redhat.com> |
linux: Use standard GNU install paths These should get inherited from the build environment, which should handle the variation between /usr/lib/$triple on debian vs /usr/lib{,64} on redhat. Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
cfcd613c0a8a7de7942f38cd67f6d1a12113c9c7 |
|
24-Jul-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Change VK_LAYERS_FOLDERS to VK_LAYER_FOLDERS to match documentation This effects Windows layers.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
333fe8e23dd861eb6f495fac788928d55b5649a1 |
|
20-Jul-2015 |
Adam Jackson <ajax@redhat.com> |
loader: Fix ICD and layer directory scan order on Linux The convention is to scan /etc for host-specific settings before looking in /usr/share, which may be a shared network filesystem. Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
d9a9d1abf2d06c6c8b241cdc5dc8f6470f4bcbdb |
|
09-Jul-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Fix bug where layer default system path string needed to be copied Resulted in segfault.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
62ac1c5389a2f0a04f01b0f48cffab55bf5a3ae2 |
|
09-Jul-2015 |
Cody Northrop <cody@lunarg.com> |
loader: Build fixes for Windows
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
38144505193e28a7a944df720842c777b3027985 |
|
07-Jul-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Handle relative and filename paths in the layer manifest files
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
1b111de2ea9550fc93c6c1a657ca515d9d338034 |
|
06-Jul-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Use layer manifest files to discovery and query layers Conflicts: layers/CMakeLists.txt loader/loader.c
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
b620ace53373bb2803db70005dee39be9c184f06 |
|
05-Jul-2015 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
loader: Save app allocation callbacks Add host memory allocation functions that the loader can use. Add comments of where these allocation calls should go. Need to plumb the instance pointer to some functions to support this.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
a2e6efe57f9ee6eb53c581354d0a9481cbfe7826 |
|
02-Jul-2015 |
Jon Ashburn <jon@lunarg.com> |
loader: Split the instance and device layer enablement env vars into 2 Rename them VK_INSTANCE_LAYERS and VK_DEVICE_LAYERS. Also remove some unused stuff like getting layer enablement from registry and layer enablement names are as filenames.
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|
7a51d9001436476d50118230d5b2a4ebcc929b79 |
|
03-Jul-2015 |
Tobin Ehlis <tobin@lunarg.com> |
loader: Rename loader_platform.h -> vk_loader_platform.h
/external/vulkan-validation-layers/loader/vk_loader_platform.h
|