RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
dxgi_common.h File Reference
#include <retro_inline.h>
#include <assert.h>
#include <dxgi1_5.h>
#include "../video_driver.h"
#include "../drivers_shader/glslang_util.h"
#include "../../performance_counters.h"
Include dependency graph for dxgi_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  float4_t
 

Macros

#define countof(a)   (sizeof(a) / sizeof(*a))
 
#define uuidof(type)   &IID_##type
 
#define COM_RELEASE_DECLARED
 
#define DXGI_COLOR_RGBA(r, g, b, a)   (((UINT32)(a) << 24) | ((UINT32)(b) << 16) | ((UINT32)(g) << 8) | ((UINT32)(r) << 0))
 
#define PERF_START()
 
#define PERF_STOP()
 

Typedefs

typedef IDXGIObjectDXGIObject
 
typedef IDXGIDeviceSubObjectDXGIDeviceSubObject
 
typedef IDXGIResourceDXGIResource
 
typedef IDXGIKeyedMutexDXGIKeyedMutex
 
typedef IDXGISurface1DXGISurface
 
typedef IDXGIOutputDXGIOutput
 
typedef IDXGIDeviceDXGIDevice
 
typedef IDXGIFactory1DXGIFactory
 
typedef IDXGIAdapter1DXGIAdapter
 
typedef IDXGIDisplayControlDXGIDisplayControl
 
typedef IDXGIOutputDuplicationDXGIOutputDuplication
 
typedef IDXGIDecodeSwapChainDXGIDecodeSwapChain
 
typedef IDXGIFactoryMediaDXGIFactoryMedia
 
typedef IDXGISwapChainMediaDXGISwapChainMedia
 
typedef IDXGISwapChain3DXGISwapChain
 

Enumerations

enum  DXGI_FORMAT_EX { DXGI_FORMAT_EX_A4R4G4B4_UNORM = 1000 }
 

Functions

static INLINE ULONG Release (void *object)
 
static INLINE ULONG DXGIReleaseDeviceSubObject (DXGIDeviceSubObject device_sub_object)
 
static INLINE HRESULT DXGIGetSharedHandle (void *resource, HANDLE *shared_handle)
 
static INLINE HRESULT DXGIGetUsage (void *resource, DXGI_USAGE *usage)
 
static INLINE HRESULT DXGISetEvictionPriority (void *resource, UINT eviction_priority)
 
static INLINE HRESULT DXGIGetEvictionPriority (void *resource, UINT *eviction_priority)
 
static INLINE ULONG DXGIReleaseKeyedMutex (DXGIKeyedMutex keyed_mutex)
 
static INLINE HRESULT DXGIAcquireSync (DXGIKeyedMutex keyed_mutex, UINT64 key, DWORD dw_milliseconds)
 
static INLINE HRESULT DXGIReleaseSync (DXGIKeyedMutex keyed_mutex, UINT64 key)
 
static INLINE ULONG DXGIReleaseSurface (DXGISurface surface)
 
static INLINE HRESULT DXGIMap (DXGISurface surface, DXGI_MAPPED_RECT *locked_rect, UINT map_flags)
 
static INLINE HRESULT DXGIUnmap (DXGISurface surface)
 
static INLINE HRESULT DXGIGetDC (DXGISurface surface, BOOL discard, HDC *hdc)
 
static INLINE HRESULT DXGIReleaseDC (DXGISurface surface, RECT *dirty_rect)
 
static INLINE ULONG DXGIReleaseOutput (DXGIOutput output)
 
static INLINE HRESULT DXGIGetDisplayModeList (DXGIOutput output, DXGI_FORMAT enum_format, UINT flags, UINT *num_modes, DXGI_MODE_DESC *desc)
 
static INLINE HRESULT DXGIFindClosestMatchingMode (DXGIOutput output, DXGI_MODE_DESC *mode_to_match, DXGI_MODE_DESC *closest_match, void *concerned_device)
 
static INLINE HRESULT DXGIWaitForVBlank (DXGIOutput output)
 
static INLINE HRESULT DXGITakeOwnership (DXGIOutput output, void *device, BOOL exclusive)
 
static INLINE void DXGIReleaseOwnership (DXGIOutput output)
 
static INLINE HRESULT DXGIGetGammaControlCapabilities (DXGIOutput output, DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps)
 
static INLINE HRESULT DXGISetGammaControl (DXGIOutput output, DXGI_GAMMA_CONTROL *array)
 
static INLINE HRESULT DXGIGetGammaControl (DXGIOutput output, DXGI_GAMMA_CONTROL *array)
 
static INLINE HRESULT DXGISetDisplaySurface (DXGIOutput output, DXGISurface scanout_surface)
 
static INLINE HRESULT DXGIGetDisplaySurfaceData (DXGIOutput output, DXGISurface destination)
 
static INLINE ULONG DXGIReleaseDevice (DXGIDevice device)
 
