RetroArch
Classes | Macros | Typedefs | Functions | Variables
d3d10_common.h File Reference
#include <retro_inline.h>
#include "dxgi_common.h"
#include <d3d10.h>
#include "../drivers_shader/slang_process.h"
#include <boolean.h>
#include <retro_math.h>
#include <gfx/math/matrix_4x4.h>
#include "../video_driver.h"
Include dependency graph for d3d10_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  d3d10_vertex_t
 
struct  d3d10_texture_t
 
struct  d3d10_sprite_t
 
struct  d3d10_shader_t
 
struct  d3d10_video_t
 

Macros

#define ALIGN(x)   __attribute__((aligned(x)))
 

Typedefs

typedef const ID3D10SamplerStateD3D10SamplerStateRef
 
typedef ID3D10InputLayoutD3D10InputLayout
 
typedef ID3D10RasterizerStateD3D10RasterizerState
 
typedef ID3D10DepthStencilStateD3D10DepthStencilState
 
typedef ID3D10BlendStateD3D10BlendState
 
typedef ID3D10PixelShaderD3D10PixelShader
 
typedef ID3D10SamplerStateD3D10SamplerState
 
typedef ID3D10VertexShaderD3D10VertexShader
 
typedef ID3D10GeometryShaderD3D10GeometryShader
 
typedef ID3DDestructionNotifierD3DDestructionNotifier
 
typedef ID3D10ResourceD3D10Resource
 
typedef ID3D10BufferD3D10Buffer
 
typedef ID3D10Texture1DD3D10Texture1D
 
typedef ID3D10Texture2DD3D10Texture2D
 
typedef ID3D10Texture3DD3D10Texture3D
 
typedef ID3D10ViewD3D10View
 
typedef ID3D10ShaderResourceViewD3D10ShaderResourceView
 
typedef ID3D10RenderTargetViewD3D10RenderTargetView
 
typedef ID3D10DepthStencilViewD3D10DepthStencilView
 
typedef ID3D10AsynchronousD3D10Asynchronous
 
typedef ID3D10QueryD3D10Query
 
typedef ID3D10PredicateD3D10Predicate
 
typedef ID3D10CounterD3D10Counter
 
typedef ID3D10DeviceD3D10Device
 
typedef ID3D10MultithreadD3D10Multithread
 
typedef ID3D10DebugD3D10Debug
 
typedef ID3D10SwitchToRefD3D10SwitchToRef
 
typedef ID3D10InfoQueueD3D10InfoQueue
 
typedef struct d3d10_vertex_t d3d10_vertex_t
 
typedef struct d3d10_shader_t d3d10_shader_t
 

Functions

static INLINE void D3D10SetResourceEvictionPriority (D3D10Resource resource, UINT eviction_priority)
 
static INLINE UINT D3D10GetResourceEvictionPriority (D3D10Resource resource)
 
static INLINE void D3D10SetBufferEvictionPriority (D3D10Buffer buffer, UINT eviction_priority)
 
static INLINE UINT D3D10GetBufferEvictionPriority (D3D10Buffer buffer)
 
static INLINE HRESULT D3D10MapBuffer (D3D10Buffer buffer, D3D10_MAP map_type, UINT map_flags, void **data)
 
static INLINE void D3D10UnmapBuffer (D3D10Buffer buffer)
 
static INLINE void D3D10SetTexture1DEvictionPriority (D3D10Texture1D texture1d, UINT eviction_priority)
 
static INLINE UINT D3D10GetTexture1DEvictionPriority (D3D10Texture1D texture1d)
 
static INLINE HRESULT D3D10MapTexture1D (D3D10Texture1D texture1d, UINT subresource, D3D10_MAP map_type, UINT map_flags, void **data)
 
static INLINE void D3D10UnmapTexture1D (D3D10Texture1D texture1d, UINT subresource)
 
static INLINE void D3D10SetTexture2DEvictionPriority (D3D10Texture2D texture2d, UINT eviction_priority)
 
static INLINE UINT D3D10GetTexture2DEvictionPriority (D3D10Texture2D texture2d)
 
static INLINE HRESULT D3D10MapTexture2D (D3D10Texture2D texture2d, UINT subresource, D3D10_MAP map_type, UINT map_flags, D3D10_MAPPED_TEXTURE2D *mapped_tex2d)
 
static INLINE void D3D10UnmapTexture2D (D3D10Texture2D texture2d, UINT subresource)
 
static INLINE void D3D10SetTexture3DEvictionPriority (D3D10Texture3D texture3d, UINT eviction_priority)
 
static INLINE UINT D3D10GetTexture3DEvictionPriority (D3D10Texture3D texture3d)
 
static INLINE HRESULT D3D10MapTexture3D (D3D10Texture3D texture3d, UINT subresource, D3D10_MAP map_type, UINT map_flags, D3D10_MAPPED_TEXTURE3D *mapped_tex3d)
 
static INLINE void D3D10UnmapTexture3D (D3D10Texture3D texture3d, UINT subresource)
 
static INLINE void D3D10GetViewResource (D3D10View view, D3D10Resource *resource)
 
static INLINE void D3D10GetShaderResourceViewResource (D3D10ShaderResourceView shader_resource_view, D3D10Resource *resource)
 
static INLINE void D3D10GetRenderTargetViewResource (D3D10RenderTargetView render_target_view, D3D10Resource *resource)
 
static INLINE void D3D10GetDepthStencilViewResource (D3D10DepthStencilView depth_stencil_view, D3D10Resource *resource)
 
static INLINE void D3D10BeginAsynchronous (D3D10Asynchronous asynchronous)
 
static INLINE void D3D10EndAsynchronous (D3D10Asynchronous asynchronous)
 
static INLINE HRESULT D3D10GetAsynchronousData (D3D10Asynchronous asynchronous, void *data, UINT data_size, UINT get_data_flags)
 
static INLINE UINT D3D10GetAsynchronousDataSize (D3D10Asynchronous asynchronous)
 
static INLINE void D3D10BeginQuery (D3D10Query query)
 
static INLINE void D3D10EndQuery (D3D10Query query)
 
static INLINE HRESULT D3D10GetQueryData (D3D10Query query, void *data, UINT data_size, UINT get_data_flags)
 
static INLINE UINT D3D10GetQueryDataSize (D3D10Query query)
 
static INLINE void D3D10BeginPredicate (D3D10Predicate predicate)
 
static INLINE void D3D10EndPredicate (D3D10Predicate predicate)
 
static INLINE HRESULT D3D10GetPredicateData (D3D10Predicate predicate, void *data, UINT data_size, UINT get_data_flags)
 
static INLINE UINT D3D10GetPredicateDataSize (D3D10Predicate predicate)
 
static INLINE void D3D10BeginCounter (D3D10Counter counter)
 
static INLINE void D3D10EndCounter (D3D10Counter counter)
 
static INLINE HRESULT D3D10GetCounterData (D3D10Counter counter, void *data, UINT data_size, UINT get_data_flags)
 
static INLINE UINT D3D10GetCounterDataSize (D3D10Counter counter)
 
static INLINE void D3D10SetVShaderConstantBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *const constant_buffers)
 
static INLINE void D3D10SetPShaderResources (D3D10Device device, UINT start_slot, UINT num_views, D3D10ShaderResourceView *const shader_resource_views)
 
static INLINE void D3D10SetPShader (D3D10Device device, D3D10PixelShader pixel_shader)
 
static INLINE void D3D10SetPShaderSamplers (D3D10Device device, UINT start_slot, UINT num_samplers, D3D10SamplerState *const samplers)
 
static INLINE void D3D10SetVShader (D3D10Device device, D3D10VertexShader vertex_shader)
 
static INLINE void D3D10DrawIndexed (D3D10Device device, UINT index_count, UINT start_index_location, INT base_vertex_location)
 
static INLINE void D3D10Draw (D3D10Device device, UINT vertex_count, UINT start_vertex_location)
 
static INLINE void D3D10SetPShaderConstantBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *const constant_buffers)
 
static INLINE void D3D10SetInputLayout (D3D10Device device, D3D10InputLayout input_layout)
 
static INLINE void D3D10SetVertexBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *const vertex_buffers, UINT *strides, UINT *offsets)
 
static INLINE void D3D10SetVertexBuffer (D3D10Device device_context, UINT slot, D3D10Buffer const vertex_buffer, UINT stride, UINT offset)
 
static INLINE void D3D10SetVShaderConstantBuffer (D3D10Device device_context, UINT slot, D3D10Buffer const constant_buffer)
 
static INLINE void D3D10SetPShaderConstantBuffer (D3D10Device device_context, UINT slot, D3D10Buffer const constant_buffer)
 
