Henri Verbeet
f34b9f9347
include: Add the IDXGIFactory2 interface.
2016-10-24 13:57:04 +02:00
Henri Verbeet
110309b623
include: Add the IDXGISwapChain3 interface.
...
For cross-compilation of demos. Ideally we'd just depend on the MinGW-w64
headers for these, but we can't depend on those being new enough to include
these interfaces.
2016-10-24 13:57:04 +02:00
Henri Verbeet
a8f7602b14
include: Use hexadecimal values in the DXGI_FORMAT enum.
...
Since that's how those are typically printed.
2016-10-24 13:57:04 +02:00
Józef Kucia
81164d43f7
tests: Use stdbool.
2016-10-24 13:20:09 +02:00
Józef Kucia
ed50a4e7f5
include: Assert that "count * size" does not overflow in vkd3d_calloc().
2016-10-24 13:20:09 +02:00
Józef Kucia
69cd100d48
libs/vkd3d: Validate initial resource state.
2016-10-19 13:10:12 +02:00
Józef Kucia
6904282702
tests: Add test for D3D12_FEATURE_ARCHITECTURE.
2016-10-19 13:10:12 +02:00
Henri Verbeet
e0ba2fd2d3
libs/vkd3d: Export a function to get the Vulkan queue from a d3d12 command queue.
2016-10-19 10:02:53 +02:00
Henri Verbeet
7568a9793c
libs/vkd3d: Export a function to get the Vulkan device from a d3d12 device.
2016-10-19 10:02:27 +02:00
Henri Verbeet
feacd1af50
libs/vkd3d: Export a function to get the Vulkan instance from a d3d12 device.
2016-10-19 10:02:04 +02:00
Henri Verbeet
2a49173b60
libs/vkd3d: Export a function to create a d3d12 resource from a Vulkan image.
2016-10-19 09:59:42 +02:00
Henri Verbeet
8d668205a4
libs/vkd3d-utils: Return a bool from vkd3d_signal_event().
2016-10-19 09:49:52 +02:00
Henri Verbeet
9d5e4daf84
libs/vkd3d-utils: Get rid of unnecessary WINAPI.
2016-10-19 09:48:26 +02:00
Henri Verbeet
53e0839698
libs/vkd3d-utils: Naming conventions.
2016-10-19 09:47:35 +02:00
Józef Kucia
af091ecc73
include: Add more D3D12_MEMORY_POOL enum values.
2016-10-17 14:24:22 +02:00
Józef Kucia
2e1e098465
include: Add defines for some DXGI errors.
2016-10-17 14:24:22 +02:00
Józef Kucia
b4d22aa4e4
include: Fix indentation in vkd3d_test header file.
2016-10-17 14:24:22 +02:00
Józef Kucia
85d498c94b
include: Get rid of useless function prototypes in vkd3d_test header file.
2016-10-17 14:24:22 +02:00
Henri Verbeet
4a558d5a4a
libs/vkd3d: Implement d3d12_command_list_DrawInstanced().
2016-10-10 17:26:46 +02:00
Henri Verbeet
5c9ea3ede3
libs/vkd3d: Implement d3d12_device_CreateGraphicsPipelineState().
2016-10-10 17:26:38 +02:00
Henri Verbeet
e4e1ef5944
include: Add more D3D12_BLEND_OP values.
2016-10-10 17:26:28 +02:00
Henri Verbeet
604a8bb261
include: Fix a typo in "D3D12_BLEND_SRC_ALPHA".
2016-10-10 17:26:20 +02:00
Henri Verbeet
7add62e552
libs/vkd3d: Implement d3d12_command_list_IASetVertexBuffers().
2016-10-10 17:25:55 +02:00
Józef Kucia
0c88b053da
include: Fix alignment for INT64/UINT64 in 32-bit code.
2016-10-10 17:12:22 +02:00
Józef Kucia
e84ca0af5d
tests: Use InterlockedIncrement() for test counters.
...
This should be useful for multithreaded tests.
2016-10-10 11:22:50 +02:00
Józef Kucia
ed033b40d0
libs/vkd3d: Fix InterlockedIncrement() and InterlockedDecrement() signatures.
2016-10-10 11:22:50 +02:00
Józef Kucia
5f3d5a1263
tests: Include vkd3d_common.h in vkd3d_test.h.
2016-10-10 11:22:50 +02:00
Józef Kucia
eb05a388e1
include: Avoid using variable names starting with "__".
...
Names that begin with "__" are reserved.
2016-10-10 11:22:50 +02:00
Józef Kucia
59d466af2d
libs/vkd3d: Use PRIx64 to print 64-bit integers.
2016-10-10 11:22:50 +02:00
Józef Kucia
6330c9f46a
tests: Properly print 64-bit unsigned integers.
...
Use PRIu64 since we use C99.
2016-10-10 11:22:50 +02:00
Józef Kucia
858e0c79f1
include: Add public header for libvkd3d-utils.
2016-10-07 13:26:39 +02:00
Józef Kucia
0c1432e671
libs/vkd3d: Move D3D12CreateDevice() to libvkd3d-utils.
2016-10-07 13:26:39 +02:00
Józef Kucia
ef6a3d78a2
libs/vkd3d: Pass signal event function pointer to vkd3d_create_device().
2016-10-07 13:26:39 +02:00
Józef Kucia
544c2668ca
libs/vkd3d: Introduce vkd3d_create_device().
...
We need to pass additional parameters to libvkd3d during initialization.
2016-10-07 13:26:39 +02:00
Józef Kucia
49cac8005c
libs/vkd3d-common: Add convenience library for shared code.
2016-10-07 13:26:39 +02:00
Józef Kucia
733f720ee4
libs/vkd3d: Add simple replacement for event objects.
...
This naming convention for exported functions is used to be consistent
with other D3D12* functions().
2016-10-05 15:56:27 +02:00
Henri Verbeet
cd37442fd0
tests: ...but keep regular builds working.
2016-09-30 10:00:11 +02:00
Henri Verbeet
dc7504c7fc
build: Unicode crossbuilds.
2016-09-30 09:41:12 +02:00
Józef Kucia
e2a72ee610
include: Fix typos.
2016-09-29 10:46:42 +02:00
Józef Kucia
bce85d84ed
include: Make test output less verbose.
2016-09-28 09:42:49 +02:00
Józef Kucia
3a5deb7286
include: Add support for marking tests as todo.
2016-09-28 09:42:49 +02:00
Józef Kucia
ef80cdedc3
libs/vkd3d: Make vkd3d debug compatible with MinGW headers.
2016-09-28 09:42:49 +02:00
Józef Kucia
821d978950
include: Add min() & max() macros.
2016-09-28 09:42:49 +02:00
Józef Kucia
e43af70de1
libs/vkd3d: Disable nameless unions.
2016-09-27 12:13:37 +02:00
Józef Kucia
abb169678c
include: Simplify typedefs for Windows data types.
...
This fixes compiler warnings when compiling 32-bit version of libvkd3d.
2016-09-21 17:46:03 +02:00
Józef Kucia
6bebee9a09
build: Add "crosstest" target for tests cross-compilation.
2016-09-21 12:57:24 +02:00
Józef Kucia
978584a238
tests: Add test for D3D12CreateDevice().
2016-09-21 12:57:24 +02:00
Józef Kucia
d6e2fe97a4
libs/vkd3d: Add ID3D12Device interface stub.
2016-09-21 12:57:24 +02:00
Józef Kucia
3d10019103
include: Add definitions required by COM interfaces.
2016-09-21 12:57:24 +02:00
Józef Kucia
7505ac2439
include: Add dummy headers for files generated by widl.
2016-09-21 12:57:24 +02:00
Józef Kucia
c5e3e7d1c3
include: Add d3d12.idl.
2016-09-21 12:57:24 +02:00
Józef Kucia
7fa6075749
include: Define IUnknown.
2016-09-21 12:57:24 +02:00
Józef Kucia
58cacc0c41
include: Add header file for basic DXGI definitions.
2016-09-21 12:57:24 +02:00
Józef Kucia
449b2010b0
include: Add minimal windows.h replacement.
2016-09-21 12:57:24 +02:00
Józef Kucia
9f3ffd7287
build: Add initial Autotools files.
2016-09-21 09:05:15 +02:00