shegangbin
03021ab368
fix notice
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-12-26 10:59:55 +08:00
openharmony_ci
7e7ee77c48
!16 修复vulkan-loader json解析失败问题
...
Merge pull request !16 from shegangbin/fix_json_fail
2023-11-06 13:59:17 +00:00
shegangbin
fb0537b48b
fix parse json fail issue
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-11-04 15:43:29 +08:00
openharmony_ci
4753a4675a
!15 修复加载renderdoc layer 进程crash的问题
...
Merge pull request !15 from Andrew0229/master
2023-11-03 08:48:30 +00:00
andrew0229
023191f03c
fix Vulkan Loader for vk renderdoc
...
Signed-off-by: andrew0229 <zhangzhao62@huawei.com>
Change-Id: Ia4f0c515ede71aaf2f25312dadf8d7a5f6efa7f9
2023-10-25 07:57:20 +00:00
openharmony_ci
6aafbaffd5
!13 revert old interface
...
Merge pull request !13 from shegangbin/revertOldInterface
2023-10-24 01:51:25 +00:00
shegangbin
54c33aeb0e
revert old interfaces
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
Change-Id: Ic9af498fac6f5da5d441c4732749ad5c59b07844
2023-10-10 09:55:35 +00:00
openharmony_ci
1a2ae83d00
!10 【36】【third_party/vulkan-loader】graphic_standard改为graphic_2d
...
Merge pull request !10 from zhangbirong/0630fix
2023-07-12 11:38:02 +00:00
zhangbirong
f80d6850de
fix name
...
Signed-off-by: zhangbirong <zhangbirong@huawei.com>
Change-Id: I8e87b48fc62e060e712662e3ea0bb3be1c4eaecc
2023-07-07 15:32:49 +08:00
openharmony_ci
243ff9027c
!11 hilog/hisysevent/hitrace部件名整改
...
Merge pull request !11 from liuyifei/master
2023-07-04 06:31:46 +00:00
liuyifei
9c1d5b9ff8
hilog/hisysevent/hitrace部件弹性化部署整改
...
Signed-off-by: liuyifei <liuyifei20@huawei.com>
2023-07-03 20:26:24 +08:00
openharmony_ci
82e347df7c
!9 修改OH扩展的Vulkan API命名
...
Merge pull request !9 from shegangbin/standardize_vulkan_api
2023-06-20 11:30:47 +00:00
shegangbin
bd5d4dcf60
reserve old interface
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-06-19 11:42:21 +08:00
shegangbin
4603b3a932
standardize OH extension api
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
Change-Id: I854a1a67f1337482279c300dcc37f6637c638f7e
2023-06-19 11:42:13 +08:00
openharmony_ci
934ba98366
!6 增加Native Buffer 扩展
...
Merge pull request !6 from Andrew0229/master
2023-05-12 02:14:14 +00:00
openharmony_ci
13f91c61b4
!7 修改vulkan-loader编译输出的so名称
...
Merge pull request !7 from shegangbin/change_so_name
2023-05-07 03:07:22 +00:00
shegangbin
8cd51ddf8f
change so name
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-05-06 16:39:32 +08:00
andrew0229
a985c53048
add native buffer ext
...
Signed-off-by: andrew0229 <zhangzhao62@huawei.com>
Change-Id: Ia4fdb5b13685e6940aebea93133b2ed510d90b84
2023-05-04 06:45:48 +00:00
openharmony_ci
31e4fa8171
!4 Update README
...
Merge pull request !4 from shegangbin/update_readme
2023-04-03 07:18:38 +00:00
shegangbin
56da8763ec
update readme
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-04-03 09:58:21 +08:00
openharmony_ci
65fda93e05
!3 增加README文件和OAT.xml
...
Merge pull request !3 from shegangbin/vkloader_readme
2023-03-25 03:15:47 +00:00
shegangbin
f72b939816
OH Vulkan-Loader README
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-03-25 10:07:02 +08:00
openharmony_ci
cc5d41bc02
!2 Vulkan-Loader适配OpenHarmony
...
Merge pull request !2 from shegangbin/pr_1
2023-03-20 09:20:28 +00:00
shegangbin
0cedf53d98
vulkanloader log adapt OH hilog
...
Signed-off-by: shegangbin <shegangbin1@huawei.com>
2023-03-20 15:39:12 +08:00
andrew0229
00b3f27651
add openharmony build;add OpenHamrony extension manual, but need generated
...
Signed-off-by: andrew0229 <zhangzhao62@huawei.com>
2023-03-02 12:30:20 +00:00
Mike Schuchardt
61187c4084
build: Update to header 1.3.231
...
- Update known-good
- Generate source
2022-10-13 08:30:39 -07:00
Charles Giessen
a88144de30
Correctly handle layers not being loaded in vkCreateDevice
...
This reverts the previous commit which reverted bad behavior.
2022-10-12 18:58:46 -06:00
Charles Giessen
a53232449e
Revert "Don't load layer libraries in vkCreateDevice"
...
This reverts commit cd9b4afed4
.
2022-10-12 16:22:24 -06:00
Charles Giessen
23a050bc76
Guard loader.instances access with mutex.
...
While the adding and removing of data from this global linked list
was guarded, GetInstanceProcAddr & GetDeviceProcAddr did not have
such guards. This results in race conditions that were detected with
thread sanitizer. This commit adds a mutex solely for the
loader.instances global variable.
2022-10-12 10:48:16 -06:00
Charles Giessen
ae08f71147
Fix issue with MSVC 15 failing to compile test code
...
Was a basic case of googletest not allowing implicit conversion between
types.
2022-10-11 13:01:07 -06:00
Charles Giessen
cb519989cd
Don't abort when drivers don't support WSI calls
...
Instance extensions are aggregated, therefore an application has no way of
knowing whether an ICD supports a WSI function or not. This necessitates
returning instead of aborting from WSI functions, as well as writing 0,
NULL, or returning false as needed for each function. This also needs
additional NULL checks before calling down into the driver.
2022-10-10 14:54:07 -06:00
Charles Giessen
6c64537135
Enable cross compile test discovery
...
gtest_discover_tests() doesn't work in cross compilation environments, so if
that is happening fall back to gtest_add_tests().
2022-10-06 17:00:40 -06:00
Charles Giessen
cd9b4afed4
Don't load layer libraries in vkCreateDevice
...
These libraries will always be loaded in vkCreateInstance, so we don't
need to load them again in vkCreateDevice. This has the added benefit
of not printing 'unloading library X' twice in the log.
2022-10-04 13:28:00 -06:00
Juan Ramos
925eb27e51
build: Fix CMake warnings
...
- CMAKE_GENERATOR_PLATFORM is only valid on Visual Studio generators
- Remove FindWayland since it's no longer needed. See this discussion for details: https://github.com/KhronosGroup/Vulkan-Docs/pull/1905
2022-10-03 17:30:15 -06:00
Mike Schuchardt
c71f94d8a8
build: Update to header 1.3.230
...
- Update known-good
- Generate source
2022-09-29 11:29:08 -07:00
PaperChalice
9c40a28e3e
loader: fix log message
2022-09-26 11:56:43 -06:00
Mike Schuchardt
f755a87bf8
ci: Do apt update before install to fix 404 errors
2022-09-22 10:58:15 -07:00
Mike Schuchardt
1bfe4ad2b5
build: Update to header 1.3.229
...
- Update known-good
- Generate source
2022-09-22 10:58:15 -07:00
Mike Schuchardt
3090fc12bd
build: Update to header 1.3.228
...
- Update known-good
- Generate source
2022-09-15 09:07:36 -07:00
Charles Giessen
55b1b3d07a
Make old layer with new app API version warning clearer
...
The previous message incorrectly labled all layes as Explicit layers
and didn't indicate what the 'warning' was about very well.
2022-09-15 10:03:20 -06:00
Charles Giessen
2f87e2b3a5
Allow implicit layers for all API versions
...
This change makes the loader conform to the latests specification
update, 1.3.227, which removes the requirement that implicit layers
API version is at least as high as the application provided API
version.
This change reduces friction for layer developers and API users.
2022-09-08 13:48:46 -06:00
Mike Schuchardt
23043a5c87
build: Update to header 1.3.227
...
- Update known-good
- Generate source
2022-09-08 10:03:21 -07:00
Brad Smith
0a783b5d3e
build: Also include XCB header path
2022-09-06 16:53:34 -06:00
Steve Lhomme
a73cf14417
fix typo in CMakeLists
2022-09-06 11:31:17 -06:00
Steve Lhomme
688ad64341
Fix the pkg-config import library name with mingw-w64
...
The common name for import libraries in mingw-w64 ends with .dll.a so we need
to use it so the pkg-config file ends up use -lvulkan-1.dll.
2022-09-06 11:31:17 -06:00
Steve Lhomme
b57feee285
Generate the same DLL name with mingw-w64 as with MSVC
...
It should be the same name so mingw-w64 toolchains can generate/use the same
DLLs as the MSVC toolchains. The DLL and import libraries are compatible both
ways.
Fixes #997
2022-09-06 11:31:17 -06:00
Brad Smith
fdfdef6d1b
loader: Only use alloca.h if it exists otherwise fallback to stdlib.h
...
Check for the existence of the alloca.h header and only use it it exists,
otherwise fallback to stdlib.h. Some OS's like macOS and QNX have both
headers and can use either (stdlib.h includes alloca.h), some OS's like
OpenBSD / FreeBSD / NetBSD do not have the alloca.h header and require
the stdlib.h header.
2022-09-02 17:52:37 -06:00
Brad Smith
efe6aa4f3f
loader: Fix CMake detection of OpenBSD/FreeBSD / amd64
2022-09-01 15:26:14 -06:00
Charles Giessen
823078c862
Remove unneeded exports in test_wrap_layers
...
Some functions in the wrapping test layer exported functions that are not necessary.
This caused some warnings in builds. Removing them fixes the warnings.
2022-09-01 13:13:14 -06:00
Charles Giessen
1bede3d1a0
Refactor loader_icd_scan()
...
Put all of the parsing for ICD Manifest data into a separate function.
This cleans it up by not requiring manual tracking of allocated resources
while parsing, and allow much saner 'skipping' of incorrect ICD's.
This commit also addresses an issue where OOM during ICD parsing wasn't
immediately ending parsing and returning.
2022-09-01 13:13:14 -06:00