static INLINE void D3D10SetIndexBuffer (D3D10Device device, D3D10Buffer index_buffer, DXGI_FORMAT format, UINT offset)
 
static INLINE void D3D10DrawIndexedInstanced (D3D10Device device, UINT index_count_per_instance, UINT instance_count, UINT start_index_location, INT base_vertex_location, UINT start_instance_location)
 
static INLINE void D3D10DrawInstanced (D3D10Device device, UINT vertex_count_per_instance, UINT instance_count, UINT start_vertex_location, UINT start_instance_location)
 
static INLINE void D3D10SetGShaderConstantBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *const constant_buffers)
 
static INLINE void D3D10SetGShader (D3D10Device device, D3D10GeometryShader shader)
 
static INLINE void D3D10SetPrimitiveTopology (D3D10Device device, D3D10_PRIMITIVE_TOPOLOGY topology)
 
static INLINE void D3D10SetVShaderResources (D3D10Device device, UINT start_slot, UINT num_views, D3D10ShaderResourceView *const shader_resource_views)
 
static INLINE void D3D10SetVShaderSamplers (D3D10Device device, UINT start_slot, UINT num_samplers, D3D10SamplerState *const samplers)
 
static INLINE void D3D10SetPredication (D3D10Device device, D3D10Predicate predicate, BOOL predicate_value)
 
static INLINE void D3D10SetGShaderResources (D3D10Device device, UINT start_slot, UINT num_views, D3D10ShaderResourceView *const shader_resource_views)
 
static INLINE void D3D10SetGShaderSamplers (D3D10Device device, UINT start_slot, UINT num_samplers, D3D10SamplerState *const samplers)
 
static INLINE void D3D10SetRenderTargets (D3D10Device device, UINT num_views, D3D10RenderTargetView *const render_target_views, D3D10DepthStencilView depth_stencil_view)
 
static INLINE void D3D10SetBlendState (D3D10Device device, D3D10BlendState blend_state, FLOAT blend_factor[4], UINT sample_mask)
 
static INLINE void D3D10SetDepthStencilState (D3D10Device device, D3D10DepthStencilState depth_stencil_state, UINT stencil_ref)
 
static INLINE void D3D10SOSetTargets (D3D10Device device, UINT num_buffers, D3D10Buffer *const sotargets, UINT *offsets)
 
static INLINE void D3D10DrawAuto (D3D10Device device)
 
static INLINE void D3D10SetState (D3D10Device device, D3D10RasterizerState rasterizer_state)
 
static INLINE void D3D10SetViewports (D3D10Device device, UINT num_viewports, D3D10_VIEWPORT *viewports)
 
static INLINE void D3D10SetScissorRects (D3D10Device device, UINT num_rects, D3D10_RECT *rects)
 
static INLINE void D3D10CopySubresourceRegionDevice (D3D10Device device, D3D10Resource dst_resource, UINT dst_subresource, UINT dst_x, UINT dst_y, UINT dst_z, D3D10Resource src_resource, UINT src_subresource, D3D10_BOX *src_box)
 
static INLINE void D3D10CopyResource (D3D10Device device, D3D10Resource dst_resource, D3D10Resource src_resource)
 
static INLINE void D3D10UpdateSubresource (D3D10Device device, D3D10Resource dst_resource, UINT dst_subresource, D3D10_BOX *dst_box, void *src_data, UINT src_row_pitch, UINT src_depth_pitch)
 
static INLINE void D3D10ClearRenderTargetView (D3D10Device device, D3D10RenderTargetView render_target_view, FLOAT color_rgba[4])
 
static INLINE void D3D10ClearDepthStencilView (D3D10Device device, D3D10DepthStencilView depth_stencil_view, UINT clear_flags, FLOAT depth, UINT8 stencil)
 
static INLINE void D3D10GenerateMips (D3D10Device device, D3D10ShaderResourceView shader_resource_view)
 
static INLINE void D3D10ResolveSubresource (D3D10Device device, D3D10Resource dst_resource, UINT dst_subresource, D3D10Resource src_resource, UINT src_subresource, DXGI_FORMAT format)
 
static INLINE void D3D10GetVShaderConstantBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *constant_buffers)
 
static INLINE void D3D10GetPShaderResources (D3D10Device device, UINT start_slot, UINT num_views, D3D10ShaderResourceView *shader_resource_views)
 
static INLINE void D3D10GetPShader (D3D10Device device, D3D10PixelShader *pixel_shader)
 
static INLINE void D3D10GetPShaderSamplers (D3D10Device device, UINT start_slot, UINT num_samplers, D3D10SamplerState *samplers)
 
static INLINE void D3D10GetVShader (D3D10Device device, D3D10VertexShader *vertex_shader)
 
static INLINE void D3D10GetPShaderConstantBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *constant_buffers)
 
static INLINE void D3D10GetInputLayout (D3D10Device device, D3D10InputLayout *input_layout)
 
static INLINE void D3D10GetVertexBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *vertex_buffers, UINT *strides, UINT *offsets)
 
static INLINE void D3D10GetIndexBuffer (D3D10Device device, D3D10Buffer *index_buffer, DXGI_FORMAT *format, UINT *offset)
 
static INLINE void D3D10GetGShaderConstantBuffers (D3D10Device device, UINT start_slot, UINT num_buffers, D3D10Buffer *constant_buffers)
 
static INLINE void D3D10GetGShader (D3D10Device device, D3D10GeometryShader *geometry_shader)
 
static INLINE void D3D10GetPrimitiveTopology (D3D10Device device, D3D10_PRIMITIVE_TOPOLOGY *topology)
 
static INLINE void D3D10GetVShaderResources (D3D10Device device, UINT start_slot, UINT num_views, D3D10ShaderResourceView *shader_resource_views)
 
static INLINE void D3D10GetVShaderSamplers (D3D10Device device, UINT start_slot, UINT num_samplers, D3D10SamplerState *samplers)
 
static INLINE void D3D10GetPredication (D3D10Device device, D3D10Predicate *predicate, BOOL *predicate_value)
 
static INLINE void D3D10GetGShaderResources (D3D10Device device, UINT start_slot, UINT num_views, D3D10ShaderResourceView *shader_resource_views)
 
static INLINE void D3D10GetGShaderSamplers (D3D10Device device, UINT start_slot, UINT num_samplers, D3D10SamplerState *samplers)
 
static INLINE void D3D10GetRenderTargets (D3D10Device device, UINT num_views, D3D10RenderTargetView *render_target_views, D3D10DepthStencilView *depth_stencil_view)
 
static INLINE void D3D10GetBlendState (D3D10Device device, D3D10BlendState *blend_state, FLOAT blend_factor[4], UINT *sample_mask)
 
static INLINE void D3D10GetDepthStencilState (D3D10Device device, D3D10DepthStencilState *depth_stencil_state, UINT *stencil_ref)
 
static INLINE void D3D10SOGetTargets (D3D10Device device, UINT num_buffers, D3D10Buffer *sotargets, UINT *offsets)
 
static INLINE void D3D10GetState (D3D10Device device, D3D10RasterizerState *rasterizer_state)
 
static INLINE void D3D10GetViewports (D3D10Device device, UINT *num_viewports, D3D10_VIEWPORT *viewports)
 
static INLINE void D3D10GetScissorRects (D3D10Device device, UINT *num_rects, D3D10_RECT *rects)
 
static INLINE HRESULT D3D10GetDeviceRemovedReason (D3D10Device device)
 
static INLINE HRESULT D3D10SetExceptionMode (D3D10Device device, UINT raise_flags)
 
static INLINE UINT D3D10GetExceptionMode (D3D10Device device)
 
static INLINE void D3D10ClearState (D3D10Device device)
 
static INLINE void D3D10Flush (D3D10Device device)
 
static INLINE HRESULT D3D10CreateBuffer (D3D10Device device, D3D10_BUFFER_DESC *desc, D3D10_SUBRESOURCE_DATA *initial_data, D3D10Buffer *buffer)
 
static INLINE HRESULT D3D10CreateTexture1D (D3D10Device device, D3D10_TEXTURE1D_DESC *desc, D3D10_SUBRESOURCE_DATA *initial_data, D3D10Texture1D *texture1d)
 
static INLINE HRESULT D3D10CreateTexture2D (D3D10Device device, D3D10_TEXTURE2D_DESC *desc, D3D10_SUBRESOURCE_DATA *initial_data, D3D10Texture2D *texture2d)
 
static INLINE HRESULT D3D10CreateTexture3D (D3D10Device device, D3D10_TEXTURE3D_DESC *desc, D3D10_SUBRESOURCE_DATA *initial_data, D3D10Texture3D *texture3d)
 