static INLINE HRESULT DXGICreateSurface (DXGIDevice device, DXGI_SURFACE_DESC *desc, UINT num_surfaces, DXGI_USAGE usage, DXGI_SHARED_RESOURCE *shared_resource, DXGISurface *surface)
 
static INLINE HRESULT DXGISetGPUThreadPriority (DXGIDevice device, INT priority)
 
static INLINE HRESULT DXGIGetGPUThreadPriority (DXGIDevice device, INT *priority)
 
static INLINE ULONG DXGIReleaseFactory (DXGIFactory factory)
 
static INLINE HRESULT DXGIMakeWindowAssociation (DXGIFactory factory, HWND window_handle, UINT flags)
 
static INLINE HRESULT DXGIGetWindowAssociation (DXGIFactory factory, HWND *window_handle)
 
static INLINE HRESULT DXGICreateSwapChain (DXGIFactory factory, void *device, DXGI_SWAP_CHAIN_DESC *desc, DXGISwapChain *swap_chain)
 
static INLINE HRESULT DXGICreateSoftwareAdapter (DXGIFactory factory, HMODULE module, DXGIAdapter *adapter)
 
static INLINE HRESULT DXGIEnumAdapters (DXGIFactory factory, UINT id, DXGIAdapter *adapter)
 
static INLINE BOOL DXGIIsCurrent (DXGIFactory factory)
 
static INLINE ULONG DXGIReleaseAdapter (DXGIAdapter adapter)
 
static INLINE HRESULT DXGIEnumOutputs (DXGIAdapter adapter, UINT id, DXGIOutput *output)
 
static INLINE HRESULT DXGICheckInterfaceSupport (DXGIAdapter adapter, REFGUID interface_name, LARGE_INTEGER *u_m_d_version)
 
static INLINE HRESULT DXGIGetAdapterDesc1 (DXGIAdapter adapter, DXGI_ADAPTER_DESC1 *desc)
 
static INLINE ULONG DXGIReleaseDisplayControl (DXGIDisplayControl display_control)
 
static INLINE BOOL DXGIIsStereoEnabled (DXGIDisplayControl display_control)
 
static INLINE void DXGISetStereoEnabled (DXGIDisplayControl display_control, BOOL enabled)
 
static INLINE ULONG DXGIReleaseOutputDuplication (DXGIOutputDuplication output_duplication)
 
static INLINE HRESULT DXGIAcquireNextFrame (DXGIOutputDuplication output_duplication, UINT timeout_in_milliseconds, DXGI_OUTDUPL_FRAME_INFO *frame_info, void *desktop_resource)
 
static INLINE HRESULT DXGIGetFrameDirtyRects (DXGIOutputDuplication output_duplication, UINT dirty_rects_buffer_size, RECT *dirty_rects_buffer, UINT *dirty_rects_buffer_size_required)
 
static INLINE HRESULT DXGIGetFrameMoveRects (DXGIOutputDuplication output_duplication, UINT move_rects_buffer_size, DXGI_OUTDUPL_MOVE_RECT *move_rect_buffer, UINT *move_rects_buffer_size_required)
 
static INLINE HRESULT DXGIGetFramePointerShape (DXGIOutputDuplication output_duplication, UINT pointer_shape_buffer_size, void *pointer_shape_buffer, UINT *pointer_shape_buffer_size_required, DXGI_OUTDUPL_POINTER_SHAPE_INFO *pointer_shape_info)
 
static INLINE HRESULT DXGIMapDesktopSurface (DXGIOutputDuplication output_duplication, DXGI_MAPPED_RECT *locked_rect)
 
static INLINE HRESULT DXGIUnMapDesktopSurface (DXGIOutputDuplication output_duplication)
 
static INLINE HRESULT DXGIReleaseFrame (DXGIOutputDuplication output_duplication)
 
static INLINE ULONG DXGIReleaseDecodeSwapChain (DXGIDecodeSwapChain decode_swap_chain)
 
static INLINE HRESULT DXGIPresentBuffer (DXGIDecodeSwapChain decode_swap_chain, UINT buffer_to_present, UINT sync_interval, UINT flags)
 
static INLINE HRESULT DXGISetSourceRect (DXGIDecodeSwapChain decode_swap_chain, RECT *rect)
 
static INLINE HRESULT DXGISetTargetRect (DXGIDecodeSwapChain decode_swap_chain, RECT *rect)
 
static INLINE HRESULT DXGISetDestSize (DXGIDecodeSwapChain decode_swap_chain, UINT width, UINT height)
 
static INLINE HRESULT DXGIGetSourceRect (DXGIDecodeSwapChain decode_swap_chain, RECT *rect)
 
static INLINE HRESULT DXGIGetTargetRect (DXGIDecodeSwapChain decode_swap_chain, RECT *rect)
 
