|
ReactOS 0.4.17-dev-934-g091855f
|
#include "wine/debug.h"#include <assert.h>#include "winbase.h"#include "wingdi.h"#include "winuser.h"#include "objbase.h"#include "winnls.h"#include "dxgi1_6.h"#include "d3d10_1.h"#include "d3d12.h"#include "wine/wined3d.h"#include "wine/winedxgi.h"

Go to the source code of this file.
Classes | |
| struct | layer_get_size_args |
| struct | dxgi_device_layer |
| struct | dxgi_factory |
| struct | dxgi_device |
| struct | dxgi_output |
| struct | dxgi_adapter |
| struct | d3d11_swapchain |
| struct | dxgi_resource |
Macros | |
| #define | COBJMACROS |
Enumerations | |
| enum | dxgi_frame_latency { DXGI_FRAME_LATENCY_MAX = 16 } |
| enum | dxgi_device_layer_id { DXGI_DEVICE_LAYER_DEBUG1 = 0x8 , DXGI_DEVICE_LAYER_THREAD_SAFE = 0x10 , DXGI_DEVICE_LAYER_DEBUG2 = 0x20 , DXGI_DEVICE_LAYER_SWITCH_TO_REF = 0x30 , DXGI_DEVICE_LAYER_D3D10_DEVICE = 0xffffffff , DXGI_DEVICE_LAYER_DEBUG1 = 0x8 , DXGI_DEVICE_LAYER_THREAD_SAFE = 0x10 , DXGI_DEVICE_LAYER_DEBUG2 = 0x20 , DXGI_DEVICE_LAYER_SWITCH_TO_REF = 0x30 , DXGI_DEVICE_LAYER_D3D10_DEVICE = 0xffffffff } |
| #define COBJMACROS |
Definition at line 26 of file dxgi_private.h.
Definition at line 48 of file dxgi_private.h.
| Enumerator | |
|---|---|
| DXGI_FRAME_LATENCY_MAX | |
Definition at line 42 of file dxgi_private.h.
| HRESULT d3d11_swapchain_init | ( | struct d3d11_swapchain * | swapchain, |
| struct dxgi_device * | device, | ||
| struct wined3d_swapchain_desc * | desc | ||
| ) |
Definition at line 991 of file swapchain.c.
Referenced by dxgi_swapchain_factory_create_swapchain().
| HRESULT d3d12_swapchain_create | ( | IWineDXGIFactory * | factory, |
| ID3D12CommandQueue * | queue, | ||
| HWND | window, | ||
| const DXGI_SWAP_CHAIN_DESC1 * | swapchain_desc, | ||
| const DXGI_SWAP_CHAIN_FULLSCREEN_DESC * | fullscreen_desc, | ||
| IDXGISwapChain1 ** | swapchain | ||
| ) |
Definition at line 3399 of file swapchain.c.
Referenced by dxgi_factory_CreateSwapChainForHwnd().
| const char * debug_dxgi_format | ( | DXGI_FORMAT | format | ) |
Definition at line 46 of file utils.c.
Referenced by debug_dxgi_mode(), and debug_dxgi_mode1().
| const char * debug_dxgi_mode | ( | const DXGI_MODE_DESC * | desc | ) |
Definition at line 388 of file utils.c.
Referenced by dxgi_output_FindClosestMatchingMode(), and dxgi_swapchain_resize_target().
| const char * debug_dxgi_mode1 | ( | const DXGI_MODE_DESC1 * | desc | ) |
Definition at line 399 of file utils.c.
Referenced by dxgi_output_FindClosestMatchingMode1().
| void dump_feature_levels | ( | const D3D_FEATURE_LEVEL * | feature_levels, |
| unsigned int | level_count | ||
| ) |
Definition at line 410 of file utils.c.
Referenced by DXGID3D10CreateDevice().
| HRESULT dxgi_adapter_create | ( | struct dxgi_factory * | factory, |
| UINT | ordinal, | ||
| struct dxgi_adapter ** | adapter | ||
| ) |
Definition at line 448 of file adapter.c.
Referenced by dxgi_factory_EnumAdapters1().
| HRESULT dxgi_device_init | ( | struct dxgi_device * | device, |
| struct dxgi_device_layer * | layer, | ||
| IDXGIFactory * | factory, | ||
| IDXGIAdapter * | adapter, | ||
| const D3D_FEATURE_LEVEL * | feature_levels, | ||
| unsigned int | level_count | ||
| ) |
Definition at line 486 of file device.c.
Referenced by DXGID3D10CreateDevice().
Definition at line 585 of file factory.c.
Referenced by CreateDXGIFactory(), CreateDXGIFactory1(), and CreateDXGIFactory2().
| HWND dxgi_factory_get_device_window | ( | struct dxgi_factory * | factory | ) |
Definition at line 607 of file factory.c.
Referenced by dxgi_device_init().
| DXGI_FORMAT dxgi_format_from_wined3dformat | ( | enum wined3d_format_id | format | ) |
| HRESULT dxgi_get_output_from_window | ( | IWineDXGIFactory * | factory, |
| HWND | window, | ||
| IDXGIOutput ** | dxgi_output | ||
| ) |
Definition at line 103 of file swapchain.c.
Referenced by d3d11_swapchain_GetContainingOutput(), d3d12_swapchain_GetContainingOutput(), d3d12_swapchain_init(), dxgi_device_init(), and dxgi_swapchain_factory_create_swapchain().
| HRESULT dxgi_get_private_data | ( | struct wined3d_private_store * | store, |
| REFGUID | guid, | ||
| UINT * | data_size, | ||
| void * | data | ||
| ) |
Definition at line 624 of file utils.c.
Referenced by d3d11_swapchain_GetPrivateData(), d3d12_swapchain_GetPrivateData(), dxgi_adapter_GetPrivateData(), dxgi_device_GetPrivateData(), dxgi_factory_GetPrivateData(), dxgi_output_GetPrivateData(), and dxgi_resource_GetPrivateData().
| HRESULT dxgi_output_create | ( | struct dxgi_adapter * | adapter, |
| unsigned int | output_idx, | ||
| struct dxgi_output ** | output | ||
| ) |
Definition at line 725 of file output.c.
Referenced by dxgi_adapter_EnumOutputs().
| HRESULT dxgi_resource_init | ( | struct dxgi_resource * | resource, |
| IDXGIDevice * | device, | ||
| IUnknown * | outer, | ||
| BOOL | needs_surface, | ||
| struct wined3d_resource * | wined3d_resource | ||
| ) |
Definition at line 426 of file resource.c.
Referenced by dxgi_device_create_resource().
| void dxgi_sample_desc_from_wined3d | ( | DXGI_SAMPLE_DESC * | desc, |
| enum wined3d_multisample_type | wined3d_type, | ||
| unsigned int | wined3d_quality | ||
| ) |
Definition at line 447 of file utils.c.
Referenced by d3d11_swapchain_GetDesc(), d3d11_swapchain_GetDesc1(), and dxgi_surface_GetDesc().
| HRESULT dxgi_set_private_data | ( | struct wined3d_private_store * | store, |
| REFGUID | guid, | ||
| UINT | data_size, | ||
| const void * | data | ||
| ) |
Definition at line 666 of file utils.c.
Referenced by d3d11_swapchain_SetPrivateData(), d3d12_swapchain_SetPrivateData(), dxgi_adapter_SetPrivateData(), dxgi_device_SetPrivateData(), dxgi_factory_SetPrivateData(), dxgi_output_SetPrivateData(), dxgi_resource_SetPrivateData(), and dxgi_set_private_data_interface().
| HRESULT dxgi_set_private_data_interface | ( | struct wined3d_private_store * | store, |
| REFGUID | guid, | ||
| const IUnknown * | object | ||
| ) |
Definition at line 694 of file utils.c.
Referenced by d3d11_swapchain_SetPrivateDataInterface(), d3d12_swapchain_SetPrivateDataInterface(), dxgi_adapter_SetPrivateDataInterface(), dxgi_device_SetPrivateDataInterface(), dxgi_factory_SetPrivateDataInterface(), dxgi_output_SetPrivateDataInterface(), and dxgi_resource_SetPrivateDataInterface().
Definition at line 525 of file utils.c.
Referenced by d3d11_swapchain_GetDesc(), and d3d11_swapchain_GetDesc1().
| DXGI_USAGE dxgi_usage_from_wined3d_bind_flags | ( | unsigned int | wined3d_bind_flags | ) |
Definition at line 490 of file utils.c.
Referenced by d3d11_swapchain_GetDesc(), d3d11_swapchain_GetDesc1(), and dxgi_resource_GetUsage().
| BOOL dxgi_validate_swapchain_desc | ( | const DXGI_SWAP_CHAIN_DESC1 * | desc | ) |
Definition at line 63 of file swapchain.c.
Referenced by d3d12_swapchain_resize_buffers(), and dxgi_factory_CreateSwapChainForHwnd().
| struct dxgi_adapter * unsafe_impl_from_IDXGIAdapter | ( | IDXGIAdapter * | iface | ) |
Definition at line 418 of file adapter.c.
Referenced by dxgi_device_init().
| struct dxgi_factory * unsafe_impl_from_IDXGIFactory | ( | IDXGIFactory * | iface | ) |
Definition at line 546 of file factory.c.
Referenced by d3d12_swapchain_init(), dxgi_device_init(), and dxgi_swapchain_factory_create_swapchain().
| struct dxgi_output * unsafe_impl_from_IDXGIOutput | ( | IDXGIOutput * | iface | ) |
Definition at line 706 of file output.c.
Referenced by d3d11_swapchain_SetFullscreenState(), dxgi_device_init(), and wined3d_swapchain_desc_from_dxgi().
| unsigned int wined3d_bind_flags_from_dxgi_usage | ( | DXGI_USAGE | usage | ) |
Definition at line 504 of file utils.c.
Referenced by dxgi_device_CreateSurface(), and wined3d_swapchain_desc_from_dxgi().
| void wined3d_display_mode_from_dxgi | ( | struct wined3d_display_mode * | wined3d_mode, |
| const DXGI_MODE_DESC * | mode | ||
| ) |
Definition at line 469 of file utils.c.
Referenced by dxgi_output_FindClosestMatchingMode(), and dxgi_swapchain_resize_target().
| void wined3d_display_mode_from_dxgi1 | ( | struct wined3d_display_mode * | wined3d_mode, |
| const DXGI_MODE_DESC1 * | mode | ||
| ) |
Definition at line 479 of file utils.c.
Referenced by dxgi_output_FindClosestMatchingMode1().
| void wined3d_sample_desc_from_dxgi | ( | enum wined3d_multisample_type * | wined3d_type, |
| unsigned int * | wined3d_quality, | ||
| const DXGI_SAMPLE_DESC * | dxgi_desc | ||
| ) |
Definition at line 454 of file utils.c.
Referenced by dxgi_device_CreateSurface(), and wined3d_swapchain_desc_from_dxgi().
| HRESULT wined3d_swapchain_desc_from_dxgi | ( | struct wined3d_swapchain_desc * | wined3d_desc, |
| IDXGIOutput * | dxgi_containing_output, | ||
| HWND | window, | ||
| const DXGI_SWAP_CHAIN_DESC1 * | dxgi_desc, | ||
| const DXGI_SWAP_CHAIN_FULLSCREEN_DESC * | dxgi_fullscreen_desc | ||
| ) |
Definition at line 571 of file utils.c.
Referenced by d3d12_swapchain_init(), d3d12_swapchain_SetFullscreenState(), and dxgi_swapchain_factory_create_swapchain().
| enum wined3d_format_id wined3dformat_from_dxgi_format | ( | DXGI_FORMAT | format | ) |
Definition at line 323 of file utils.c.
Referenced by wined3d_display_mode_from_dxgi(), wined3d_display_mode_from_dxgi1(), and wined3d_swapchain_desc_from_dxgi().