static INLINE HRESULT D3D10CreateShaderResourceViewDevice (D3D10Device device, D3D10Resource resource, D3D10_SHADER_RESOURCE_VIEW_DESC *desc, D3D10ShaderResourceView *srview)
 
static INLINE HRESULT D3D10CreateRenderTargetViewDevice (D3D10Device device, D3D10Resource resource, D3D10_RENDER_TARGET_VIEW_DESC *desc, D3D10RenderTargetView *rtview)
 
static INLINE HRESULT D3D10CreateDepthStencilView (D3D10Device device, D3D10Resource resource, D3D10_DEPTH_STENCIL_VIEW_DESC *desc, D3D10DepthStencilView *depth_stencil_view)
 
static INLINE HRESULT D3D10CreateInputLayout (D3D10Device device, D3D10_INPUT_ELEMENT_DESC *input_element_descs, UINT num_elements, void *shader_bytecode_with_input_signature, SIZE_T bytecode_length, D3D10InputLayout *input_layout)
 
static INLINE HRESULT D3D10CreateVertexShader (D3D10Device device, void *shader_bytecode, SIZE_T bytecode_length, D3D10VertexShader *vertex_shader)
 
static INLINE HRESULT D3D10CreateGeometryShader (D3D10Device device, void *shader_bytecode, SIZE_T bytecode_length, D3D10GeometryShader *geometry_shader)
 
static INLINE HRESULT D3D10CreateGeometryShaderWithStreamOutput (D3D10Device device, void *shader_bytecode, SIZE_T bytecode_length, D3D10_SO_DECLARATION_ENTRY *sodeclaration, UINT num_entries, UINT output_stream_stride, D3D10GeometryShader *geometry_shader)
 
static INLINE HRESULT D3D10CreatePixelShader (D3D10Device device, void *shader_bytecode, SIZE_T bytecode_length, D3D10PixelShader *pixel_shader)
 
static INLINE HRESULT D3D10CreateBlendState (D3D10Device device, D3D10_BLEND_DESC *blend_state_desc, D3D10BlendState *blend_state)
 
static INLINE HRESULT D3D10CreateDepthStencilState (D3D10Device device, D3D10_DEPTH_STENCIL_DESC *depth_stencil_desc, D3D10DepthStencilState *depth_stencil_state)
 
static INLINE HRESULT D3D10CreateRasterizerState (D3D10Device device, D3D10_RASTERIZER_DESC *rasterizer_desc, D3D10RasterizerState *rasterizer_state)
 
static INLINE HRESULT D3D10CreateSamplerState (D3D10Device device, D3D10_SAMPLER_DESC *sampler_desc, D3D10SamplerState *sampler_state)
 
static INLINE HRESULT D3D10CreateQuery (D3D10Device device, D3D10_QUERY_DESC *query_desc, D3D10Query *query)
 
static INLINE HRESULT D3D10CreatePredicate (D3D10Device device, D3D10_QUERY_DESC *predicate_desc, D3D10Predicate *predicate)
 
static INLINE HRESULT D3D10CreateCounter (D3D10Device device, D3D10_COUNTER_DESC *counter_desc, D3D10Counter *counter)
 
static INLINE HRESULT D3D10CheckFormatSupport (D3D10Device device, DXGI_FORMAT format, UINT *format_support)
 
static INLINE HRESULT D3D10CheckMultisampleQualityLevels (D3D10Device device, DXGI_FORMAT format, UINT sample_count, UINT *num_quality_levels)
 
static INLINE void D3D10CheckCounterInfo (D3D10Device device, D3D10_COUNTER_INFO *counter_info)
 
static INLINE HRESULT D3D10CheckCounter (D3D10Device device, D3D10_COUNTER_DESC *desc, D3D10_COUNTER_TYPE *type, UINT *active_counters, LPSTR sz_name, UINT *name_length, LPSTR sz_units, UINT *units_length, LPSTR sz_description, UINT *description_length)
 
static INLINE UINT D3D10GetCreationFlags (D3D10Device device)
 
static INLINE HRESULT D3D10OpenSharedResource (D3D10Device device, HANDLE h_resource, ID3D10Resource **out)
 
static INLINE void D3D10SetTextFilterSize (D3D10Device device, UINT width, UINT height)
 
static INLINE void D3D10GetTextFilterSize (D3D10Device device, UINT *width, UINT *height)
 
static INLINE void D3D10Enter (D3D10Multithread multithread)
 
static INLINE void D3D10Leave (D3D10Multithread multithread)
 
static INLINE BOOL D3D10SetMultithreadProtected (D3D10Multithread multithread, BOOL mtprotect)
 
static INLINE BOOL D3D10GetMultithreadProtected (D3D10Multithread multithread)
 
static INLINE HRESULT D3D10SetDebugFeatureMask (D3D10Debug debug, UINT mask)
 
static INLINE UINT D3D10GetDebugFeatureMask (D3D10Debug debug)
 
static INLINE HRESULT D3D10SetPresentPerRenderOpDelay (D3D10Debug debug, UINT milliseconds)
 
static INLINE UINT D3D10GetPresentPerRenderOpDelay (D3D10Debug debug)
 
static INLINE HRESULT D3D10SetSwapChain (D3D10Debug debug, IDXGISwapChain *swap_chain)
 
static INLINE HRESULT D3D10GetSwapChain (D3D10Debug debug, IDXGISwapChain **swap_chain)
 
static INLINE HRESULT D3D10Validate (D3D10Debug debug)
 
static INLINE BOOL D3D10SetUseRef (D3D10SwitchToRef switch_to_ref, BOOL use_ref)
 
static INLINE BOOL D3D10GetUseRef (D3D10SwitchToRef switch_to_ref)
 
static INLINE HRESULT D3D10SetMessageCountLimit (D3D10InfoQueue info_queue, UINT64 message_count_limit)
 
static INLINE void D3D10ClearStoredMessages (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10GetMessageA (D3D10InfoQueue info_queue, UINT64 message_index, D3D10_MESSAGE *message, SIZE_T *message_byte_length)
 
static INLINE UINT64 D3D10GetNumMessagesAllowedByStorageFilter (D3D10InfoQueue info_queue)
 
static INLINE UINT64 D3D10GetNumMessagesDeniedByStorageFilter (D3D10InfoQueue info_queue)
 
static INLINE UINT64 D3D10GetNumStoredMessages (D3D10InfoQueue info_queue)
 
static INLINE UINT64 D3D10GetNumStoredMessagesAllowedByRetrievalFilter (D3D10InfoQueue info_queue)
 
static INLINE UINT64 D3D10GetNumMessagesDiscardedByMessageCountLimit (D3D10InfoQueue info_queue)
 
static INLINE UINT64 D3D10GetMessageCountLimit (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10AddStorageFilterEntries (D3D10InfoQueue info_queue, D3D10_INFO_QUEUE_FILTER *filter)
 
static INLINE HRESULT D3D10GetStorageFilter (D3D10InfoQueue info_queue, D3D10_INFO_QUEUE_FILTER *filter, SIZE_T *filter_byte_length)
 
static INLINE void D3D10ClearStorageFilter (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10PushEmptyStorageFilter (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10PushCopyOfStorageFilter (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10PushStorageFilter (D3D10InfoQueue info_queue, D3D10_INFO_QUEUE_FILTER *filter)
 
static INLINE void D3D10PopStorageFilter (D3D10InfoQueue info_queue)
 
static INLINE UINT D3D10GetStorageFilterStackSize (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10AddRetrievalFilterEntries (D3D10InfoQueue info_queue, D3D10_INFO_QUEUE_FILTER *filter)
 
static INLINE HRESULT D3D10GetRetrievalFilter (D3D10InfoQueue info_queue, D3D10_INFO_QUEUE_FILTER *filter, SIZE_T *filter_byte_length)
 
static INLINE void D3D10ClearRetrievalFilter (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10PushEmptyRetrievalFilter (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10PushCopyOfRetrievalFilter (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10PushRetrievalFilter (D3D10InfoQueue info_queue, D3D10_INFO_QUEUE_FILTER *filter)
 
static INLINE void D3D10PopRetrievalFilter (D3D10InfoQueue info_queue)
 
static INLINE UINT D3D10GetRetrievalFilterStackSize (D3D10InfoQueue info_queue)
 
static INLINE HRESULT D3D10AddMessage (D3D10InfoQueue info_queue, D3D10_MESSAGE_CATEGORY category, D3D10_MESSAGE_SEVERITY severity, D3D10_MESSAGE_ID id, LPCSTR description)
 
static INLINE HRESULT D3D10AddApplicationMessage (D3D10InfoQueue info_queue, D3D10_MESSAGE_SEVERITY severity, LPCSTR description)
 
static INLINE HRESULT D3D10SetBreakOnCategory (D3D10InfoQueue info_queue, D3D10_MESSAGE_CATEGORY category, BOOL enable)
 
static INLINE HRESULT D3D10SetBreakOnSeverity (D3D10InfoQueue info_queue, D3D10_MESSAGE_SEVERITY severity, BOOL enable)
 
static INLINE HRESULT D3D10SetBreakOnID (D3D10InfoQueue info_queue, D3D10_MESSAGE_ID id, BOOL enable)
 
static INLINE BOOL D3D10GetBreakOnCategory (D3D10InfoQueue info_queue, D3D10_MESSAGE_CATEGORY category)
 
static INLINE BOOL D3D10GetBreakOnSeverity (D3D10InfoQueue info_queue, D3D10_MESSAGE_SEVERITY severity)
 
static INLINE BOOL D3D10GetBreakOnID (D3D10InfoQueue info_queue, D3D10_MESSAGE_ID id)
 
static INLINE void D3D10SetMuteDebugOutput (D3D10InfoQueue info_queue, BOOL mute)
 
static INLINE BOOL D3D10GetMuteDebugOutput (D3D10InfoQueue info_queue)
 
static INLINE HRESULT DXGIGetSwapChainBufferD3D10 (DXGISwapChain swap_chain, UINT buffer, D3D10Texture2D *out)
 
static INLINE void D3D10CopyTexture2DSubresourceRegion (D3D10Device device, D3D10Texture2D dst_texture, UINT dst_subresource, UINT dst_x, UINT dst_y, UINT dst_z, D3D10Texture2D src_texture, UINT src_subresource, D3D10_BOX *src_box)
 
static INLINE HRESULT D3D10CreateTexture2DRenderTargetView (D3D10Device device, D3D10Texture2D texture, D3D10_RENDER_TARGET_VIEW_DESC *desc, D3D10RenderTargetView *rtview)
 
static INLINE HRESULT D3D10CreateTexture2DShaderResourceView (D3D10Device device, D3D10Texture2D texture, D3D10_SHADER_RESOURCE_VIEW_DESC *desc, D3D10ShaderResourceView *srview)
 
struct ALIGN (16)
 
void d3d10_init_texture (D3D10Device device, d3d10_texture_t *texture)
 
static INLINE void d3d10_release_texture (d3d10_texture_t *texture)
 
void d3d10_update_texture (D3D10Device ctx, int width, int height, int pitch, DXGI_FORMAT format, const void *data, d3d10_texture_t *texture)
 
DXGI_FORMAT d3d10_get_closest_match (D3D10Device device, DXGI_FORMAT desired_format, UINT desired_format_support)
 
bool d3d10_init_shader (D3D10Device device, const char *src, size_t size, const void *src_name, LPCSTR vs_entry, LPCSTR ps_entry, LPCSTR gs_entry, const D3D10_INPUT_ELEMENT_DESC *input_element_descs, UINT num_elements, d3d10_shader_t *out)
 
static INLINE void d3d10_release_shader (d3d10_shader_t *shader)
 
static INLINE DXGI_FORMAT d3d10_get_closest_match_texture2D (D3D10Device device, DXGI_FORMAT desired_format)
 
static INLINE void d3d10_set_shader (D3D10Device ctx, d3d10_shader_t *shader)
 
static INLINE void d3d10_set_texture_and_sampler (D3D10Device ctx, UINT slot, d3d10_texture_t *texture)
 

Variables

 d3d10_uniform_t
 

Macro Definition Documentation

◆ ALIGN

#define ALIGN (   x)    __attribute__((aligned(x)))

Typedef Documentation

◆ d3d10_shader_t

◆ d3d10_vertex_t

◆ D3D10Asynchronous

◆ D3D10BlendState

◆ D3D10Buffer

◆ D3D10Counter

◆ D3D10Debug

◆ D3D10DepthStencilState

◆ D3D10DepthStencilView

◆ D3D10Device

◆ D3D10GeometryShader

◆ D3D10InfoQueue

◆ D3D10InputLayout

◆ D3D10Multithread

◆ D3D10PixelShader

◆ D3D10Predicate

◆ D3D10Query

◆ D3D10RasterizerState

◆ D3D10RenderTargetView

◆ D3D10Resource

◆ D3D10SamplerState

◆ D3D10SamplerStateRef

◆ D3D10ShaderResourceView

◆ D3D10SwitchToRef

◆ D3D10Texture1D

◆ D3D10Texture2D

◆ D3D10Texture3D

◆ D3D10VertexShader

◆ D3D10View

◆ D3DDestructionNotifier

Function Documentation

◆ ALIGN()

struct ALIGN ( 16  )
Here is the call graph for this function:

◆ d3d10_get_closest_match()

DXGI_FORMAT d3d10_get_closest_match ( D3D10Device  device,
DXGI_FORMAT  desired_format,
UINT  desired_format_support 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_get_closest_match_texture2D()

static INLINE DXGI_FORMAT d3d10_get_closest_match_texture2D ( D3D10Device  device,
DXGI_FORMAT  desired_format 
)
static
Here is the call graph for this function:

◆ d3d10_init_shader()

bool d3d10_init_shader ( D3D10Device  device,
const char *  src,
size_t  size,
const void src_name,
LPCSTR  vs_entry,
LPCSTR  ps_entry,
LPCSTR  gs_entry,
const D3D10_INPUT_ELEMENT_DESC input_element_descs,
UINT  num_elements,
d3d10_shader_t out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_init_texture()

void d3d10_init_texture ( D3D10Device  device,
d3d10_texture_t texture 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_release_shader()

static INLINE void d3d10_release_shader ( d3d10_shader_t shader)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_release_texture()

static INLINE void d3d10_release_texture ( d3d10_texture_t texture)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_set_shader()

static INLINE void d3d10_set_shader ( D3D10Device  ctx,
d3d10_shader_t shader 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_set_texture_and_sampler()

static INLINE void d3d10_set_texture_and_sampler ( D3D10Device  ctx,
UINT  slot,
d3d10_texture_t texture 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_update_texture()

void d3d10_update_texture ( D3D10Device  ctx,
int  width,
int  height,
int  pitch,
DXGI_FORMAT  format,
const void data,
d3d10_texture_t texture 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D10AddApplicationMessage()

static INLINE HRESULT D3D10AddApplicationMessage ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_SEVERITY  severity,
LPCSTR  description 
)
static

◆ D3D10AddMessage()

static INLINE HRESULT D3D10AddMessage ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_CATEGORY  category,
D3D10_MESSAGE_SEVERITY  severity,
D3D10_MESSAGE_ID  id,
LPCSTR  description 
)
static

◆ D3D10AddRetrievalFilterEntries()

static INLINE HRESULT D3D10AddRetrievalFilterEntries ( D3D10InfoQueue  info_queue,
D3D10_INFO_QUEUE_FILTER filter 
)
static

◆ D3D10AddStorageFilterEntries()

static INLINE HRESULT D3D10AddStorageFilterEntries ( D3D10InfoQueue  info_queue,
D3D10_INFO_QUEUE_FILTER filter 
)
static

◆ D3D10BeginAsynchronous()

static INLINE void D3D10BeginAsynchronous ( D3D10Asynchronous  asynchronous)
static

◆ D3D10BeginCounter()

static INLINE void D3D10BeginCounter ( D3D10Counter  counter)
static

◆ D3D10BeginPredicate()

static INLINE void D3D10BeginPredicate ( D3D10Predicate  predicate)
static

◆ D3D10BeginQuery()

static INLINE void D3D10BeginQuery ( D3D10Query  query)
static

◆ D3D10CheckCounter()

static INLINE HRESULT D3D10CheckCounter ( D3D10Device  device,
D3D10_COUNTER_DESC desc,
D3D10_COUNTER_TYPE type,
UINT active_counters,
LPSTR  sz_name,
UINT name_length,
LPSTR  sz_units,
UINT units_length,
LPSTR  sz_description,
UINT description_length 
)
static

◆ D3D10CheckCounterInfo()

static INLINE void D3D10CheckCounterInfo ( D3D10Device  device,
D3D10_COUNTER_INFO counter_info 
)
static

◆ D3D10CheckFormatSupport()

static INLINE HRESULT D3D10CheckFormatSupport ( D3D10Device  device,
DXGI_FORMAT  format,
UINT format_support 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D10CheckMultisampleQualityLevels()

static INLINE HRESULT D3D10CheckMultisampleQualityLevels ( D3D10Device  device,
DXGI_FORMAT  format,
UINT  sample_count,
UINT num_quality_levels 
)
static

◆ D3D10ClearDepthStencilView()

static INLINE void D3D10ClearDepthStencilView ( D3D10Device  device,
D3D10DepthStencilView  depth_stencil_view,
UINT  clear_flags,
FLOAT  depth,
UINT8  stencil 
)
static

◆ D3D10ClearRenderTargetView()

static INLINE void D3D10ClearRenderTargetView ( D3D10Device  device,
D3D10RenderTargetView  render_target_view,
FLOAT  color_rgba[4] 
)
static
Here is the caller graph for this function:

◆ D3D10ClearRetrievalFilter()

static INLINE void D3D10ClearRetrievalFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10ClearState()

static INLINE void D3D10ClearState ( D3D10Device  device)
static

◆ D3D10ClearStorageFilter()

static INLINE void D3D10ClearStorageFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10ClearStoredMessages()

static INLINE void D3D10ClearStoredMessages ( D3D10InfoQueue  info_queue)
static

◆ D3D10CopyResource()

static INLINE void D3D10CopyResource ( D3D10Device  device,
D3D10Resource  dst_resource,
D3D10Resource  src_resource 
)
static

◆ D3D10CopySubresourceRegionDevice()

static INLINE void D3D10CopySubresourceRegionDevice ( D3D10Device  device,
D3D10Resource  dst_resource,
UINT  dst_subresource,
UINT  dst_x,
UINT  dst_y,
UINT  dst_z,
D3D10Resource  src_resource,
UINT  src_subresource,
D3D10_BOX src_box 
)
static

◆ D3D10CopyTexture2DSubresourceRegion()

static INLINE void D3D10CopyTexture2DSubresourceRegion ( D3D10Device  device,
D3D10Texture2D  dst_texture,
UINT  dst_subresource,
UINT  dst_x,
UINT  dst_y,
UINT  dst_z,
D3D10Texture2D  src_texture,
UINT  src_subresource,
D3D10_BOX src_box 
)
static
Here is the caller graph for this function:

◆ D3D10CreateBlendState()

static INLINE HRESULT D3D10CreateBlendState ( D3D10Device  device,
D3D10_BLEND_DESC blend_state_desc,
D3D10BlendState blend_state 
)
static
Here is the caller graph for this function:

◆ D3D10CreateBuffer()

static INLINE HRESULT D3D10CreateBuffer ( D3D10Device  device,
D3D10_BUFFER_DESC desc,
D3D10_SUBRESOURCE_DATA initial_data,
D3D10Buffer buffer 
)
static
Here is the caller graph for this function:

◆ D3D10CreateCounter()

static INLINE HRESULT D3D10CreateCounter ( D3D10Device  device,
D3D10_COUNTER_DESC counter_desc,
D3D10Counter counter 
)
static

◆ D3D10CreateDepthStencilState()

static INLINE HRESULT D3D10CreateDepthStencilState ( D3D10Device  device,
D3D10_DEPTH_STENCIL_DESC depth_stencil_desc,
D3D10DepthStencilState depth_stencil_state 
)
static

◆ D3D10CreateDepthStencilView()

static INLINE HRESULT D3D10CreateDepthStencilView ( D3D10Device  device,
D3D10Resource  resource,
D3D10_DEPTH_STENCIL_VIEW_DESC desc,
D3D10DepthStencilView depth_stencil_view 
)
static

◆ D3D10CreateGeometryShader()

static INLINE HRESULT D3D10CreateGeometryShader ( D3D10Device  device,
void shader_bytecode,
SIZE_T  bytecode_length,
D3D10GeometryShader geometry_shader 
)
static
Here is the caller graph for this function:

◆ D3D10CreateGeometryShaderWithStreamOutput()

static INLINE HRESULT D3D10CreateGeometryShaderWithStreamOutput ( D3D10Device  device,
void shader_bytecode,
SIZE_T  bytecode_length,
D3D10_SO_DECLARATION_ENTRY sodeclaration,
UINT  num_entries,
UINT  output_stream_stride,
D3D10GeometryShader geometry_shader 
)
static

◆ D3D10CreateInputLayout()

static INLINE HRESULT D3D10CreateInputLayout ( D3D10Device  device,
D3D10_INPUT_ELEMENT_DESC input_element_descs,
UINT  num_elements,
void shader_bytecode_with_input_signature,
SIZE_T  bytecode_length,
D3D10InputLayout input_layout 
)
static
Here is the caller graph for this function:

◆ D3D10CreatePixelShader()

static INLINE HRESULT D3D10CreatePixelShader ( D3D10Device  device,
void shader_bytecode,
SIZE_T  bytecode_length,
D3D10PixelShader pixel_shader 
)
static
Here is the caller graph for this function:

◆ D3D10CreatePredicate()

static INLINE HRESULT D3D10CreatePredicate ( D3D10Device  device,
D3D10_QUERY_DESC predicate_desc,
D3D10Predicate predicate 
)
static

◆ D3D10CreateQuery()

static INLINE HRESULT D3D10CreateQuery ( D3D10Device  device,
D3D10_QUERY_DESC query_desc,
D3D10Query query 
)
static

◆ D3D10CreateRasterizerState()

static INLINE HRESULT D3D10CreateRasterizerState ( D3D10Device  device,
D3D10_RASTERIZER_DESC rasterizer_desc,
D3D10RasterizerState rasterizer_state 
)
static
Here is the caller graph for this function:

◆ D3D10CreateRenderTargetViewDevice()

static INLINE HRESULT D3D10CreateRenderTargetViewDevice ( D3D10Device  device,
D3D10Resource  resource,
D3D10_RENDER_TARGET_VIEW_DESC desc,
D3D10RenderTargetView rtview 
)
static

◆ D3D10CreateSamplerState()

static INLINE HRESULT D3D10CreateSamplerState ( D3D10Device  device,
D3D10_SAMPLER_DESC sampler_desc,
D3D10SamplerState sampler_state 
)
static
Here is the caller graph for this function:

◆ D3D10CreateShaderResourceViewDevice()

static INLINE HRESULT D3D10CreateShaderResourceViewDevice ( D3D10Device  device,
D3D10Resource  resource,
D3D10_SHADER_RESOURCE_VIEW_DESC desc,
D3D10ShaderResourceView srview 
)
static

◆ D3D10CreateTexture1D()

static INLINE HRESULT D3D10CreateTexture1D ( D3D10Device  device,
D3D10_TEXTURE1D_DESC desc,
D3D10_SUBRESOURCE_DATA initial_data,
D3D10Texture1D texture1d 
)
static

◆ D3D10CreateTexture2D()

static INLINE HRESULT D3D10CreateTexture2D ( D3D10Device  device,
D3D10_TEXTURE2D_DESC desc,
D3D10_SUBRESOURCE_DATA initial_data,
D3D10Texture2D texture2d 
)
static
Here is the caller graph for this function:

◆ D3D10CreateTexture2DRenderTargetView()

static INLINE HRESULT D3D10CreateTexture2DRenderTargetView ( D3D10Device  device,
D3D10Texture2D  texture,
D3D10_RENDER_TARGET_VIEW_DESC desc,
D3D10RenderTargetView rtview 
)
static
Here is the caller graph for this function:

◆ D3D10CreateTexture2DShaderResourceView()

static INLINE HRESULT D3D10CreateTexture2DShaderResourceView ( D3D10Device  device,
D3D10Texture2D  texture,
D3D10_SHADER_RESOURCE_VIEW_DESC desc,
D3D10ShaderResourceView srview 
)
static
Here is the caller graph for this function:

◆ D3D10CreateTexture3D()

static INLINE HRESULT D3D10CreateTexture3D ( D3D10Device  device,
D3D10_TEXTURE3D_DESC desc,
D3D10_SUBRESOURCE_DATA initial_data,
D3D10Texture3D texture3d 
)
static

◆ D3D10CreateVertexShader()

static INLINE HRESULT D3D10CreateVertexShader ( D3D10Device  device,
void shader_bytecode,
SIZE_T  bytecode_length,
D3D10VertexShader vertex_shader 
)
static
Here is the caller graph for this function:

◆ D3D10Draw()

static INLINE void D3D10Draw ( D3D10Device  device,
UINT  vertex_count,
UINT  start_vertex_location 
)
static
Here is the caller graph for this function:

◆ D3D10DrawAuto()

static INLINE void D3D10DrawAuto ( D3D10Device  device)
static

◆ D3D10DrawIndexed()

static INLINE void D3D10DrawIndexed ( D3D10Device  device,
UINT  index_count,
UINT  start_index_location,
INT  base_vertex_location 
)
static

◆ D3D10DrawIndexedInstanced()

static INLINE void D3D10DrawIndexedInstanced ( D3D10Device  device,
UINT  index_count_per_instance,
UINT  instance_count,
UINT  start_index_location,
INT  base_vertex_location,
UINT  start_instance_location 
)
static

◆ D3D10DrawInstanced()

static INLINE void D3D10DrawInstanced ( D3D10Device  device,
UINT  vertex_count_per_instance,
UINT  instance_count,
UINT  start_vertex_location,
UINT  start_instance_location 
)
static

◆ D3D10EndAsynchronous()

static INLINE void D3D10EndAsynchronous ( D3D10Asynchronous  asynchronous)
static

◆ D3D10EndCounter()

static INLINE void D3D10EndCounter ( D3D10Counter  counter)
static

◆ D3D10EndPredicate()

static INLINE void D3D10EndPredicate ( D3D10Predicate  predicate)
static

◆ D3D10EndQuery()

static INLINE void D3D10EndQuery ( D3D10Query  query)
static

◆ D3D10Enter()

static INLINE void D3D10Enter ( D3D10Multithread  multithread)
static

◆ D3D10Flush()

static INLINE void D3D10Flush ( D3D10Device  device)
static
Here is the caller graph for this function:

◆ D3D10GenerateMips()

static INLINE void D3D10GenerateMips ( D3D10Device  device,
D3D10ShaderResourceView  shader_resource_view 
)
static
Here is the caller graph for this function:

◆ D3D10GetAsynchronousData()

static INLINE HRESULT D3D10GetAsynchronousData ( D3D10Asynchronous  asynchronous,
void data,
UINT  data_size,
UINT  get_data_flags 
)
static

◆ D3D10GetAsynchronousDataSize()

static INLINE UINT D3D10GetAsynchronousDataSize ( D3D10Asynchronous  asynchronous)
static

◆ D3D10GetBlendState()

static INLINE void D3D10GetBlendState ( D3D10Device  device,
D3D10BlendState blend_state,
FLOAT  blend_factor[4],
UINT sample_mask 
)
static

◆ D3D10GetBreakOnCategory()

static INLINE BOOL D3D10GetBreakOnCategory ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_CATEGORY  category 
)
static

◆ D3D10GetBreakOnID()

static INLINE BOOL D3D10GetBreakOnID ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_ID  id 
)
static

◆ D3D10GetBreakOnSeverity()

static INLINE BOOL D3D10GetBreakOnSeverity ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_SEVERITY  severity 
)
static

◆ D3D10GetBufferEvictionPriority()

static INLINE UINT D3D10GetBufferEvictionPriority ( D3D10Buffer  buffer)
static

◆ D3D10GetCounterData()

static INLINE HRESULT D3D10GetCounterData ( D3D10Counter  counter,
void data,
UINT  data_size,
UINT  get_data_flags 
)
static

◆ D3D10GetCounterDataSize()

static INLINE UINT D3D10GetCounterDataSize ( D3D10Counter  counter)
static

◆ D3D10GetCreationFlags()

static INLINE UINT D3D10GetCreationFlags ( D3D10Device  device)
static

◆ D3D10GetDebugFeatureMask()

static INLINE UINT D3D10GetDebugFeatureMask ( D3D10Debug  debug)
static

◆ D3D10GetDepthStencilState()

static INLINE void D3D10GetDepthStencilState ( D3D10Device  device,
D3D10DepthStencilState depth_stencil_state,
UINT stencil_ref 
)
static

◆ D3D10GetDepthStencilViewResource()

static INLINE void D3D10GetDepthStencilViewResource ( D3D10DepthStencilView  depth_stencil_view,
D3D10Resource resource 
)
static

◆ D3D10GetDeviceRemovedReason()

static INLINE HRESULT D3D10GetDeviceRemovedReason ( D3D10Device  device)
static

◆ D3D10GetExceptionMode()

static INLINE UINT D3D10GetExceptionMode ( D3D10Device  device)
static

◆ D3D10GetGShader()

static INLINE void D3D10GetGShader ( D3D10Device  device,
D3D10GeometryShader geometry_shader 
)
static

◆ D3D10GetGShaderConstantBuffers()

static INLINE void D3D10GetGShaderConstantBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer constant_buffers 
)
static

◆ D3D10GetGShaderResources()

static INLINE void D3D10GetGShaderResources ( D3D10Device  device,
UINT  start_slot,
UINT  num_views,
D3D10ShaderResourceView shader_resource_views 
)
static

◆ D3D10GetGShaderSamplers()

static INLINE void D3D10GetGShaderSamplers ( D3D10Device  device,
UINT  start_slot,
UINT  num_samplers,
D3D10SamplerState samplers 
)
static

◆ D3D10GetIndexBuffer()

static INLINE void D3D10GetIndexBuffer ( D3D10Device  device,
D3D10Buffer index_buffer,
DXGI_FORMAT format,
UINT offset 
)
static

◆ D3D10GetInputLayout()

static INLINE void D3D10GetInputLayout ( D3D10Device  device,
D3D10InputLayout input_layout 
)
static

◆ D3D10GetMessageA()

static INLINE HRESULT D3D10GetMessageA ( D3D10InfoQueue  info_queue,
UINT64  message_index,
D3D10_MESSAGE message,
SIZE_T *  message_byte_length 
)
static

◆ D3D10GetMessageCountLimit()

static INLINE UINT64 D3D10GetMessageCountLimit ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetMultithreadProtected()

static INLINE BOOL D3D10GetMultithreadProtected ( D3D10Multithread  multithread)
static

◆ D3D10GetMuteDebugOutput()

static INLINE BOOL D3D10GetMuteDebugOutput ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetNumMessagesAllowedByStorageFilter()

static INLINE UINT64 D3D10GetNumMessagesAllowedByStorageFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetNumMessagesDeniedByStorageFilter()

static INLINE UINT64 D3D10GetNumMessagesDeniedByStorageFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetNumMessagesDiscardedByMessageCountLimit()

static INLINE UINT64 D3D10GetNumMessagesDiscardedByMessageCountLimit ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetNumStoredMessages()

static INLINE UINT64 D3D10GetNumStoredMessages ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetNumStoredMessagesAllowedByRetrievalFilter()

static INLINE UINT64 D3D10GetNumStoredMessagesAllowedByRetrievalFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetPredicateData()

static INLINE HRESULT D3D10GetPredicateData ( D3D10Predicate  predicate,
void data,
UINT  data_size,
UINT  get_data_flags 
)
static

◆ D3D10GetPredicateDataSize()

static INLINE UINT D3D10GetPredicateDataSize ( D3D10Predicate  predicate)
static

◆ D3D10GetPredication()

static INLINE void D3D10GetPredication ( D3D10Device  device,
D3D10Predicate predicate,
BOOL predicate_value 
)
static

◆ D3D10GetPresentPerRenderOpDelay()

static INLINE UINT D3D10GetPresentPerRenderOpDelay ( D3D10Debug  debug)
static

◆ D3D10GetPrimitiveTopology()

static INLINE void D3D10GetPrimitiveTopology ( D3D10Device  device,
D3D10_PRIMITIVE_TOPOLOGY topology 
)
static

◆ D3D10GetPShader()

static INLINE void D3D10GetPShader ( D3D10Device  device,
D3D10PixelShader pixel_shader 
)
static

◆ D3D10GetPShaderConstantBuffers()

static INLINE void D3D10GetPShaderConstantBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer constant_buffers 
)
static

◆ D3D10GetPShaderResources()

static INLINE void D3D10GetPShaderResources ( D3D10Device  device,
UINT  start_slot,
UINT  num_views,
D3D10ShaderResourceView shader_resource_views 
)
static

◆ D3D10GetPShaderSamplers()

static INLINE void D3D10GetPShaderSamplers ( D3D10Device  device,
UINT  start_slot,
UINT  num_samplers,
D3D10SamplerState samplers 
)
static

◆ D3D10GetQueryData()

static INLINE HRESULT D3D10GetQueryData ( D3D10Query  query,
void data,
UINT  data_size,
UINT  get_data_flags 
)
static

◆ D3D10GetQueryDataSize()

static INLINE UINT D3D10GetQueryDataSize ( D3D10Query  query)
static

◆ D3D10GetRenderTargets()

static INLINE void D3D10GetRenderTargets ( D3D10Device  device,
UINT  num_views,
D3D10RenderTargetView render_target_views,
D3D10DepthStencilView depth_stencil_view 
)
static

◆ D3D10GetRenderTargetViewResource()

static INLINE void D3D10GetRenderTargetViewResource ( D3D10RenderTargetView  render_target_view,
D3D10Resource resource 
)
static

◆ D3D10GetResourceEvictionPriority()

static INLINE UINT D3D10GetResourceEvictionPriority ( D3D10Resource  resource)
static

◆ D3D10GetRetrievalFilter()

static INLINE HRESULT D3D10GetRetrievalFilter ( D3D10InfoQueue  info_queue,
D3D10_INFO_QUEUE_FILTER filter,
SIZE_T *  filter_byte_length 
)
static

◆ D3D10GetRetrievalFilterStackSize()

static INLINE UINT D3D10GetRetrievalFilterStackSize ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetScissorRects()

static INLINE void D3D10GetScissorRects ( D3D10Device  device,
UINT num_rects,
D3D10_RECT rects 
)
static

◆ D3D10GetShaderResourceViewResource()

static INLINE void D3D10GetShaderResourceViewResource ( D3D10ShaderResourceView  shader_resource_view,
D3D10Resource resource 
)
static

◆ D3D10GetState()

static INLINE void D3D10GetState ( D3D10Device  device,
D3D10RasterizerState rasterizer_state 
)
static

◆ D3D10GetStorageFilter()

static INLINE HRESULT D3D10GetStorageFilter ( D3D10InfoQueue  info_queue,
D3D10_INFO_QUEUE_FILTER filter,
SIZE_T *  filter_byte_length 
)
static

◆ D3D10GetStorageFilterStackSize()

static INLINE UINT D3D10GetStorageFilterStackSize ( D3D10InfoQueue  info_queue)
static

◆ D3D10GetSwapChain()

static INLINE HRESULT D3D10GetSwapChain ( D3D10Debug  debug,
IDXGISwapChain **  swap_chain 
)
static

◆ D3D10GetTextFilterSize()

static INLINE void D3D10GetTextFilterSize ( D3D10Device  device,
UINT width,
UINT height 
)
static

◆ D3D10GetTexture1DEvictionPriority()

static INLINE UINT D3D10GetTexture1DEvictionPriority ( D3D10Texture1D  texture1d)
static

◆ D3D10GetTexture2DEvictionPriority()

static INLINE UINT D3D10GetTexture2DEvictionPriority ( D3D10Texture2D  texture2d)
static

◆ D3D10GetTexture3DEvictionPriority()

static INLINE UINT D3D10GetTexture3DEvictionPriority ( D3D10Texture3D  texture3d)
static

◆ D3D10GetUseRef()

static INLINE BOOL D3D10GetUseRef ( D3D10SwitchToRef  switch_to_ref)
static

◆ D3D10GetVertexBuffers()

static INLINE void D3D10GetVertexBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer vertex_buffers,
UINT strides,
UINT offsets 
)
static

◆ D3D10GetViewports()

static INLINE void D3D10GetViewports ( D3D10Device  device,
UINT num_viewports,
D3D10_VIEWPORT viewports 
)
static

◆ D3D10GetViewResource()

static INLINE void D3D10GetViewResource ( D3D10View  view,
D3D10Resource resource 
)
static

◆ D3D10GetVShader()

static INLINE void D3D10GetVShader ( D3D10Device  device,
D3D10VertexShader vertex_shader 
)
static

◆ D3D10GetVShaderConstantBuffers()

static INLINE void D3D10GetVShaderConstantBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer constant_buffers 
)
static

◆ D3D10GetVShaderResources()

static INLINE void D3D10GetVShaderResources ( D3D10Device  device,
UINT  start_slot,
UINT  num_views,
D3D10ShaderResourceView shader_resource_views 
)
static

◆ D3D10GetVShaderSamplers()

static INLINE void D3D10GetVShaderSamplers ( D3D10Device  device,
UINT  start_slot,
UINT  num_samplers,
D3D10SamplerState samplers 
)
static

◆ D3D10Leave()

static INLINE void D3D10Leave ( D3D10Multithread  multithread)
static

◆ D3D10MapBuffer()

static INLINE HRESULT D3D10MapBuffer ( D3D10Buffer  buffer,
D3D10_MAP  map_type,
UINT  map_flags,
void **  data 
)
static
Here is the caller graph for this function:

◆ D3D10MapTexture1D()

static INLINE HRESULT D3D10MapTexture1D ( D3D10Texture1D  texture1d,
UINT  subresource,
D3D10_MAP  map_type,
UINT  map_flags,
void **  data 
)
static

◆ D3D10MapTexture2D()

static INLINE HRESULT D3D10MapTexture2D ( D3D10Texture2D  texture2d,
UINT  subresource,
D3D10_MAP  map_type,
UINT  map_flags,
D3D10_MAPPED_TEXTURE2D mapped_tex2d 
)
static
Here is the caller graph for this function:

◆ D3D10MapTexture3D()

static INLINE HRESULT D3D10MapTexture3D ( D3D10Texture3D  texture3d,
UINT  subresource,
D3D10_MAP  map_type,
UINT  map_flags,
D3D10_MAPPED_TEXTURE3D mapped_tex3d 
)
static

◆ D3D10OpenSharedResource()

static INLINE HRESULT D3D10OpenSharedResource ( D3D10Device  device,
HANDLE  h_resource,
ID3D10Resource **  out 
)
static

◆ D3D10PopRetrievalFilter()

static INLINE void D3D10PopRetrievalFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10PopStorageFilter()

static INLINE void D3D10PopStorageFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10PushCopyOfRetrievalFilter()

static INLINE HRESULT D3D10PushCopyOfRetrievalFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10PushCopyOfStorageFilter()

static INLINE HRESULT D3D10PushCopyOfStorageFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10PushEmptyRetrievalFilter()

static INLINE HRESULT D3D10PushEmptyRetrievalFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10PushEmptyStorageFilter()

static INLINE HRESULT D3D10PushEmptyStorageFilter ( D3D10InfoQueue  info_queue)
static

◆ D3D10PushRetrievalFilter()

static INLINE HRESULT D3D10PushRetrievalFilter ( D3D10InfoQueue  info_queue,
D3D10_INFO_QUEUE_FILTER filter 
)
static

◆ D3D10PushStorageFilter()

static INLINE HRESULT D3D10PushStorageFilter ( D3D10InfoQueue  info_queue,
D3D10_INFO_QUEUE_FILTER filter 
)
static

◆ D3D10ResolveSubresource()

static INLINE void D3D10ResolveSubresource ( D3D10Device  device,
D3D10Resource  dst_resource,
UINT  dst_subresource,
D3D10Resource  src_resource,
UINT  src_subresource,
DXGI_FORMAT  format 
)
static

◆ D3D10SetBlendState()

static INLINE void D3D10SetBlendState ( D3D10Device  device,
D3D10BlendState  blend_state,
FLOAT  blend_factor[4],
UINT  sample_mask 
)
static
Here is the caller graph for this function:

◆ D3D10SetBreakOnCategory()

static INLINE HRESULT D3D10SetBreakOnCategory ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_CATEGORY  category,
BOOL  enable 
)
static

◆ D3D10SetBreakOnID()

static INLINE HRESULT D3D10SetBreakOnID ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_ID  id,
BOOL  enable 
)
static

◆ D3D10SetBreakOnSeverity()

static INLINE HRESULT D3D10SetBreakOnSeverity ( D3D10InfoQueue  info_queue,
D3D10_MESSAGE_SEVERITY  severity,
BOOL  enable 
)
static

◆ D3D10SetBufferEvictionPriority()

static INLINE void D3D10SetBufferEvictionPriority ( D3D10Buffer  buffer,
UINT  eviction_priority 
)
static

◆ D3D10SetDebugFeatureMask()

static INLINE HRESULT D3D10SetDebugFeatureMask ( D3D10Debug  debug,
UINT  mask 
)
static

◆ D3D10SetDepthStencilState()

static INLINE void D3D10SetDepthStencilState ( D3D10Device  device,
D3D10DepthStencilState  depth_stencil_state,
UINT  stencil_ref 
)
static

◆ D3D10SetExceptionMode()

static INLINE HRESULT D3D10SetExceptionMode ( D3D10Device  device,
UINT  raise_flags 
)
static

◆ D3D10SetGShader()

static INLINE void D3D10SetGShader ( D3D10Device  device,
D3D10GeometryShader  shader 
)
static
Here is the caller graph for this function:

◆ D3D10SetGShaderConstantBuffers()

static INLINE void D3D10SetGShaderConstantBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer *const  constant_buffers 
)
static

◆ D3D10SetGShaderResources()

static INLINE void D3D10SetGShaderResources ( D3D10Device  device,
UINT  start_slot,
UINT  num_views,
D3D10ShaderResourceView *const  shader_resource_views 
)
static

◆ D3D10SetGShaderSamplers()

static INLINE void D3D10SetGShaderSamplers ( D3D10Device  device,
UINT  start_slot,
UINT  num_samplers,
D3D10SamplerState *const  samplers 
)
static

◆ D3D10SetIndexBuffer()

static INLINE void D3D10SetIndexBuffer ( D3D10Device  device,
D3D10Buffer  index_buffer,
DXGI_FORMAT  format,
UINT  offset 
)
static

◆ D3D10SetInputLayout()

static INLINE void D3D10SetInputLayout ( D3D10Device  device,
D3D10InputLayout  input_layout 
)
static
Here is the caller graph for this function:

◆ D3D10SetMessageCountLimit()

static INLINE HRESULT D3D10SetMessageCountLimit ( D3D10InfoQueue  info_queue,
UINT64  message_count_limit 
)
static

◆ D3D10SetMultithreadProtected()

static INLINE BOOL D3D10SetMultithreadProtected ( D3D10Multithread  multithread,
BOOL  mtprotect 
)
static

◆ D3D10SetMuteDebugOutput()

static INLINE void D3D10SetMuteDebugOutput ( D3D10InfoQueue  info_queue,
BOOL  mute 
)
static

◆ D3D10SetPredication()

static INLINE void D3D10SetPredication ( D3D10Device  device,
D3D10Predicate  predicate,
BOOL  predicate_value 
)
static

◆ D3D10SetPresentPerRenderOpDelay()

static INLINE HRESULT D3D10SetPresentPerRenderOpDelay ( D3D10Debug  debug,
UINT  milliseconds 
)
static

◆ D3D10SetPrimitiveTopology()

static INLINE void D3D10SetPrimitiveTopology ( D3D10Device  device,
D3D10_PRIMITIVE_TOPOLOGY  topology 
)
static
Here is the caller graph for this function:

◆ D3D10SetPShader()

static INLINE void D3D10SetPShader ( D3D10Device  device,
D3D10PixelShader  pixel_shader 
)
static
Here is the caller graph for this function:

◆ D3D10SetPShaderConstantBuffer()

static INLINE void D3D10SetPShaderConstantBuffer ( D3D10Device  device_context,
UINT  slot,
D3D10Buffer const  constant_buffer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D10SetPShaderConstantBuffers()

static INLINE void D3D10SetPShaderConstantBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer *const  constant_buffers 
)
static
Here is the caller graph for this function:

◆ D3D10SetPShaderResources()

static INLINE void D3D10SetPShaderResources ( D3D10Device  device,
UINT  start_slot,
UINT  num_views,
D3D10ShaderResourceView *const  shader_resource_views 
)
static
Here is the caller graph for this function:

◆ D3D10SetPShaderSamplers()

static INLINE void D3D10SetPShaderSamplers ( D3D10Device  device,
UINT  start_slot,
UINT  num_samplers,
D3D10SamplerState *const  samplers 
)
static
Here is the caller graph for this function:

◆ D3D10SetRenderTargets()

static INLINE void D3D10SetRenderTargets ( D3D10Device  device,
UINT  num_views,
D3D10RenderTargetView *const  render_target_views,
D3D10DepthStencilView  depth_stencil_view 
)
static
Here is the caller graph for this function:

◆ D3D10SetResourceEvictionPriority()

static INLINE void D3D10SetResourceEvictionPriority ( D3D10Resource  resource,
UINT  eviction_priority 
)
static

◆ D3D10SetScissorRects()

static INLINE void D3D10SetScissorRects ( D3D10Device  device,
UINT  num_rects,
D3D10_RECT rects 
)
static

◆ D3D10SetState()

static INLINE void D3D10SetState ( D3D10Device  device,
D3D10RasterizerState  rasterizer_state 
)
static
Here is the caller graph for this function:

◆ D3D10SetSwapChain()

static INLINE HRESULT D3D10SetSwapChain ( D3D10Debug  debug,
IDXGISwapChain swap_chain 
)
static

◆ D3D10SetTextFilterSize()

static INLINE void D3D10SetTextFilterSize ( D3D10Device  device,
UINT  width,
UINT  height 
)
static

◆ D3D10SetTexture1DEvictionPriority()

static INLINE void D3D10SetTexture1DEvictionPriority ( D3D10Texture1D  texture1d,
UINT  eviction_priority 
)
static

◆ D3D10SetTexture2DEvictionPriority()

static INLINE void D3D10SetTexture2DEvictionPriority ( D3D10Texture2D  texture2d,
UINT  eviction_priority 
)
static

◆ D3D10SetTexture3DEvictionPriority()

static INLINE void D3D10SetTexture3DEvictionPriority ( D3D10Texture3D  texture3d,
UINT  eviction_priority 
)
static

◆ D3D10SetUseRef()

static INLINE BOOL D3D10SetUseRef ( D3D10SwitchToRef  switch_to_ref,
BOOL  use_ref 
)
static

◆ D3D10SetVertexBuffer()

static INLINE void D3D10SetVertexBuffer ( D3D10Device  device_context,
UINT  slot,
D3D10Buffer const  vertex_buffer,
UINT  stride,
UINT  offset 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D10SetVertexBuffers()

static INLINE void D3D10SetVertexBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer *const  vertex_buffers,
UINT strides,
UINT offsets 
)
static
Here is the caller graph for this function:

◆ D3D10SetViewports()

static INLINE void D3D10SetViewports ( D3D10Device  device,
UINT  num_viewports,
D3D10_VIEWPORT viewports 
)
static
Here is the caller graph for this function:

◆ D3D10SetVShader()

static INLINE void D3D10SetVShader ( D3D10Device  device,
D3D10VertexShader  vertex_shader 
)
static
Here is the caller graph for this function:

◆ D3D10SetVShaderConstantBuffer()

static INLINE void D3D10SetVShaderConstantBuffer ( D3D10Device  device_context,
UINT  slot,
D3D10Buffer const  constant_buffer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D10SetVShaderConstantBuffers()

static INLINE void D3D10SetVShaderConstantBuffers ( D3D10Device  device,
UINT  start_slot,
UINT  num_buffers,
D3D10Buffer *const  constant_buffers 
)
static
Here is the caller graph for this function:

◆ D3D10SetVShaderResources()

static INLINE void D3D10SetVShaderResources ( D3D10Device  device,
UINT  start_slot,
UINT  num_views,
D3D10ShaderResourceView *const  shader_resource_views 
)
static

◆ D3D10SetVShaderSamplers()

static INLINE void D3D10SetVShaderSamplers ( D3D10Device  device,
UINT  start_slot,
UINT  num_samplers,
D3D10SamplerState *const  samplers 
)
static

◆ D3D10SOGetTargets()

static INLINE void D3D10SOGetTargets ( D3D10Device  device,
UINT  num_buffers,
D3D10Buffer sotargets,
UINT offsets 
)
static

◆ D3D10SOSetTargets()

static INLINE void D3D10SOSetTargets ( D3D10Device  device,
UINT  num_buffers,
D3D10Buffer *const  sotargets,
UINT offsets 
)
static

◆ D3D10UnmapBuffer()

static INLINE void D3D10UnmapBuffer ( D3D10Buffer  buffer)
static
Here is the caller graph for this function:

◆ D3D10UnmapTexture1D()

static INLINE void D3D10UnmapTexture1D ( D3D10Texture1D  texture1d,
UINT  subresource 
)
static

◆ D3D10UnmapTexture2D()

static INLINE void D3D10UnmapTexture2D ( D3D10Texture2D  texture2d,
UINT  subresource 
)
static
Here is the caller graph for this function:

◆ D3D10UnmapTexture3D()

static INLINE void D3D10UnmapTexture3D ( D3D10Texture3D  texture3d,
UINT  subresource 
)
static

◆ D3D10UpdateSubresource()

static INLINE void D3D10UpdateSubresource ( D3D10Device  device,
D3D10Resource  dst_resource,
UINT  dst_subresource,
D3D10_BOX dst_box,
void src_data,
UINT  src_row_pitch,
UINT  src_depth_pitch 
)
static

◆ D3D10Validate()

static INLINE HRESULT D3D10Validate ( D3D10Debug  debug)
static

◆ DXGIGetSwapChainBufferD3D10()

static INLINE HRESULT DXGIGetSwapChainBufferD3D10 ( DXGISwapChain  swap_chain,
UINT  buffer,
D3D10Texture2D out 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ d3d10_uniform_t

d3d10_uniform_t