static INLINE HRESULT DXGIGetDestSize (DXGIDecodeSwapChain decode_swap_chain, UINT *width, UINT *height)
 
static INLINE HRESULT DXGISetColorSpace (DXGIDecodeSwapChain decode_swap_chain, DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS color_space)
 
static INLINE DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS DXGIGetColorSpace (DXGIDecodeSwapChain decode_swap_chain)
 
static INLINE ULONG DXGIReleaseFactoryMedia (DXGIFactoryMedia factory_media)
 
static INLINE HRESULT DXGICreateSwapChainForCompositionSurfaceHandle (DXGIFactoryMedia factory_media, void *device, HANDLE h_surface, DXGI_SWAP_CHAIN_DESC1 *desc, DXGIOutput restrict_to_output, DXGISwapChain *swap_chain)
 
static INLINE HRESULT DXGICreateDecodeSwapChainForCompositionSurfaceHandle (DXGIFactoryMedia factory_media, void *device, HANDLE h_surface, DXGI_DECODE_SWAP_CHAIN_DESC *desc, void *yuv_decode_buffers, DXGIOutput restrict_to_output, DXGIDecodeSwapChain *swap_chain)
 
static INLINE ULONG DXGIReleaseSwapChainMedia (DXGISwapChainMedia swap_chain_media)
 
static INLINE HRESULT DXGIGetFrameStatisticsMedia (DXGISwapChainMedia swap_chain_media, DXGI_FRAME_STATISTICS_MEDIA *stats)
 
static INLINE HRESULT DXGISetPresentDuration (DXGISwapChainMedia swap_chain_media, UINT duration)
 
static INLINE HRESULT DXGICheckPresentDurationSupport (DXGISwapChainMedia swap_chain_media, UINT desired_present_duration, UINT *closest_smaller_present_duration, UINT *closest_larger_present_duration)
 
static INLINE ULONG DXGIReleaseSwapChain (DXGISwapChain swap_chain)
 
static INLINE HRESULT DXGIPresent (DXGISwapChain swap_chain, UINT sync_interval, UINT flags)
 
static INLINE HRESULT DXGIGetBuffer (DXGISwapChain swap_chain, UINT buffer, IDXGISurface **out)
 
static INLINE HRESULT DXGISetFullscreenState (DXGISwapChain swap_chain, BOOL fullscreen, DXGIOutput target)
 
static INLINE HRESULT DXGIGetFullscreenState (DXGISwapChain swap_chain, BOOL *fullscreen, DXGIOutput *target)
 
static INLINE HRESULT DXGIResizeBuffers (DXGISwapChain swap_chain, UINT buffer_count, UINT width, UINT height, DXGI_FORMAT new_format, UINT swap_chain_flags)
 
static INLINE HRESULT DXGIResizeTarget (DXGISwapChain swap_chain, DXGI_MODE_DESC *new_target_parameters)
 
static INLINE HRESULT DXGIGetContainingOutput (DXGISwapChain swap_chain, DXGIOutput *output)
 
static INLINE HRESULT DXGIGetFrameStatistics (DXGISwapChain swap_chain, DXGI_FRAME_STATISTICS *stats)
 
static INLINE HRESULT DXGIGetLastPresentCount (DXGISwapChain swap_chain, UINT *last_present_count)
 
static INLINE HRESULT DXGIGetSwapChainDesc1 (DXGISwapChain swap_chain, DXGI_SWAP_CHAIN_DESC1 *desc)
 
static INLINE HRESULT DXGIGetFullscreenDesc (DXGISwapChain swap_chain, DXGI_SWAP_CHAIN_FULLSCREEN_DESC *desc)
 
static INLINE HRESULT DXGIGetHwnd (DXGISwapChain swap_chain, HWND *hwnd)
 
static INLINE HRESULT DXGIPresent1 (DXGISwapChain swap_chain, UINT sync_interval, UINT present_flags, DXGI_PRESENT_PARAMETERS *present_parameters)
 
static INLINE BOOL DXGIIsTemporaryMonoSupported (DXGISwapChain swap_chain)
 
static INLINE HRESULT DXGIGetRestrictToOutput (DXGISwapChain swap_chain, DXGIOutput *restrict_to_output)
 
static INLINE HRESULT DXGISetBackgroundColor (DXGISwapChain swap_chain, DXGI_RGBA *color)
 
static INLINE HRESULT DXGIGetBackgroundColor (DXGISwapChain swap_chain, DXGI_RGBA *color)
 
static INLINE HRESULT DXGISetRotation (DXGISwapChain swap_chain, DXGI_MODE_ROTATION rotation)
 
static INLINE HRESULT DXGIGetRotation (DXGISwapChain swap_chain, DXGI_MODE_ROTATION *rotation)
 
static INLINE HRESULT DXGISetSourceSize (DXGISwapChain swap_chain, UINT width, UINT height)
 
static INLINE HRESULT DXGIGetSourceSize (DXGISwapChain swap_chain, UINT *width, UINT *height)
 
static INLINE HRESULT DXGISetMaximumFrameLatency (DXGISwapChain swap_chain, UINT max_latency)
 
static INLINE HRESULT DXGIGetMaximumFrameLatency (DXGISwapChain swap_chain, UINT *max_latency)
 
static INLINE HANDLE DXGIGetFrameLatencyWaitableObject (DXGISwapChain swap_chain)
 
static INLINE HRESULT DXGISetMatrixTransform (DXGISwapChain swap_chain, DXGI_MATRIX_3X2_F *matrix)
 
static INLINE HRESULT DXGIGetMatrixTransform (DXGISwapChain swap_chain, DXGI_MATRIX_3X2_F *matrix)
 
static INLINE UINT DXGIGetCurrentBackBufferIndex (DXGISwapChain swap_chain)
 
static INLINE HRESULT DXGICheckColorSpaceSupport (DXGISwapChain swap_chain, DXGI_COLOR_SPACE_TYPE color_space, UINT *color_space_support)
 
static INLINE HRESULT DXGISetColorSpace1 (DXGISwapChain swap_chain, DXGI_COLOR_SPACE_TYPE color_space)
 
static INLINE HRESULT DXGICreateFactory (DXGIFactory *factory)
 
RETRO_BEGIN_DECLS DXGI_FORMATdxgi_get_format_fallback_list (DXGI_FORMAT format)
 
void dxgi_copy (int width, int height, DXGI_FORMAT src_format, int src_pitch, const void *src_data, DXGI_FORMAT dst_format, int dst_pitch, void *dst_data)
 
void dxgi_update_title (video_frame_info_t *video_info)
 
DXGI_FORMAT glslang_format_to_dxgi (glslang_format fmt)
 

Macro Definition Documentation

◆ COM_RELEASE_DECLARED

#define COM_RELEASE_DECLARED

◆ countof

#define countof (   a)    (sizeof(a) / sizeof(*a))

◆ DXGI_COLOR_RGBA

#define DXGI_COLOR_RGBA (   r,
  g,
  b,
  a 
)    (((UINT32)(a) << 24) | ((UINT32)(b) << 16) | ((UINT32)(g) << 8) | ((UINT32)(r) << 0))

◆ PERF_START

#define PERF_START ( )
Value:
{ \
static struct retro_perf_counter perfcounter = { __FUNCTION__ }; \
LARGE_INTEGER start, stop; \
rarch_perf_register(&perfcounter); \
perfcounter.call_cnt++; \
QueryPerformanceCounter(&start)
GLuint start
Definition: glext.h:6292
Definition: libretro.h:1612

◆ PERF_STOP

#define PERF_STOP ( )
Value:
QueryPerformanceCounter(&stop); \
perfcounter.total += stop.QuadPart - start.QuadPart; \
}
GLuint start
Definition: glext.h:6292

◆ uuidof

#define uuidof (   type)    &IID_##type

Typedef Documentation

◆ DXGIAdapter

◆ DXGIDecodeSwapChain

◆ DXGIDevice

◆ DXGIDeviceSubObject

◆ DXGIDisplayControl

◆ DXGIFactory

◆ DXGIFactoryMedia

◆ DXGIKeyedMutex

◆ DXGIObject

◆ DXGIOutput

◆ DXGIOutputDuplication

◆ DXGIResource

◆ DXGISurface

◆ DXGISwapChain

◆ DXGISwapChainMedia

Enumeration Type Documentation

◆ DXGI_FORMAT_EX

Enumerator
DXGI_FORMAT_EX_A4R4G4B4_UNORM 

Function Documentation

◆ dxgi_copy()

void dxgi_copy ( int  width,
int  height,
DXGI_FORMAT  src_format,
int  src_pitch,
const void src_data,
DXGI_FORMAT  dst_format,
int  dst_pitch,
void dst_data 
)
Here is the caller graph for this function:

◆ dxgi_get_format_fallback_list()

RETRO_BEGIN_DECLS DXGI_FORMAT* dxgi_get_format_fallback_list ( DXGI_FORMAT  format)
Here is the caller graph for this function:

◆ dxgi_update_title()

void dxgi_update_title ( video_frame_info_t video_info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DXGIAcquireNextFrame()

static INLINE HRESULT DXGIAcquireNextFrame ( DXGIOutputDuplication  output_duplication,
UINT  timeout_in_milliseconds,
DXGI_OUTDUPL_FRAME_INFO frame_info,
void desktop_resource 
)
static

◆ DXGIAcquireSync()

static INLINE HRESULT DXGIAcquireSync ( DXGIKeyedMutex  keyed_mutex,
UINT64  key,
DWORD  dw_milliseconds 
)
static

◆ DXGICheckColorSpaceSupport()

static INLINE HRESULT DXGICheckColorSpaceSupport ( DXGISwapChain  swap_chain,
DXGI_COLOR_SPACE_TYPE  color_space,
UINT color_space_support 
)
static

◆ DXGICheckInterfaceSupport()

static INLINE HRESULT DXGICheckInterfaceSupport ( DXGIAdapter  adapter,
REFGUID  interface_name,
LARGE_INTEGER *  u_m_d_version 
)
static

◆ DXGICheckPresentDurationSupport()

static INLINE HRESULT DXGICheckPresentDurationSupport ( DXGISwapChainMedia  swap_chain_media,
UINT  desired_present_duration,
UINT closest_smaller_present_duration,
UINT closest_larger_present_duration 
)
static

◆ DXGICreateDecodeSwapChainForCompositionSurfaceHandle()

static INLINE HRESULT DXGICreateDecodeSwapChainForCompositionSurfaceHandle ( DXGIFactoryMedia  factory_media,
void device,
HANDLE  h_surface,
DXGI_DECODE_SWAP_CHAIN_DESC desc,
void yuv_decode_buffers,
DXGIOutput  restrict_to_output,
DXGIDecodeSwapChain swap_chain 
)
static

◆ DXGICreateFactory()

static INLINE HRESULT DXGICreateFactory ( DXGIFactory factory)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DXGICreateSoftwareAdapter()

static INLINE HRESULT DXGICreateSoftwareAdapter ( DXGIFactory  factory,
HMODULE  module,
DXGIAdapter adapter 
)
static

◆ DXGICreateSurface()

static INLINE HRESULT DXGICreateSurface ( DXGIDevice  device,
DXGI_SURFACE_DESC desc,
UINT  num_surfaces,
DXGI_USAGE  usage,
DXGI_SHARED_RESOURCE shared_resource,
DXGISurface surface 
)
static

◆ DXGICreateSwapChain()

static INLINE HRESULT DXGICreateSwapChain ( DXGIFactory  factory,
void device,
DXGI_SWAP_CHAIN_DESC desc,
DXGISwapChain swap_chain 
)
static
Here is the caller graph for this function:

◆ DXGICreateSwapChainForCompositionSurfaceHandle()

static INLINE HRESULT DXGICreateSwapChainForCompositionSurfaceHandle ( DXGIFactoryMedia  factory_media,
void device,
HANDLE  h_surface,
DXGI_SWAP_CHAIN_DESC1 desc,
DXGIOutput  restrict_to_output,
DXGISwapChain swap_chain 
)
static

◆ DXGIEnumAdapters()

static INLINE HRESULT DXGIEnumAdapters ( DXGIFactory  factory,
UINT  id,
DXGIAdapter adapter 
)
static
Here is the caller graph for this function:

◆ DXGIEnumOutputs()

static INLINE HRESULT DXGIEnumOutputs ( DXGIAdapter  adapter,
UINT  id,
DXGIOutput output 
)
static

◆ DXGIFindClosestMatchingMode()

static INLINE HRESULT DXGIFindClosestMatchingMode ( DXGIOutput  output,
DXGI_MODE_DESC mode_to_match,
DXGI_MODE_DESC closest_match,
void concerned_device 
)
static

◆ DXGIGetAdapterDesc1()

static INLINE HRESULT DXGIGetAdapterDesc1 ( DXGIAdapter  adapter,
DXGI_ADAPTER_DESC1 desc 
)
static

◆ DXGIGetBackgroundColor()

static INLINE HRESULT DXGIGetBackgroundColor ( DXGISwapChain  swap_chain,
DXGI_RGBA color 
)
static

◆ DXGIGetBuffer()

static INLINE HRESULT DXGIGetBuffer ( DXGISwapChain  swap_chain,
UINT  buffer,
IDXGISurface **  out 
)
static

◆ DXGIGetColorSpace()

static INLINE DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS DXGIGetColorSpace ( DXGIDecodeSwapChain  decode_swap_chain)
static

◆ DXGIGetContainingOutput()

static INLINE HRESULT DXGIGetContainingOutput ( DXGISwapChain  swap_chain,
DXGIOutput output 
)
static

◆ DXGIGetCurrentBackBufferIndex()

static INLINE UINT DXGIGetCurrentBackBufferIndex ( DXGISwapChain  swap_chain)
static
Here is the caller graph for this function:

◆ DXGIGetDC()

static INLINE HRESULT DXGIGetDC ( DXGISurface  surface,
BOOL  discard,
HDC *  hdc 
)
static

◆ DXGIGetDestSize()

static INLINE HRESULT DXGIGetDestSize ( DXGIDecodeSwapChain  decode_swap_chain,
UINT width,
UINT height 
)
static

◆ DXGIGetDisplayModeList()

static INLINE HRESULT DXGIGetDisplayModeList ( DXGIOutput  output,
DXGI_FORMAT  enum_format,
UINT  flags,
UINT num_modes,
DXGI_MODE_DESC desc 
)
static

◆ DXGIGetDisplaySurfaceData()

static INLINE HRESULT DXGIGetDisplaySurfaceData ( DXGIOutput  output,
DXGISurface  destination 
)
static

◆ DXGIGetEvictionPriority()

static INLINE HRESULT DXGIGetEvictionPriority ( void resource,
UINT eviction_priority 
)
static

◆ DXGIGetFrameDirtyRects()

static INLINE HRESULT DXGIGetFrameDirtyRects ( DXGIOutputDuplication  output_duplication,
UINT  dirty_rects_buffer_size,
RECT *  dirty_rects_buffer,
UINT dirty_rects_buffer_size_required 
)
static

◆ DXGIGetFrameLatencyWaitableObject()

static INLINE HANDLE DXGIGetFrameLatencyWaitableObject ( DXGISwapChain  swap_chain)
static

◆ DXGIGetFrameMoveRects()

static INLINE HRESULT DXGIGetFrameMoveRects ( DXGIOutputDuplication  output_duplication,
UINT  move_rects_buffer_size,
DXGI_OUTDUPL_MOVE_RECT move_rect_buffer,
UINT move_rects_buffer_size_required 
)
static

◆ DXGIGetFramePointerShape()

static INLINE HRESULT DXGIGetFramePointerShape ( DXGIOutputDuplication  output_duplication,
UINT  pointer_shape_buffer_size,
void pointer_shape_buffer,
UINT pointer_shape_buffer_size_required,
DXGI_OUTDUPL_POINTER_SHAPE_INFO pointer_shape_info 
)
static

◆ DXGIGetFrameStatistics()

static INLINE HRESULT DXGIGetFrameStatistics ( DXGISwapChain  swap_chain,
DXGI_FRAME_STATISTICS stats 
)
static

◆ DXGIGetFrameStatisticsMedia()

static INLINE HRESULT DXGIGetFrameStatisticsMedia ( DXGISwapChainMedia  swap_chain_media,
DXGI_FRAME_STATISTICS_MEDIA stats 
)
static

◆ DXGIGetFullscreenDesc()

static INLINE HRESULT DXGIGetFullscreenDesc ( DXGISwapChain  swap_chain,
DXGI_SWAP_CHAIN_FULLSCREEN_DESC desc 
)
static

◆ DXGIGetFullscreenState()

static INLINE HRESULT DXGIGetFullscreenState ( DXGISwapChain  swap_chain,
BOOL fullscreen,
DXGIOutput target 
)
static

◆ DXGIGetGammaControl()

static INLINE HRESULT DXGIGetGammaControl ( DXGIOutput  output,
DXGI_GAMMA_CONTROL array 
)
static

◆ DXGIGetGammaControlCapabilities()

static INLINE HRESULT DXGIGetGammaControlCapabilities ( DXGIOutput  output,
DXGI_GAMMA_CONTROL_CAPABILITIES gamma_caps 
)
static

◆ DXGIGetGPUThreadPriority()

static INLINE HRESULT DXGIGetGPUThreadPriority ( DXGIDevice  device,
INT priority 
)
static

◆ DXGIGetHwnd()

static INLINE HRESULT DXGIGetHwnd ( DXGISwapChain  swap_chain,
HWND *  hwnd 
)
static

◆ DXGIGetLastPresentCount()

static INLINE HRESULT DXGIGetLastPresentCount ( DXGISwapChain  swap_chain,
UINT last_present_count 
)
static

◆ DXGIGetMatrixTransform()

static INLINE HRESULT DXGIGetMatrixTransform ( DXGISwapChain  swap_chain,
DXGI_MATRIX_3X2_F matrix 
)
static

◆ DXGIGetMaximumFrameLatency()

static INLINE HRESULT DXGIGetMaximumFrameLatency ( DXGISwapChain  swap_chain,
UINT max_latency 
)
static

◆ DXGIGetRestrictToOutput()

static INLINE HRESULT DXGIGetRestrictToOutput ( DXGISwapChain  swap_chain,
DXGIOutput restrict_to_output 
)
static

◆ DXGIGetRotation()

static INLINE HRESULT DXGIGetRotation ( DXGISwapChain  swap_chain,
DXGI_MODE_ROTATION rotation 
)
static

◆ DXGIGetSharedHandle()

static INLINE HRESULT DXGIGetSharedHandle ( void resource,
HANDLE *  shared_handle 
)
static

◆ DXGIGetSourceRect()

static INLINE HRESULT DXGIGetSourceRect ( DXGIDecodeSwapChain  decode_swap_chain,
RECT *  rect 
)
static

◆ DXGIGetSourceSize()

static INLINE HRESULT DXGIGetSourceSize ( DXGISwapChain  swap_chain,
UINT width,
UINT height 
)
static

◆ DXGIGetSwapChainDesc1()

static INLINE HRESULT DXGIGetSwapChainDesc1 ( DXGISwapChain  swap_chain,
DXGI_SWAP_CHAIN_DESC1 desc 
)
static

◆ DXGIGetTargetRect()

static INLINE HRESULT DXGIGetTargetRect ( DXGIDecodeSwapChain  decode_swap_chain,
RECT *  rect 
)
static

◆ DXGIGetUsage()

static INLINE HRESULT DXGIGetUsage ( void resource,
DXGI_USAGE usage 
)
static

◆ DXGIGetWindowAssociation()

static INLINE HRESULT DXGIGetWindowAssociation ( DXGIFactory  factory,
HWND *  window_handle 
)
static

◆ DXGIIsCurrent()

static INLINE BOOL DXGIIsCurrent ( DXGIFactory  factory)
static

◆ DXGIIsStereoEnabled()

static INLINE BOOL DXGIIsStereoEnabled ( DXGIDisplayControl  display_control)
static

◆ DXGIIsTemporaryMonoSupported()

static INLINE BOOL DXGIIsTemporaryMonoSupported ( DXGISwapChain  swap_chain)
static

◆ DXGIMakeWindowAssociation()

static INLINE HRESULT DXGIMakeWindowAssociation ( DXGIFactory  factory,
HWND  window_handle,
UINT  flags 
)
static
Here is the caller graph for this function:

◆ DXGIMap()

static INLINE HRESULT DXGIMap ( DXGISurface  surface,
DXGI_MAPPED_RECT locked_rect,
UINT  map_flags 
)
static

◆ DXGIMapDesktopSurface()

static INLINE HRESULT DXGIMapDesktopSurface ( DXGIOutputDuplication  output_duplication,
DXGI_MAPPED_RECT locked_rect 
)
static

◆ DXGIPresent()

static INLINE HRESULT DXGIPresent ( DXGISwapChain  swap_chain,
UINT  sync_interval,
UINT  flags 
)
static
Here is the caller graph for this function:

◆ DXGIPresent1()

static INLINE HRESULT DXGIPresent1 ( DXGISwapChain  swap_chain,
UINT  sync_interval,
UINT  present_flags,
DXGI_PRESENT_PARAMETERS present_parameters 
)
static

◆ DXGIPresentBuffer()

static INLINE HRESULT DXGIPresentBuffer ( DXGIDecodeSwapChain  decode_swap_chain,
UINT  buffer_to_present,
UINT  sync_interval,
UINT  flags 
)
static

◆ DXGIReleaseAdapter()

static INLINE ULONG DXGIReleaseAdapter ( DXGIAdapter  adapter)
static

◆ DXGIReleaseDC()

static INLINE HRESULT DXGIReleaseDC ( DXGISurface  surface,
RECT *  dirty_rect 
)
static

◆ DXGIReleaseDecodeSwapChain()

static INLINE ULONG DXGIReleaseDecodeSwapChain ( DXGIDecodeSwapChain  decode_swap_chain)
static

◆ DXGIReleaseDevice()

static INLINE ULONG DXGIReleaseDevice ( DXGIDevice  device)
static

◆ DXGIReleaseDeviceSubObject()

static INLINE ULONG DXGIReleaseDeviceSubObject ( DXGIDeviceSubObject  device_sub_object)
static

◆ DXGIReleaseDisplayControl()

static INLINE ULONG DXGIReleaseDisplayControl ( DXGIDisplayControl  display_control)
static

◆ DXGIReleaseFactory()

static INLINE ULONG DXGIReleaseFactory ( DXGIFactory  factory)
static

◆ DXGIReleaseFactoryMedia()

static INLINE ULONG DXGIReleaseFactoryMedia ( DXGIFactoryMedia  factory_media)
static

◆ DXGIReleaseFrame()

static INLINE HRESULT DXGIReleaseFrame ( DXGIOutputDuplication  output_duplication)
static

◆ DXGIReleaseKeyedMutex()

static INLINE ULONG DXGIReleaseKeyedMutex ( DXGIKeyedMutex  keyed_mutex)
static

◆ DXGIReleaseOutput()

static INLINE ULONG DXGIReleaseOutput ( DXGIOutput  output)
static

◆ DXGIReleaseOutputDuplication()

static INLINE ULONG DXGIReleaseOutputDuplication ( DXGIOutputDuplication  output_duplication)
static

◆ DXGIReleaseOwnership()

static INLINE void DXGIReleaseOwnership ( DXGIOutput  output)
static

◆ DXGIReleaseSurface()

static INLINE ULONG DXGIReleaseSurface ( DXGISurface  surface)
static

◆ DXGIReleaseSwapChain()

static INLINE ULONG DXGIReleaseSwapChain ( DXGISwapChain  swap_chain)
static

◆ DXGIReleaseSwapChainMedia()

static INLINE ULONG DXGIReleaseSwapChainMedia ( DXGISwapChainMedia  swap_chain_media)
static

◆ DXGIReleaseSync()

static INLINE HRESULT DXGIReleaseSync ( DXGIKeyedMutex  keyed_mutex,
UINT64  key 
)
static

◆ DXGIResizeBuffers()

static INLINE HRESULT DXGIResizeBuffers ( DXGISwapChain  swap_chain,
UINT  buffer_count,
UINT  width,
UINT  height,
DXGI_FORMAT  new_format,
UINT  swap_chain_flags 
)
static
Here is the caller graph for this function:

◆ DXGIResizeTarget()

static INLINE HRESULT DXGIResizeTarget ( DXGISwapChain  swap_chain,
DXGI_MODE_DESC new_target_parameters 
)
static

◆ DXGISetBackgroundColor()

static INLINE HRESULT DXGISetBackgroundColor ( DXGISwapChain  swap_chain,
DXGI_RGBA color 
)
static

◆ DXGISetColorSpace()

static INLINE HRESULT DXGISetColorSpace ( DXGIDecodeSwapChain  decode_swap_chain,
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS  color_space 
)
static

◆ DXGISetColorSpace1()

static INLINE HRESULT DXGISetColorSpace1 ( DXGISwapChain  swap_chain,
DXGI_COLOR_SPACE_TYPE  color_space 
)
static

◆ DXGISetDestSize()

static INLINE HRESULT DXGISetDestSize ( DXGIDecodeSwapChain  decode_swap_chain,
UINT  width,
UINT  height 
)
static

◆ DXGISetDisplaySurface()

static INLINE HRESULT DXGISetDisplaySurface ( DXGIOutput  output,
DXGISurface  scanout_surface 
)
static

◆ DXGISetEvictionPriority()

static INLINE HRESULT DXGISetEvictionPriority ( void resource,
UINT  eviction_priority 
)
static

◆ DXGISetFullscreenState()

static INLINE HRESULT DXGISetFullscreenState ( DXGISwapChain  swap_chain,
BOOL  fullscreen,
DXGIOutput  target 
)
static

◆ DXGISetGammaControl()

static INLINE HRESULT DXGISetGammaControl ( DXGIOutput  output,
DXGI_GAMMA_CONTROL array 
)
static

◆ DXGISetGPUThreadPriority()

static INLINE HRESULT DXGISetGPUThreadPriority ( DXGIDevice  device,
INT  priority 
)
static

◆ DXGISetMatrixTransform()

static INLINE HRESULT DXGISetMatrixTransform ( DXGISwapChain  swap_chain,
DXGI_MATRIX_3X2_F matrix 
)
static

◆ DXGISetMaximumFrameLatency()

static INLINE HRESULT DXGISetMaximumFrameLatency ( DXGISwapChain  swap_chain,
UINT  max_latency 
)
static

◆ DXGISetPresentDuration()

static INLINE HRESULT DXGISetPresentDuration ( DXGISwapChainMedia  swap_chain_media,
UINT  duration 
)
static

◆ DXGISetRotation()

static INLINE HRESULT DXGISetRotation ( DXGISwapChain  swap_chain,
DXGI_MODE_ROTATION  rotation 
)
static

◆ DXGISetSourceRect()

static INLINE HRESULT DXGISetSourceRect ( DXGIDecodeSwapChain  decode_swap_chain,
RECT *  rect 
)
static

◆ DXGISetSourceSize()

static INLINE HRESULT DXGISetSourceSize ( DXGISwapChain  swap_chain,
UINT  width,
UINT  height 
)
static

◆ DXGISetStereoEnabled()

static INLINE void DXGISetStereoEnabled ( DXGIDisplayControl  display_control,
BOOL  enabled 
)
static

◆ DXGISetTargetRect()

static INLINE HRESULT DXGISetTargetRect ( DXGIDecodeSwapChain  decode_swap_chain,
RECT *  rect 
)
static

◆ DXGITakeOwnership()

static INLINE HRESULT DXGITakeOwnership ( DXGIOutput  output,
void device,
BOOL  exclusive 
)
static

◆ DXGIUnmap()

static INLINE HRESULT DXGIUnmap ( DXGISurface  surface)
static

◆ DXGIUnMapDesktopSurface()

static INLINE HRESULT DXGIUnMapDesktopSurface ( DXGIOutputDuplication  output_duplication)
static

◆ DXGIWaitForVBlank()

static INLINE HRESULT DXGIWaitForVBlank ( DXGIOutput  output)
static

◆ glslang_format_to_dxgi()

DXGI_FORMAT glslang_format_to_dxgi ( glslang_format  fmt)
Here is the caller graph for this function:

◆ Release()

static INLINE ULONG Release ( void object)
static
Here is the caller graph for this function: