Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
eec9c3a2
Commit
eec9c3a2
authored
May 30, 2023
by
Giovanni Mascellani
Committed by
Alexandre Julliard
Jun 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Document some struct d3d12_swapchain fields.
parent
88cbc08b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
swapchain.c
dlls/dxgi/swapchain.c
+17
-6
No files found.
dlls/dxgi/swapchain.c
View file @
eec9c3a2
...
...
@@ -1044,26 +1044,37 @@ struct d3d12_swapchain
struct
wined3d_swapchain_state
*
state
;
struct
wined3d_swapchain_state_parent
state_parent
;
VkSwapchainKHR
vk_swapchain
;
VkSurfaceKHR
vk_surface
;
VkFence
vk_fence
;
VkInstance
vk_instance
;
VkDevice
vk_device
;
VkPhysicalDevice
vk_physical_device
;
/* D3D12 side of the swapchain: these objects are visible to the
* IDXGISwapChain client, so they must never be recreated, except
* when ResizeBuffers*() is called. */
unsigned
int
buffer_count
;
VkDeviceMemory
vk_memory
;
VkCommandPool
vk_cmd_pool
;
VkImage
vk_images
[
DXGI_MAX_SWAP_CHAIN_BUFFERS
];
ID3D12Resource
*
buffers
[
DXGI_MAX_SWAP_CHAIN_BUFFERS
];
unsigned
int
current_buffer_index
;
/* Vulkan side of the swapchain: these objects are also destroyed
* and recreated when the Vulkan swapchain becomes out of date or
* when the synchronization interval is changed; this operation
* should be transparent to the IDXGISwapChain client (except for
* timings: recreating the Vulkan swapchain creates a noticeable
* delay, unfortunately). */
VkSwapchainKHR
vk_swapchain
;
VkCommandPool
vk_cmd_pool
;
VkImage
vk_swapchain_images
[
DXGI_MAX_SWAP_CHAIN_BUFFERS
];
VkCommandBuffer
vk_cmd_buffers
[
DXGI_MAX_SWAP_CHAIN_BUFFERS
];
VkSemaphore
vk_semaphores
[
DXGI_MAX_SWAP_CHAIN_BUFFERS
];
ID3D12Resource
*
buffers
[
DXGI_MAX_SWAP_CHAIN_BUFFERS
];
unsigned
int
buffer_count
;
unsigned
int
vk_swapchain_width
;
unsigned
int
vk_swapchain_height
;
VkPresentModeKHR
present_mode
;
uint32_t
vk_image_index
;
unsigned
int
current_buffer_index
;
struct
dxgi_vk_funcs
vk_funcs
;
ID3D12CommandQueue
*
command_queue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment