summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/d3d1x/d3dapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/d3dapi')
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/d3d10_1.idl18
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/d3d10misc.h18
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/d3d10shader.idl24
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/d3d11.idl628
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/d3d11shader.idl36
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/d3dcommon.idl28
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/dxgi.idl520
-rw-r--r--src/gallium/state_trackers/d3d1x/d3dapi/dxgitype.idl68
8 files changed, 670 insertions, 670 deletions
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/d3d10_1.idl b/src/gallium/state_trackers/d3d1x/d3dapi/d3d10_1.idl
index b507e098901..94da622b325 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/d3d10_1.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/d3d10_1.idl
@@ -60,9 +60,9 @@ typedef enum D3D10_FEATURE_LEVEL1
{
D3D10_FEATURE_LEVEL_10_0 = 0xa000,
D3D10_FEATURE_LEVEL_10_1 = 0xa100,
- D3D10_FEATURE_LEVEL_9_1 = 0x9100,
- D3D10_FEATURE_LEVEL_9_2 = 0x9200,
- D3D10_FEATURE_LEVEL_9_3 = 0x9300
+ D3D10_FEATURE_LEVEL_9_1 = 0x9100,
+ D3D10_FEATURE_LEVEL_9_2 = 0x9200,
+ D3D10_FEATURE_LEVEL_9_3 = 0x9300
} D3D10_FEATURE_LEVEL1;
typedef struct D3D10_RENDER_TARGET_BLEND_DESC1
@@ -139,17 +139,17 @@ interface ID3D10ShaderResourceView1 : ID3D10ShaderResourceView
interface ID3D10Device1 : ID3D10Device
{
HRESULT CreateShaderResourceView1(
- [in] ID3D10Resource *pResource,
- [in] const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc,
+ [in] ID3D10Resource *pResource,
+ [in] const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc,
[out,optional] ID3D10ShaderResourceView1 **ppSRView
);
-
- HRESULT CreateBlendState1(
- [in] const D3D10_BLEND_DESC1 *pBlendStateDesc,
+
+ HRESULT CreateBlendState1(
+ [in] const D3D10_BLEND_DESC1 *pBlendStateDesc,
[out, optional] ID3D10BlendState1 **ppBlendState
);
- D3D10_FEATURE_LEVEL1 GetFeatureLevel();
+ D3D10_FEATURE_LEVEL1 GetFeatureLevel();
};
//cpp_quote("#include \"d3d10_1shader.h\"")
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/d3d10misc.h b/src/gallium/state_trackers/d3d1x/d3dapi/d3d10misc.h
index d2241e643e2..4f866ff4153 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/d3d10misc.h
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/d3d10misc.h
@@ -8,7 +8,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
@@ -26,19 +26,19 @@ extern "C" {
#endif
typedef enum D3D10_DRIVER_TYPE {
- D3D10_DRIVER_TYPE_HARDWARE = 0,
- D3D10_DRIVER_TYPE_REFERENCE = 1,
- D3D10_DRIVER_TYPE_NULL = 2,
- D3D10_DRIVER_TYPE_SOFTWARE = 3,
- D3D10_DRIVER_TYPE_WARP = 5, // added by Luca Barbieri in Sep 2010
+ D3D10_DRIVER_TYPE_HARDWARE = 0,
+ D3D10_DRIVER_TYPE_REFERENCE = 1,
+ D3D10_DRIVER_TYPE_NULL = 2,
+ D3D10_DRIVER_TYPE_SOFTWARE = 3,
+ D3D10_DRIVER_TYPE_WARP = 5, // added by Luca Barbieri in Sep 2010
} D3D10_DRIVER_TYPE;
HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,
- HMODULE swrast, UINT flags, UINT sdk_version, ID3D10Device **device);
+ HMODULE swrast, UINT flags, UINT sdk_version, ID3D10Device **device);
HRESULT WINAPI D3D10CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,
- HMODULE swrast, UINT flags, UINT sdk_version, DXGI_SWAP_CHAIN_DESC *swapchain_desc,
- IDXGISwapChain **swapchain, ID3D10Device **device);
+ HMODULE swrast, UINT flags, UINT sdk_version, DXGI_SWAP_CHAIN_DESC *swapchain_desc,
+ IDXGISwapChain **swapchain, ID3D10Device **device);
#ifdef __cplusplus
}
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/d3d10shader.idl b/src/gallium/state_trackers/d3d1x/d3dapi/d3d10shader.idl
index c4668a87dd2..d3f8b75db85 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/d3d10shader.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/d3d10shader.idl
@@ -182,15 +182,15 @@ interface ID3D10ShaderReflectionType
);
ID3D10ShaderReflectionType* GetMemberTypeByIndex(
- [in] UINT Index
+ [in] UINT Index
);
ID3D10ShaderReflectionType* GetMemberTypeByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
LPCSTR GetMemberTypeName(
- [in] UINT Index
+ [in] UINT Index
);
};
@@ -214,11 +214,11 @@ interface ID3D10ShaderReflectionConstantBuffer
);
ID3D10ShaderReflectionVariable* GetVariableByIndex(
- [in] UINT Index
+ [in] UINT Index
);
ID3D10ShaderReflectionVariable* GetVariableByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
};
@@ -230,39 +230,39 @@ interface ID3D10ShaderReflection : IUnknown
);
ID3D10ShaderReflectionConstantBuffer* GetConstantBufferByIndex(
- [in] UINT Index
+ [in] UINT Index
);
ID3D10ShaderReflectionConstantBuffer* GetConstantBufferByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
HRESULT GetResourceBindingDesc(
- [in] UINT ResourceIndex,
+ [in] UINT ResourceIndex,
[out] D3D10_SHADER_INPUT_BIND_DESC *pDesc
);
HRESULT GetInputParameterDesc(
- [in] UINT ParameterIndex,
+ [in] UINT ParameterIndex,
[out] D3D10_SIGNATURE_PARAMETER_DESC *pDesc
);
HRESULT GetOutputParameterDesc
(
- [in] UINT ParameterIndex,
+ [in] UINT ParameterIndex,
[out] D3D10_SIGNATURE_PARAMETER_DESC *pDesc
);
};
HRESULT D3D10CompileShader(LPCSTR pSrcData, SIZE_T SrcDataLen, LPCSTR pFileName, const D3D10_SHADER_MACRO* pDefines, LPD3D10INCLUDE pInclude,
- LPCSTR pFunctionName, LPCSTR pProfile, UINT Flags, ID3D10Blob** ppShader, ID3D10Blob** ppErrorMsgs);
+ LPCSTR pFunctionName, LPCSTR pProfile, UINT Flags, ID3D10Blob** ppShader, ID3D10Blob** ppErrorMsgs);
HRESULT D3D10DisassembleShader(const void *pShader, SIZE_T BytecodeLength, BOOL EnableColorCode, LPCSTR pComments, ID3D10Blob** ppDisassembly);
LPCSTR D3D10GetPixelShaderProfile(ID3D10Device *pDevice);
LPCSTR D3D10GetVertexShaderProfile(ID3D10Device *pDevice);
LPCSTR D3D10GetGeometryShaderProfile(ID3D10Device *pDevice);
HRESULT D3D10ReflectShader(const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10ShaderReflection **ppReflector);
HRESULT D3D10PreprocessShader(LPCSTR pSrcData, SIZE_T SrcDataSize, LPCSTR pFileName, const D3D10_SHADER_MACRO* pDefines,
- LPD3D10INCLUDE pInclude, ID3D10Blob** ppShaderText, ID3D10Blob** ppErrorMsgs);
+ LPD3D10INCLUDE pInclude, ID3D10Blob** ppShaderText, ID3D10Blob** ppErrorMsgs);
HRESULT D3D10GetInputSignatureBlob(const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10Blob **ppSignatureBlob);
HRESULT D3D10GetOutputSignatureBlob(const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10Blob **ppSignatureBlob);
HRESULT D3D10GetInputAndOutputSignatureBlob(const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10Blob **ppSignatureBlob);
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/d3d11.idl b/src/gallium/state_trackers/d3d1x/d3dapi/d3d11.idl
index 5a57da36ee7..d916c20f193 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/d3d11.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/d3d11.idl
@@ -1339,20 +1339,20 @@ interface ID3D11DeviceChild : IUnknown {
);
HRESULT GetPrivateData(
- [in] REFGUID guid,
+ [in] REFGUID guid,
[in, out] UINT *pDataSize,
[out] void *pData
);
HRESULT SetPrivateData(
- [in] REFGUID guid,
- [in] UINT DataSize,
- [in] const void *pData
+ [in] REFGUID guid,
+ [in] UINT DataSize,
+ [in] const void *pData
);
HRESULT SetPrivateDataInterface(
- [in] REFGUID guid,
- [in] const IUnknown *pData
+ [in] REFGUID guid,
+ [in] const IUnknown *pData
);
};
@@ -1398,7 +1398,7 @@ interface ID3D11Resource : ID3D11DeviceChild {
);
void SetEvictionPriority(
- [in] UINT EvictionPriority
+ [in] UINT EvictionPriority
);
UINT GetEvictionPriority(
@@ -1559,17 +1559,17 @@ interface ID3D11ClassInstance : ID3D11DeviceChild
interface ID3D11ClassLinkage : ID3D11DeviceChild
{
HRESULT GetClassInstance(
- [in] LPCSTR pClassInstanceName,
- [in] UINT InstanceIndex,
+ [in] LPCSTR pClassInstanceName,
+ [in] UINT InstanceIndex,
[out] ID3D11ClassInstance **ppInstance
);
HRESULT CreateClassInstance(
- [in] LPCSTR pClassTypeName,
- [in] UINT ConstantBufferOffset,
- [in] UINT ConstantVectorOffset,
- [in] UINT TextureOffset,
- [in] UINT SamplerOffset,
+ [in] LPCSTR pClassTypeName,
+ [in] UINT ConstantBufferOffset,
+ [in] UINT ConstantVectorOffset,
+ [in] UINT TextureOffset,
+ [in] UINT SamplerOffset,
[out] ID3D11ClassInstance **ppInstance
);
};
@@ -1586,112 +1586,112 @@ interface ID3D11DeviceContext;
interface ID3D11Device : IUnknown
{
HRESULT CreateBuffer(
- [in] const D3D11_BUFFER_DESC *pDesc,
- [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
+ [in] const D3D11_BUFFER_DESC *pDesc,
+ [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
[out] ID3D11Buffer **ppBuffer
);
HRESULT CreateTexture1D(
- [in] const D3D11_TEXTURE1D_DESC *pDesc,
- [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
+ [in] const D3D11_TEXTURE1D_DESC *pDesc,
+ [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
[out] ID3D11Texture1D **ppTexture1D
);
HRESULT CreateTexture2D(
- [in] const D3D11_TEXTURE2D_DESC *pDesc,
- [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
+ [in] const D3D11_TEXTURE2D_DESC *pDesc,
+ [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
[out] ID3D11Texture2D **ppTexture2D
);
HRESULT CreateTexture3D(
- [in] const D3D11_TEXTURE3D_DESC *pDesc,
- [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
+ [in] const D3D11_TEXTURE3D_DESC *pDesc,
+ [in] const D3D11_SUBRESOURCE_DATA *pInitialData,
[out] ID3D11Texture3D **ppTexture3D
);
HRESULT CreateShaderResourceView(
- [in] ID3D11Resource *pResource,
- [in] const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
+ [in] ID3D11Resource *pResource,
+ [in] const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
[out] ID3D11ShaderResourceView **ppSRView
);
HRESULT CreateUnorderedAccessView(
- [in] ID3D11Resource *pResource,
- [in] const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
+ [in] ID3D11Resource *pResource,
+ [in] const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
[out] ID3D11UnorderedAccessView **ppUAView
);
HRESULT CreateRenderTargetView(
- [in] ID3D11Resource *pResource,
- [in] const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
+ [in] ID3D11Resource *pResource,
+ [in] const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
[out] ID3D11RenderTargetView **ppRTView
);
HRESULT CreateDepthStencilView(
- [in] ID3D11Resource *pResource,
- [in] const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
+ [in] ID3D11Resource *pResource,
+ [in] const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
[out] ID3D11DepthStencilView **ppDepthStencilView
);
HRESULT CreateInputLayout(
- [in] const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- [in] UINT NumElements,
- [in] const void *pShaderBytecodeWithInputSignature,
- [in] SIZE_T BytecodeLength,
+ [in] const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
+ [in] UINT NumElements,
+ [in] const void *pShaderBytecodeWithInputSignature,
+ [in] SIZE_T BytecodeLength,
[out] ID3D11InputLayout **ppInputLayout
);
HRESULT CreateVertexShader(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11VertexShader **ppVertexShader
);
HRESULT CreateGeometryShader(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11GeometryShader **ppGeometryShader
);
HRESULT CreateGeometryShaderWithStreamOutput(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- [in] UINT NumEntries,
- [in] const UINT *pBufferStrides,
- [in] UINT NumStrides,
- [in] UINT RasterizedStream,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
+ [in] UINT NumEntries,
+ [in] const UINT *pBufferStrides,
+ [in] UINT NumStrides,
+ [in] UINT RasterizedStream,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11GeometryShader **ppGeometryShader
);
HRESULT CreatePixelShader(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11PixelShader **ppPixelShader
);
HRESULT CreateHullShader(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11HullShader **ppHullShader
);
HRESULT CreateDomainShader(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11DomainShader **ppDomainShader
);
HRESULT CreateComputeShader(
- [in] const void *pShaderBytecode,
- [in] SIZE_T BytecodeLength,
- [in] ID3D11ClassLinkage *pClassLinkage,
+ [in] const void *pShaderBytecode,
+ [in] SIZE_T BytecodeLength,
+ [in] ID3D11ClassLinkage *pClassLinkage,
[out] ID3D11ComputeShader **ppComputeShader
);
@@ -1700,59 +1700,59 @@ interface ID3D11Device : IUnknown
);
HRESULT CreateBlendState(
- [in] const D3D11_BLEND_DESC *pBlendStateDesc,
+ [in] const D3D11_BLEND_DESC *pBlendStateDesc,
[out] ID3D11BlendState **ppBlendState
);
HRESULT CreateDepthStencilState(
- [in] const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
+ [in] const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
[out] ID3D11DepthStencilState **ppDepthStencilState
);
HRESULT CreateRasterizerState(
- [in] const D3D11_RASTERIZER_DESC *pRasterizerDesc,
+ [in] const D3D11_RASTERIZER_DESC *pRasterizerDesc,
[out] ID3D11RasterizerState **ppRasterizerState
);
HRESULT CreateSamplerState(
- [in] const D3D11_SAMPLER_DESC *pSamplerDesc,
+ [in] const D3D11_SAMPLER_DESC *pSamplerDesc,
[out] ID3D11SamplerState **ppSamplerState
);
HRESULT CreateQuery(
- [in] const D3D11_QUERY_DESC *pQueryDesc,
+ [in] const D3D11_QUERY_DESC *pQueryDesc,
[out] ID3D11Query **ppQuery
);
HRESULT CreatePredicate(
- [in] const D3D11_QUERY_DESC *pPredicateDesc,
+ [in] const D3D11_QUERY_DESC *pPredicateDesc,
[out] ID3D11Predicate **ppPredicate
);
HRESULT CreateCounter(
- [in] const D3D11_COUNTER_DESC *pCounterDesc,
+ [in] const D3D11_COUNTER_DESC *pCounterDesc,
[out] ID3D11Counter **ppCounter
);
HRESULT CreateDeferredContext(
- [in] UINT ContextFlags,
+ [in] UINT ContextFlags,
[out] ID3D11DeviceContext **ppDeferredContext
);
HRESULT OpenSharedResource(
- [in] HANDLE hResource,
- [in] REFIID ReturnedInterface,
+ [in] HANDLE hResource,
+ [in] REFIID ReturnedInterface,
[out] void **ppResource
);
HRESULT CheckFormatSupport(
- [in] DXGI_FORMAT Format,
+ [in] DXGI_FORMAT Format,
[out] UINT *pFormatSupport
);
HRESULT CheckMultisampleQualityLevels(
- [in] DXGI_FORMAT Format,
- [in] UINT SampleCount,
+ [in] DXGI_FORMAT Format,
+ [in] UINT SampleCount,
[out] UINT *pNumQualityLevels
);
@@ -1761,7 +1761,7 @@ interface ID3D11Device : IUnknown
);
HRESULT CheckCounter(
- [in] const D3D11_COUNTER_DESC *pDesc,
+ [in] const D3D11_COUNTER_DESC *pDesc,
[out] D3D11_COUNTER_TYPE *pType,
[out] UINT *pActiveCounters,
[out] LPSTR szName,
@@ -1773,26 +1773,26 @@ interface ID3D11Device : IUnknown
);
HRESULT CheckFeatureSupport(
- [in] D3D11_FEATURE Feature,
+ [in] D3D11_FEATURE Feature,
[out] void *pFeatureSupportData,
- [in] UINT FeatureSupportDataSize
+ [in] UINT FeatureSupportDataSize
);
HRESULT GetPrivateData(
- [in] REFGUID guid,
+ [in] REFGUID guid,
[in, out] UINT *pDataSize,
[out] void *pData
);
HRESULT SetPrivateData(
- [in] REFGUID guid,
- [in] UINT DataSize,
- [in] const void *pData
+ [in] REFGUID guid,
+ [in] UINT DataSize,
+ [in] const void *pData
);
HRESULT SetPrivateDataInterface(
- [in] REFGUID guid,
- [in] const IUnknown *pData
+ [in] REFGUID guid,
+ [in] const IUnknown *pData
);
D3D_FEATURE_LEVEL GetFeatureLevel();
@@ -1806,7 +1806,7 @@ interface ID3D11Device : IUnknown
);
HRESULT SetExceptionMode(
- [in] UINT RaiseFlags
+ [in] UINT RaiseFlags
);
UINT GetExceptionMode();
@@ -1816,396 +1816,396 @@ interface ID3D11Device : IUnknown
interface ID3D11DeviceContext : ID3D11DeviceChild
{
void VSSetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppConstantBuffers
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppConstantBuffers
);
void PSSetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
- [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
+ [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
);
void PSSetShader(
- [in] ID3D11PixelShader *pPixelShader,
- [in] ID3D11ClassInstance *const *ppClassInstances,
- [in] UINT NumClassInstances
+ [in] ID3D11PixelShader *pPixelShader,
+ [in] ID3D11ClassInstance *const *ppClassInstances,
+ [in] UINT NumClassInstances
);
void PSSetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
- [in] ID3D11SamplerState *const *ppSamplers
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
+ [in] ID3D11SamplerState *const *ppSamplers
);
void VSSetShader(
- [in] ID3D11VertexShader *pVertexShader,
- [in] ID3D11ClassInstance *const *ppClassInstances,
- [in] UINT NumClassInstances
+ [in] ID3D11VertexShader *pVertexShader,
+ [in] ID3D11ClassInstance *const *ppClassInstances,
+ [in] UINT NumClassInstances
);
void DrawIndexed(
- [in] UINT IndexCount,
- [in] UINT StartIndexLocation,
- [in] INT BaseVertexLocation
+ [in] UINT IndexCount,
+ [in] UINT StartIndexLocation,
+ [in] INT BaseVertexLocation
);
void Draw(
- [in] UINT VertexCount,
- [in] UINT StartVertexLocation
+ [in] UINT VertexCount,
+ [in] UINT StartVertexLocation
);
HRESULT Map(
- [in] ID3D11Resource *pResource,
- [in] UINT Subresource,
- [in] D3D11_MAP MapType,
- [in] UINT MapFlags,
+ [in] ID3D11Resource *pResource,
+ [in] UINT Subresource,
+ [in] D3D11_MAP MapType,
+ [in] UINT MapFlags,
[out] D3D11_MAPPED_SUBRESOURCE *pMappedResource
);
void Unmap(
- [in] ID3D11Resource *pResource,
- [in] UINT Subresource
+ [in] ID3D11Resource *pResource,
+ [in] UINT Subresource
);
void PSSetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppConstantBuffers
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppConstantBuffers
);
void IASetInputLayout(
- [in] ID3D11InputLayout *pInputLayout
+ [in] ID3D11InputLayout *pInputLayout
);
void IASetVertexBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppVertexBuffers,
- [in] const UINT *pStrides,
- [in] const UINT *pOffsets
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppVertexBuffers,
+ [in] const UINT *pStrides,
+ [in] const UINT *pOffsets
);
void IASetIndexBuffer(
- [in] ID3D11Buffer *pIndexBuffer,
- [in] DXGI_FORMAT Format,
- [in] UINT Offset
+ [in] ID3D11Buffer *pIndexBuffer,
+ [in] DXGI_FORMAT Format,
+ [in] UINT Offset
);
void DrawIndexedInstanced(
- [in] UINT IndexCountPerInstance,
- [in] UINT InstanceCount,
- [in] UINT StartIndexLocation,
- [in] INT BaseVertexLocation,
- [in] UINT StartInstanceLocation
+ [in] UINT IndexCountPerInstance,
+ [in] UINT InstanceCount,
+ [in] UINT StartIndexLocation,
+ [in] INT BaseVertexLocation,
+ [in] UINT StartInstanceLocation
);
void DrawInstanced(
- [in] UINT VertexCountPerInstance,
- [in] UINT InstanceCount,
- [in] UINT StartVertexLocation,
- [in] UINT StartInstanceLocation
+ [in] UINT VertexCountPerInstance,
+ [in] UINT InstanceCount,
+ [in] UINT StartVertexLocation,
+ [in] UINT StartInstanceLocation
);
void GSSetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppConstantBuffers
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppConstantBuffers
);
void GSSetShader(
- [in] ID3D11GeometryShader *pShader,
- [in] ID3D11ClassInstance *const *ppClassInstances,
- [in] UINT NumClassInstances
+ [in] ID3D11GeometryShader *pShader,
+ [in] ID3D11ClassInstance *const *ppClassInstances,
+ [in] UINT NumClassInstances
);
void IASetPrimitiveTopology(
- [in] D3D11_PRIMITIVE_TOPOLOGY Topology
+ [in] D3D11_PRIMITIVE_TOPOLOGY Topology
);
void VSSetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
- [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
+ [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
);
void VSSetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
- [in] ID3D11SamplerState *const *ppSamplers
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
+ [in] ID3D11SamplerState *const *ppSamplers
);
void Begin(
- [in] ID3D11Asynchronous *pAsync
+ [in] ID3D11Asynchronous *pAsync
);
void End(
- [in] ID3D11Asynchronous *pAsync
+ [in] ID3D11Asynchronous *pAsync
);
HRESULT GetData(
- [in] ID3D11Asynchronous *pAsync,
+ [in] ID3D11Asynchronous *pAsync,
[out] void *pData,
- [in] UINT DataSize,
- [in] UINT GetDataFlags
+ [in] UINT DataSize,
+ [in] UINT GetDataFlags
);
void SetPredication(
- [in] ID3D11Predicate *pPredicate,
- [in] BOOL PredicateValue
+ [in] ID3D11Predicate *pPredicate,
+ [in] BOOL PredicateValue
);
void GSSetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
- [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
+ [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
);
void GSSetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
- [in] ID3D11SamplerState *const *ppSamplers
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
+ [in] ID3D11SamplerState *const *ppSamplers
);
void OMSetRenderTargets(
- [in] UINT NumViews,
- [in] ID3D11RenderTargetView *const *ppRenderTargetViews,
- [in] ID3D11DepthStencilView *pDepthStencilView
+ [in] UINT NumViews,
+ [in] ID3D11RenderTargetView *const *ppRenderTargetViews,
+ [in] ID3D11DepthStencilView *pDepthStencilView
);
void OMSetRenderTargetsAndUnorderedAccessViews(
- [in] UINT NumRTVs,
- [in] ID3D11RenderTargetView *const *ppRenderTargetViews,
- [in] ID3D11DepthStencilView *pDepthStencilView,
- [in] UINT UAVStartSlot,
- [in] UINT NumUAVs,
- [in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- [in] const UINT *pUAVInitialCounts
+ [in] UINT NumRTVs,
+ [in] ID3D11RenderTargetView *const *ppRenderTargetViews,
+ [in] ID3D11DepthStencilView *pDepthStencilView,
+ [in] UINT UAVStartSlot,
+ [in] UINT NumUAVs,
+ [in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
+ [in] const UINT *pUAVInitialCounts
);
void OMSetBlendState(
- [in] ID3D11BlendState *pBlendState,
- [in] const FLOAT BlendFactor[ 4 ],
- [in] UINT SampleMask
+ [in] ID3D11BlendState *pBlendState,
+ [in] const FLOAT BlendFactor[ 4 ],
+ [in] UINT SampleMask
);
void OMSetDepthStencilState(
- [in] ID3D11DepthStencilState *pDepthStencilState,
- [in] UINT StencilRef
+ [in] ID3D11DepthStencilState *pDepthStencilState,
+ [in] UINT StencilRef
);
void SOSetTargets(
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppSOTargets,
- [in] const UINT *pOffsets
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppSOTargets,
+ [in] const UINT *pOffsets
);
void DrawAuto(
);
void DrawIndexedInstancedIndirect(
- [in] ID3D11Buffer *pBufferForArgs,
- [in] UINT AlignedByteOffsetForArgs
+ [in] ID3D11Buffer *pBufferForArgs,
+ [in] UINT AlignedByteOffsetForArgs
);
void DrawInstancedIndirect(
- [in] ID3D11Buffer *pBufferForArgs,
- [in] UINT AlignedByteOffsetForArgs
+ [in] ID3D11Buffer *pBufferForArgs,
+ [in] UINT AlignedByteOffsetForArgs
);
void Dispatch(
- [in] UINT ThreadGroupCountX,
- [in] UINT ThreadGroupCountY,
- [in] UINT ThreadGroupCountZ
+ [in] UINT ThreadGroupCountX,
+ [in] UINT ThreadGroupCountY,
+ [in] UINT ThreadGroupCountZ
);
void DispatchIndirect(
- [in] ID3D11Buffer *pBufferForArgs,
- [in] UINT AlignedByteOffsetForArgs
+ [in] ID3D11Buffer *pBufferForArgs,
+ [in] UINT AlignedByteOffsetForArgs
);
void RSSetState(
- [in] ID3D11RasterizerState *pRasterizerState
+ [in] ID3D11RasterizerState *pRasterizerState
);
void RSSetViewports(
- [in] UINT NumViewports,
- [in] const D3D11_VIEWPORT *pViewports
+ [in] UINT NumViewports,
+ [in] const D3D11_VIEWPORT *pViewports
);
void RSSetScissorRects(
- [in] UINT NumRects,
- [in] const D3D11_RECT *pRects
+ [in] UINT NumRects,
+ [in] const D3D11_RECT *pRects
);
void CopySubresourceRegion(
- [in] ID3D11Resource *pDstResource,
- [in] UINT DstSubresource,
- [in] UINT DstX,
- [in] UINT DstY,
- [in] UINT DstZ,
- [in] ID3D11Resource *pSrcResource,
- [in] UINT SrcSubresource,
- [in] const D3D11_BOX *pSrcBox
+ [in] ID3D11Resource *pDstResource,
+ [in] UINT DstSubresource,
+ [in] UINT DstX,
+ [in] UINT DstY,
+ [in] UINT DstZ,
+ [in] ID3D11Resource *pSrcResource,
+ [in] UINT SrcSubresource,
+ [in] const D3D11_BOX *pSrcBox
);
void CopyResource(
- [in] ID3D11Resource *pDstResource,
- [in] ID3D11Resource *pSrcResource
+ [in] ID3D11Resource *pDstResource,
+ [in] ID3D11Resource *pSrcResource
);
void UpdateSubresource(
- [in] ID3D11Resource *pDstResource,
- [in] UINT DstSubresource,
- [in] const D3D11_BOX *pDstBox,
- [in] const void *pSrcData,
- [in] UINT SrcRowPitch,
- [in] UINT SrcDepthPitch
+ [in] ID3D11Resource *pDstResource,
+ [in] UINT DstSubresource,
+ [in] const D3D11_BOX *pDstBox,
+ [in] const void *pSrcData,
+ [in] UINT SrcRowPitch,
+ [in] UINT SrcDepthPitch
);
void CopyStructureCount(
- [in] ID3D11Buffer *pDstBuffer,
- [in] UINT DstAlignedByteOffset,
- [in] ID3D11UnorderedAccessView *pSrcView
+ [in] ID3D11Buffer *pDstBuffer,
+ [in] UINT DstAlignedByteOffset,
+ [in] ID3D11UnorderedAccessView *pSrcView
);
void ClearRenderTargetView(
- [in] ID3D11RenderTargetView *pRenderTargetView,
- [in] const FLOAT ColorRGBA[ 4 ]
+ [in] ID3D11RenderTargetView *pRenderTargetView,
+ [in] const FLOAT ColorRGBA[ 4 ]
);
void ClearUnorderedAccessViewUint(
- [in] ID3D11UnorderedAccessView *pUnorderedAccessView,
- [in] const UINT Values[ 4 ]
+ [in] ID3D11UnorderedAccessView *pUnorderedAccessView,
+ [in] const UINT Values[ 4 ]
);
void ClearUnorderedAccessViewFloat(
- [in] ID3D11UnorderedAccessView *pUnorderedAccessView,
- [in] const FLOAT Values[ 4 ]
+ [in] ID3D11UnorderedAccessView *pUnorderedAccessView,
+ [in] const FLOAT Values[ 4 ]
);
void ClearDepthStencilView(
- [in] ID3D11DepthStencilView *pDepthStencilView,
- [in] UINT ClearFlags,
- [in] FLOAT Depth,
- [in] UINT8 Stencil
+ [in] ID3D11DepthStencilView *pDepthStencilView,
+ [in] UINT ClearFlags,
+ [in] FLOAT Depth,
+ [in] UINT8 Stencil
);
void GenerateMips(
- [in] ID3D11ShaderResourceView *pShaderResourceView
+ [in] ID3D11ShaderResourceView *pShaderResourceView
);
void SetResourceMinLOD(
- [in] ID3D11Resource *pResource,
- [in] FLOAT MinLOD
+ [in] ID3D11Resource *pResource,
+ [in] FLOAT MinLOD
);
FLOAT GetResourceMinLOD(
- [in] ID3D11Resource *pResource
+ [in] ID3D11Resource *pResource
);
void ResolveSubresource(
- [in] ID3D11Resource *pDstResource,
- [in] UINT DstSubresource,
- [in] ID3D11Resource *pSrcResource,
- [in] UINT SrcSubresource,
- [in] DXGI_FORMAT Format
+ [in] ID3D11Resource *pDstResource,
+ [in] UINT DstSubresource,
+ [in] ID3D11Resource *pSrcResource,
+ [in] UINT SrcSubresource,
+ [in] DXGI_FORMAT Format
);
void ExecuteCommandList(
- [in] ID3D11CommandList *pCommandList,
- [in] BOOL RestoreContextState
+ [in] ID3D11CommandList *pCommandList,
+ [in] BOOL RestoreContextState
);
void HSSetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
- [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
+ [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
);
void HSSetShader(
- [in] ID3D11HullShader *pHullShader,
- [in] ID3D11ClassInstance *const *ppClassInstances,
- [in] UINT NumClassInstances
+ [in] ID3D11HullShader *pHullShader,
+ [in] ID3D11ClassInstance *const *ppClassInstances,
+ [in] UINT NumClassInstances
);
void HSSetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
- [in] ID3D11SamplerState *const *ppSamplers
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
+ [in] ID3D11SamplerState *const *ppSamplers
);
void HSSetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppConstantBuffers
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppConstantBuffers
);
void DSSetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
- [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
+ [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
);
void DSSetShader(
- [in] ID3D11DomainShader *pDomainShader,
- [in] ID3D11ClassInstance *const *ppClassInstances,
- [in] UINT NumClassInstances
+ [in] ID3D11DomainShader *pDomainShader,
+ [in] ID3D11ClassInstance *const *ppClassInstances,
+ [in] UINT NumClassInstances
);
void DSSetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
- [in] ID3D11SamplerState *const *ppSamplers
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
+ [in] ID3D11SamplerState *const *ppSamplers
);
void DSSetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppConstantBuffers
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppConstantBuffers
);
void CSSetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
- [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
+ [in] ID3D11ShaderResourceView *const *ppShaderResourceViews
);
void CSSetUnorderedAccessViews(
- [in] UINT StartSlot,
- [in] UINT NumUAVs,
- [in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- [in] const UINT *pUAVInitialCounts
+ [in] UINT StartSlot,
+ [in] UINT NumUAVs,
+ [in] ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
+ [in] const UINT *pUAVInitialCounts
);
void CSSetShader(
- [in] ID3D11ComputeShader *pComputeShader,
- [in] ID3D11ClassInstance *const *ppClassInstances,
- [in] UINT NumClassInstances
+ [in] ID3D11ComputeShader *pComputeShader,
+ [in] ID3D11ClassInstance *const *ppClassInstances,
+ [in] UINT NumClassInstances
);
void CSSetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
- [in] ID3D11SamplerState *const *ppSamplers
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
+ [in] ID3D11SamplerState *const *ppSamplers
);
void CSSetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
- [in] ID3D11Buffer *const *ppConstantBuffers
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
+ [in] ID3D11Buffer *const *ppConstantBuffers
);
void VSGetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppConstantBuffers
);
void PSGetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
[out] ID3D11ShaderResourceView **ppShaderResourceViews
);
@@ -2216,8 +2216,8 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void PSGetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
[out] ID3D11SamplerState **ppSamplers
);
@@ -2228,8 +2228,8 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void PSGetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppConstantBuffers
);
@@ -2238,8 +2238,8 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void IAGetVertexBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppVertexBuffers,
[out] UINT *pStrides,
[out] UINT *pOffsets
@@ -2252,8 +2252,8 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void GSGetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppConstantBuffers
);
@@ -2268,14 +2268,14 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void VSGetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
[out] ID3D11ShaderResourceView **ppShaderResourceViews
);
void VSGetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
[out] ID3D11SamplerState **ppSamplers
);
@@ -2285,29 +2285,29 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void GSGetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
[out] ID3D11ShaderResourceView **ppShaderResourceViews
);
void GSGetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
[out] ID3D11SamplerState **ppSamplers
);
void OMGetRenderTargets(
- [in] UINT NumViews,
+ [in] UINT NumViews,
[out] ID3D11RenderTargetView **ppRenderTargetViews,
[out] ID3D11DepthStencilView **ppDepthStencilView
);
void OMGetRenderTargetsAndUnorderedAccessViews(
- [in] UINT NumRTVs,
+ [in] UINT NumRTVs,
[out] ID3D11RenderTargetView **ppRenderTargetViews,
[out] ID3D11DepthStencilView **ppDepthStencilView,
- [in] UINT UAVStartSlot,
- [in] UINT NumUAVs,
+ [in] UINT UAVStartSlot,
+ [in] UINT NumUAVs,
[out] ID3D11UnorderedAccessView **ppUnorderedAccessViews
);
@@ -2323,7 +2323,7 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void SOGetTargets(
- [in] UINT NumBuffers,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppSOTargets
);
@@ -2342,8 +2342,8 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void HSGetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
[out] ID3D11ShaderResourceView **ppShaderResourceViews
);
@@ -2354,20 +2354,20 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void HSGetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
[out] ID3D11SamplerState **ppSamplers
);
void HSGetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppConstantBuffers
);
void DSGetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
[out] ID3D11ShaderResourceView **ppShaderResourceViews
);
@@ -2378,26 +2378,26 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void DSGetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
[out] ID3D11SamplerState **ppSamplers
);
void DSGetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppConstantBuffers
);
void CSGetShaderResources(
- [in] UINT StartSlot,
- [in] UINT NumViews,
+ [in] UINT StartSlot,
+ [in] UINT NumViews,
[out] ID3D11ShaderResourceView **ppShaderResourceViews
);
void CSGetUnorderedAccessViews(
- [in] UINT StartSlot,
- [in] UINT NumUAVs,
+ [in] UINT StartSlot,
+ [in] UINT NumUAVs,
[out] ID3D11UnorderedAccessView **ppUnorderedAccessViews
);
@@ -2408,14 +2408,14 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
);
void CSGetSamplers(
- [in] UINT StartSlot,
- [in] UINT NumSamplers,
+ [in] UINT StartSlot,
+ [in] UINT NumSamplers,
[out] ID3D11SamplerState **ppSamplers
);
void CSGetConstantBuffers(
- [in] UINT StartSlot,
- [in] UINT NumBuffers,
+ [in] UINT StartSlot,
+ [in] UINT NumBuffers,
[out] ID3D11Buffer **ppConstantBuffers
);
@@ -2428,7 +2428,7 @@ interface ID3D11DeviceContext : ID3D11DeviceChild
UINT GetContextFlags();
HRESULT FinishCommandList(
- [in] BOOL RestoreDeferredContextState,
+ [in] BOOL RestoreDeferredContextState,
[out] ID3D11CommandList **ppCommandList
);
};
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/d3d11shader.idl b/src/gallium/state_trackers/d3d1x/d3dapi/d3d11shader.idl
index 09588a02f5a..cf4ae1b68ee 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/d3d11shader.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/d3d11shader.idl
@@ -160,31 +160,31 @@ interface ID3D11ShaderReflectionType
);
ID3D11ShaderReflectionType* GetMemberTypeByIndex(
- [in] UINT Index
+ [in] UINT Index
);
ID3D11ShaderReflectionType* GetMemberTypeByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
LPCSTR GetMemberTypeName(
- [in] UINT Index
+ [in] UINT Index
);
HRESULT IsEqual(
- [in] ID3D11ShaderReflectionType* pType
+ [in] ID3D11ShaderReflectionType* pType
);
ID3D11ShaderReflectionType* GetSubType();
ID3D11ShaderReflectionType* GetBaseClass();
UINT GetNumInterfaces();
ID3D11ShaderReflectionType* GetInterfaceByIndex(
- [in] UINT uIndex
+ [in] UINT uIndex
);
HRESULT IsOfType(
- [in] ID3D11ShaderReflectionType* pType
+ [in] ID3D11ShaderReflectionType* pType
);
HRESULT ImplementsInterface(
- [in] ID3D11ShaderReflectionType* pBase
+ [in] ID3D11ShaderReflectionType* pBase
);
};
@@ -201,7 +201,7 @@ interface ID3D11ShaderReflectionVariable
ID3D11ShaderReflectionConstantBuffer* GetBuffer();
UINT GetInterfaceSlot(
- [in] UINT uArrayIndex
+ [in] UINT uArrayIndex
);
};
@@ -213,11 +213,11 @@ interface ID3D11ShaderReflectionConstantBuffer
);
ID3D11ShaderReflectionVariable* GetVariableByIndex(
- [in] UINT Index
+ [in] UINT Index
);
ID3D11ShaderReflectionVariable* GetVariableByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
};
@@ -229,40 +229,40 @@ interface ID3D11ShaderReflection
);
ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByIndex(
- [in] UINT Index
+ [in] UINT Index
);
ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
HRESULT GetResourceBindingDesc(
- [in] UINT ResourceIndex,
+ [in] UINT ResourceIndex,
[out] D3D11_SHADER_INPUT_BIND_DESC *pDesc
);
HRESULT GetInputParameterDesc(
- [in] UINT ParameterIndex,
+ [in] UINT ParameterIndex,
[out] D3D11_SIGNATURE_PARAMETER_DESC *pDesc
);
HRESULT GetOutputParameterDesc
(
- [in] UINT ParameterIndex,
+ [in] UINT ParameterIndex,
[out] D3D11_SIGNATURE_PARAMETER_DESC *pDesc
);
HRESULT GetPatchConstantParameterDesc(
- [in] UINT ParameterIndex,
+ [in] UINT ParameterIndex,
[out] D3D11_SIGNATURE_PARAMETER_DESC *pDesc
);
ID3D11ShaderReflectionVariable* GetVariableByName(
- [in] LPCSTR Name
+ [in] LPCSTR Name
);
HRESULT GetResourceBindingDescByName(
- [in] LPCSTR Name,
+ [in] LPCSTR Name,
[out] D3D11_SHADER_INPUT_BIND_DESC *pDesc
);
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/d3dcommon.idl b/src/gallium/state_trackers/d3d1x/d3dapi/d3dcommon.idl
index 71021b8a6c0..d95a351eaf2 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/d3dcommon.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/d3dcommon.idl
@@ -333,14 +333,14 @@ typedef enum _D3D_INCLUDE_TYPE
interface ID3DInclude : IUnknown
{
HRESULT Open(
- [in] D3D_INCLUDE_TYPE IncludeType,
- [in] LPCSTR pFileName,
- [in] LPCVOID pParentData,
+ [in] D3D_INCLUDE_TYPE IncludeType,
+ [in] LPCSTR pFileName,
+ [in] LPCVOID pParentData,
[out] LPCVOID *ppData,
- [in] UINT *pBytes
+ [in] UINT *pBytes
);
HRESULT Close(
- [in] LPCVOID pData
+ [in] LPCVOID pData
);
};
@@ -381,7 +381,7 @@ typedef enum _D3D_SHADER_VARIABLE_FLAGS
D3D_SVF_FORCE_DWORD = 0x7fffffff
} D3D_SHADER_VARIABLE_FLAGS;
-typedef enum _D3D_SHADER_VARIABLE_TYPE
+typedef enum _D3D_SHADER_VARIABLE_TYPE
{
D3D_SVT_VOID = 0,
D3D_SVT_BOOL,
@@ -493,7 +493,7 @@ typedef enum _D3D_SHADER_VARIABLE_TYPE
D3D_SVT_FORCE_DWORD = 0x7fffffff
} D3D_SHADER_VARIABLE_TYPE;
-typedef enum _D3D_SHADER_INPUT_FLAGS
+typedef enum _D3D_SHADER_INPUT_FLAGS
{
D3D_SIF_USERPACKED = 1,
D3D_SIF_COMPARISON_SAMPLER = 2,
@@ -508,7 +508,7 @@ typedef enum _D3D_SHADER_INPUT_FLAGS
D3D10_SIF_TEXTURE_COMPONENTS = 12,
D3D_SIF_FORCE_DWORD = 0x7fffffff
- } D3D_SHADER_INPUT_FLAGS;
+ } D3D_SHADER_INPUT_FLAGS;
typedef enum _D3D_SHADER_INPUT_TYPE
{
@@ -538,9 +538,9 @@ typedef enum _D3D_SHADER_INPUT_TYPE
D3D11_SIT_UAV_APPEND_STRUCTURED,
D3D11_SIT_UAV_CONSUME_STRUCTURED,
D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER,
- } D3D_SHADER_INPUT_TYPE;
+ } D3D_SHADER_INPUT_TYPE;
-typedef enum _D3D_SHADER_CBUFFER_FLAGS
+typedef enum _D3D_SHADER_CBUFFER_FLAGS
{
D3D_CBF_USERPACKED = 1,
@@ -549,7 +549,7 @@ typedef enum _D3D_SHADER_CBUFFER_FLAGS
D3D_CBF_FORCE_DWORD = 0x7fffffff
} D3D_SHADER_CBUFFER_FLAGS;
-typedef enum _D3D_CBUFFER_TYPE
+typedef enum _D3D_CBUFFER_TYPE
{
D3D_CT_CBUFFER = 0,
D3D_CT_TBUFFER,
@@ -646,7 +646,7 @@ typedef enum D3D_RESOURCE_RETURN_TYPE
D3D11_RETURN_TYPE_CONTINUED,
} D3D_RESOURCE_RETURN_TYPE;
-typedef enum D3D_REGISTER_COMPONENT_TYPE
+typedef enum D3D_REGISTER_COMPONENT_TYPE
{
D3D_REGISTER_COMPONENT_UNKNOWN = 0,
D3D_REGISTER_COMPONENT_UINT32,
@@ -659,7 +659,7 @@ typedef enum D3D_REGISTER_COMPONENT_TYPE
D3D10_REGISTER_COMPONENT_FLOAT32,
} D3D_REGISTER_COMPONENT_TYPE;
-typedef enum D3D_TESSELLATOR_DOMAIN
+typedef enum D3D_TESSELLATOR_DOMAIN
{
D3D_TESSELLATOR_DOMAIN_UNDEFINED = 0,
D3D_TESSELLATOR_DOMAIN_ISOLINE,
@@ -687,7 +687,7 @@ typedef enum D3D_TESSELLATOR_PARTITIONING
D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN,
} D3D_TESSELLATOR_PARTITIONING;
-typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE
+typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE
{
D3D_TESSELLATOR_OUTPUT_UNDEFINED = 0,
D3D_TESSELLATOR_OUTPUT_POINT,
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/dxgi.idl b/src/gallium/state_trackers/d3d1x/d3dapi/dxgi.idl
index d268e43c0dd..247a7ddd11f 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/dxgi.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/dxgi.idl
@@ -8,7 +8,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
@@ -22,345 +22,345 @@ import "dxgitype.idl";
const UINT _FACDXGI = 0x87a;
-cpp_quote("#define MAKE_DXGI_STATUS(x) MAKE_HRESULT(0, _FACDXGI, x)")
-cpp_quote("#define DXGI_STATUS_OCCLUDED MAKE_DXGI_STATUS(1)")
-cpp_quote("#define DXGI_STATUS_CLIPPED MAKE_DXGI_STATUS(2)")
-cpp_quote("#define DXGI_STATUS_NO_REDIRECTION MAKE_DXGI_STATUS(4)")
-cpp_quote("#define DXGI_STATUS_NO_DESKTOP_ACCESS MAKE_DXGI_STATUS(5)")
-cpp_quote("#define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_STATUS(6)")
-cpp_quote("#define DXGI_STATUS_MODE_CHANGED MAKE_DXGI_STATUS(7)")
-cpp_quote("#define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS MAKE_DXGI_STATUS(8)")
-
-cpp_quote("#define MAKE_DXGI_HRESULT(x) MAKE_HRESULT(1, _FACDXGI, x)")
-cpp_quote("#define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT(1)")
-cpp_quote("#define DXGI_ERROR_NOT_FOUND MAKE_DXGI_HRESULT(2)")
-cpp_quote("#define DXGI_ERROR_MORE_DATA MAKE_DXGI_HRESULT(3)")
-cpp_quote("#define DXGI_ERROR_UNSUPPORTED MAKE_DXGI_HRESULT(4)")
-cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED MAKE_DXGI_HRESULT(5)")
-cpp_quote("#define DXGI_ERROR_DEVICE_HUNG MAKE_DXGI_HRESULT(6)")
-cpp_quote("#define DXGI_ERROR_DEVICE_RESET MAKE_DXGI_HRESULT(7)")
-cpp_quote("#define DXGI_ERROR_WAS_STILL_DRAWING MAKE_DXGI_HRESULT(10)")
-cpp_quote("#define DXGI_ERROR_FRAME_STATISTICS_DISJOINT MAKE_DXGI_HRESULT(11)")
-cpp_quote("#define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_HRESULT(12)")
-cpp_quote("#define DXGI_ERROR_DRIVER_INTERNAL_ERROR MAKE_DXGI_HRESULT(32)")
-cpp_quote("#define DXGI_ERROR_NONEXCLUSIVE MAKE_DXGI_HRESULT(33)")
-cpp_quote("#define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE MAKE_DXGI_HRESULT(34)")
+cpp_quote("#define MAKE_DXGI_STATUS(x) MAKE_HRESULT(0, _FACDXGI, x)")
+cpp_quote("#define DXGI_STATUS_OCCLUDED MAKE_DXGI_STATUS(1)")
+cpp_quote("#define DXGI_STATUS_CLIPPED MAKE_DXGI_STATUS(2)")
+cpp_quote("#define DXGI_STATUS_NO_REDIRECTION MAKE_DXGI_STATUS(4)")
+cpp_quote("#define DXGI_STATUS_NO_DESKTOP_ACCESS MAKE_DXGI_STATUS(5)")
+cpp_quote("#define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_STATUS(6)")
+cpp_quote("#define DXGI_STATUS_MODE_CHANGED MAKE_DXGI_STATUS(7)")
+cpp_quote("#define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS MAKE_DXGI_STATUS(8)")
+
+cpp_quote("#define MAKE_DXGI_HRESULT(x) MAKE_HRESULT(1, _FACDXGI, x)")
+cpp_quote("#define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT(1)")
+cpp_quote("#define DXGI_ERROR_NOT_FOUND MAKE_DXGI_HRESULT(2)")
+cpp_quote("#define DXGI_ERROR_MORE_DATA MAKE_DXGI_HRESULT(3)")
+cpp_quote("#define DXGI_ERROR_UNSUPPORTED MAKE_DXGI_HRESULT(4)")
+cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED MAKE_DXGI_HRESULT(5)")
+cpp_quote("#define DXGI_ERROR_DEVICE_HUNG MAKE_DXGI_HRESULT(6)")
+cpp_quote("#define DXGI_ERROR_DEVICE_RESET MAKE_DXGI_HRESULT(7)")
+cpp_quote("#define DXGI_ERROR_WAS_STILL_DRAWING MAKE_DXGI_HRESULT(10)")
+cpp_quote("#define DXGI_ERROR_FRAME_STATISTICS_DISJOINT MAKE_DXGI_HRESULT(11)")
+cpp_quote("#define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_HRESULT(12)")
+cpp_quote("#define DXGI_ERROR_DRIVER_INTERNAL_ERROR MAKE_DXGI_HRESULT(32)")
+cpp_quote("#define DXGI_ERROR_NONEXCLUSIVE MAKE_DXGI_HRESULT(33)")
+cpp_quote("#define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE MAKE_DXGI_HRESULT(34)")
cpp_quote("#if 0")
typedef HANDLE HMONITOR;
typedef struct _LUID {
- DWORD LowPart;
- LONG HighPart;
+ DWORD LowPart;
+ LONG HighPart;
} LUID, *PLUID;
cpp_quote("#endif")
typedef UINT DXGI_USAGE;
-const DXGI_USAGE DXGI_USAGE_SHADER_INPUT = 0x10L;
-const DXGI_USAGE DXGI_USAGE_RENDER_TARGET_OUTPUT = 0x20L;
-const DXGI_USAGE DXGI_USAGE_BACK_BUFFER = 0x40L;
-const DXGI_USAGE DXGI_USAGE_SHARED = 0x80L;
-const DXGI_USAGE DXGI_USAGE_READ_ONLY = 0x100L;
+const DXGI_USAGE DXGI_USAGE_SHADER_INPUT = 0x10L;
+const DXGI_USAGE DXGI_USAGE_RENDER_TARGET_OUTPUT = 0x20L;
+const DXGI_USAGE DXGI_USAGE_BACK_BUFFER = 0x40L;
+const DXGI_USAGE DXGI_USAGE_SHARED = 0x80L;
+const DXGI_USAGE DXGI_USAGE_READ_ONLY = 0x100L;
typedef enum DXGI_SWAP_EFFECT {
- DXGI_SWAP_EFFECT_DISCARD = 0,
- DXGI_SWAP_EFFECT_SEQUENTIAL = 1,
+ DXGI_SWAP_EFFECT_DISCARD = 0,
+ DXGI_SWAP_EFFECT_SEQUENTIAL = 1,
} DXGI_SWAP_EFFECT;
typedef enum DXGI_RESIDENCY {
- DXGI_RESIDENCY_FULLY_RESIDENT = 1,
- DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY = 2,
- DXGI_RESIDENCY_EVICTED_TO_DISK = 3,
+ DXGI_RESIDENCY_FULLY_RESIDENT = 1,
+ DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY = 2,
+ DXGI_RESIDENCY_EVICTED_TO_DISK = 3,
} DXGI_RESIDENCY;
typedef struct DXGI_SURFACE_DESC {
- UINT Width;
- UINT Height;
- DXGI_FORMAT Format;
- DXGI_SAMPLE_DESC SampleDesc;
+ UINT Width;
+ UINT Height;
+ DXGI_FORMAT Format;
+ DXGI_SAMPLE_DESC SampleDesc;
} DXGI_SURFACE_DESC;
typedef struct DXGI_MAPPED_RECT {
- INT Pitch;
- BYTE *pBits;
+ INT Pitch;
+ BYTE *pBits;
} DXGI_MAPPED_RECT;
typedef struct DXGI_OUTPUT_DESC {
- WCHAR DeviceName[32];
- RECT DesktopCoordinates;
- BOOL AttachedToDesktop;
- DXGI_MODE_ROTATION Rotation;
- HMONITOR Monitor;
+ WCHAR DeviceName[32];
+ RECT DesktopCoordinates;
+ BOOL AttachedToDesktop;
+ DXGI_MODE_ROTATION Rotation;
+ HMONITOR Monitor;
} DXGI_OUTPUT_DESC;
typedef struct DXGI_FRAME_STATISTICS {
- UINT PresentCount;
- UINT PresentRefreshCount;
- UINT SyncRefreshCount;
- LARGE_INTEGER SyncQPCTime;
- LARGE_INTEGER SyncGPUTime;
+ UINT PresentCount;
+ UINT PresentRefreshCount;
+ UINT SyncRefreshCount;
+ LARGE_INTEGER SyncQPCTime;
+ LARGE_INTEGER SyncGPUTime;
} DXGI_FRAME_STATISTICS;
typedef struct DXGI_ADAPTER_DESC {
- WCHAR Description[128];
- UINT VendorId;
- UINT DeviceId;
- UINT SubSysId;
- UINT Revision;
- SIZE_T DedicatedVideoMemory;
- SIZE_T DedicatedSystemMemory;
- SIZE_T SharedSystemMemory;
- LUID AdapterLuid;
+ WCHAR Description[128];
+ UINT VendorId;
+ UINT DeviceId;
+ UINT SubSysId;
+ UINT Revision;
+ SIZE_T DedicatedVideoMemory;
+ SIZE_T DedicatedSystemMemory;
+ SIZE_T SharedSystemMemory;
+ LUID AdapterLuid;
} DXGI_ADAPTER_DESC;
typedef struct DXGI_SWAP_CHAIN_DESC {
- DXGI_MODE_DESC BufferDesc;
- DXGI_SAMPLE_DESC SampleDesc;
- DXGI_USAGE BufferUsage;
- UINT BufferCount;
- HWND OutputWindow;
- BOOL Windowed;
- DXGI_SWAP_EFFECT SwapEffect;
- UINT Flags;
+ DXGI_MODE_DESC BufferDesc;
+ DXGI_SAMPLE_DESC SampleDesc;
+ DXGI_USAGE BufferUsage;
+ UINT BufferCount;
+ HWND OutputWindow;
+ BOOL Windowed;
+ DXGI_SWAP_EFFECT SwapEffect;
+ UINT Flags;
} DXGI_SWAP_CHAIN_DESC;
typedef struct DXGI_SHARED_RESOURCE {
- HANDLE Handle;
+ HANDLE Handle;
} DXGI_SHARED_RESOURCE;
[
- object,
- local,
- uuid(aec22fb8-76f3-4639-9be0-28eb43a67a2e)
+ object,
+ local,
+ uuid(aec22fb8-76f3-4639-9be0-28eb43a67a2e)
]
interface IDXGIObject : IUnknown
{
- HRESULT SetPrivateData(
- [in] REFGUID guid,
- [in] UINT data_size,
- [in] const void *data
- );
- HRESULT SetPrivateDataInterface(
- [in] REFGUID guid,
- [in] const IUnknown *object
- );
- HRESULT GetPrivateData(
- [in] REFGUID guid,
- [in, out] UINT *data_size,
- [out] void *data
- );
- HRESULT GetParent(
- [in] REFIID riid,
- [out] void **parent
- );
+ HRESULT SetPrivateData(
+ [in] REFGUID guid,
+ [in] UINT data_size,
+ [in] const void *data
+ );
+ HRESULT SetPrivateDataInterface(
+ [in] REFGUID guid,
+ [in] const IUnknown *object
+ );
+ HRESULT GetPrivateData(
+ [in] REFGUID guid,
+ [in, out] UINT *data_size,
+ [out] void *data
+ );
+ HRESULT GetParent(
+ [in] REFIID riid,
+ [out] void **parent
+ );
}
[
- object,
- local,
- uuid(3d3e0379-f9de-4d58-bb6c-18d62992f1a6)
+ object,
+ local,
+ uuid(3d3e0379-f9de-4d58-bb6c-18d62992f1a6)
]
interface IDXGIDeviceSubObject : IDXGIObject
{
- HRESULT GetDevice(
- [in] REFIID riid,
- [out] void **device
- );
+ HRESULT GetDevice(
+ [in] REFIID riid,
+ [out] void **device
+ );
}
[
- object,
- local,
- uuid(cafcb56c-6ac3-4889-bf47-9e23bbd260ec)
+ object,
+ local,
+ uuid(cafcb56c-6ac3-4889-bf47-9e23bbd260ec)
]
interface IDXGISurface : IDXGIDeviceSubObject
{
- HRESULT GetDesc(
- [out] DXGI_SURFACE_DESC *desc
- );
- HRESULT Map(
- [out] DXGI_MAPPED_RECT *mapped_rect,
- [in] UINT flags
- );
- HRESULT Unmap(
- );
+ HRESULT GetDesc(
+ [out] DXGI_SURFACE_DESC *desc
+ );
+ HRESULT Map(
+ [out] DXGI_MAPPED_RECT *mapped_rect,
+ [in] UINT flags
+ );
+ HRESULT Unmap(
+ );
}
[
- object,
- local,
- uuid(ae02eedb-c735-4690-8d52-5a8dc20213aa)
+ object,
+ local,
+ uuid(ae02eedb-c735-4690-8d52-5a8dc20213aa)
]
interface IDXGIOutput : IDXGIObject
{
- HRESULT GetDesc(
- [out] DXGI_OUTPUT_DESC *desc
- );
- HRESULT GetDisplayModeList(
- [in] DXGI_FORMAT format,
- [in] UINT flags,
- [in, out] UINT *mode_count,
- [out] DXGI_MODE_DESC *desc
- );
- HRESULT FindClosestMatchingMode(
- [in] const DXGI_MODE_DESC *mode,
- [out] DXGI_MODE_DESC *closest_match,
- [in] IUnknown *device
- );
- HRESULT WaitForVBlank(
- );
- HRESULT TakeOwnership(
- [in] IUnknown *device,
- [in] BOOL exclusive
- );
- void ReleaseOwnership(
- );
- HRESULT GetGammaControlCapabilities(
- [out] DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps
- );
- HRESULT SetGammaControl(
- [in] const DXGI_GAMMA_CONTROL *gamma_control
- );
- HRESULT GetGammaControl(
- [out] DXGI_GAMMA_CONTROL *gamma_control
- );
- HRESULT SetDisplaySurface(
- [in] IDXGISurface *surface
- );
- HRESULT GetDisplaySurfaceData(
- [in] IDXGISurface *surface
- );
- HRESULT GetFrameStatistics(
- [out] DXGI_FRAME_STATISTICS *stats
- );
+ HRESULT GetDesc(
+ [out] DXGI_OUTPUT_DESC *desc
+ );
+ HRESULT GetDisplayModeList(
+ [in] DXGI_FORMAT format,
+ [in] UINT flags,
+ [in, out] UINT *mode_count,
+ [out] DXGI_MODE_DESC *desc
+ );
+ HRESULT FindClosestMatchingMode(
+ [in] const DXGI_MODE_DESC *mode,
+ [out] DXGI_MODE_DESC *closest_match,
+ [in] IUnknown *device
+ );
+ HRESULT WaitForVBlank(
+ );
+ HRESULT TakeOwnership(
+ [in] IUnknown *device,
+ [in] BOOL exclusive
+ );
+ void ReleaseOwnership(
+ );
+ HRESULT GetGammaControlCapabilities(
+ [out] DXGI_GAMMA_CONTROL_CAPABILITIES *gamma_caps
+ );
+ HRESULT SetGammaControl(
+ [in] const DXGI_GAMMA_CONTROL *gamma_control
+ );
+ HRESULT GetGammaControl(
+ [out] DXGI_GAMMA_CONTROL *gamma_control
+ );
+ HRESULT SetDisplaySurface(
+ [in] IDXGISurface *surface
+ );
+ HRESULT GetDisplaySurfaceData(
+ [in] IDXGISurface *surface
+ );
+ HRESULT GetFrameStatistics(
+ [out] DXGI_FRAME_STATISTICS *stats
+ );
}
[
- object,
- local,
- uuid(2411e7e1-12ac-4ccf-bd14-9798e8534dc0)
+ object,
+ local,
+ uuid(2411e7e1-12ac-4ccf-bd14-9798e8534dc0)
]
interface IDXGIAdapter : IDXGIObject
{
- HRESULT EnumOutputs(
- [in] UINT output_idx,
- [in, out] IDXGIOutput **output
- );
- HRESULT GetDesc(
- [out] DXGI_ADAPTER_DESC *desc
- );
- HRESULT CheckInterfaceSupport(
- [in] REFGUID guid,
- [out] LARGE_INTEGER *umd_version
- );
+ HRESULT EnumOutputs(
+ [in] UINT output_idx,
+ [in, out] IDXGIOutput **output
+ );
+ HRESULT GetDesc(
+ [out] DXGI_ADAPTER_DESC *desc
+ );
+ HRESULT CheckInterfaceSupport(
+ [in] REFGUID guid,
+ [out] LARGE_INTEGER *umd_version
+ );
}
[
- object,
- local,
- uuid(310d36a0-d2e7-4c0a-aa04-6a9d23b8886a)
+ object,
+ local,
+ uuid(310d36a0-d2e7-4c0a-aa04-6a9d23b8886a)
]
interface IDXGISwapChain : IDXGIDeviceSubObject
{
- HRESULT Present(
- [in] UINT sync_interval,
- [in] UINT flags
- );
- HRESULT GetBuffer(
- [in] UINT buffer_idx,
- [in] REFIID riid,
- [in, out] void **surface
- );
- HRESULT SetFullscreenState(
- [in] BOOL fullscreen,
- [in] IDXGIOutput *target
- );
- HRESULT GetFullscreenState(
- [out] BOOL *fullscreen,
- [out] IDXGIOutput **target
- );
- HRESULT GetDesc(
- [out] DXGI_SWAP_CHAIN_DESC *desc
- );
- HRESULT ResizeBuffers(
- [in] UINT buffer_count,
- [in] UINT width,
- [in] UINT height,
- [in] DXGI_FORMAT format,
- [in] UINT flags
- );
- HRESULT ResizeTarget(
- [in] const DXGI_MODE_DESC *target_mode_desc
- );
- HRESULT GetContainingOutput(
- [out] IDXGIOutput **output
- );
- HRESULT GetFrameStatistics(
- [out] DXGI_FRAME_STATISTICS *stats
- );
- HRESULT GetLastPresentCount(
- [out] UINT *last_present_count
- );
+ HRESULT Present(
+ [in] UINT sync_interval,
+ [in] UINT flags
+ );
+ HRESULT GetBuffer(
+ [in] UINT buffer_idx,
+ [in] REFIID riid,
+ [in, out] void **surface
+ );
+ HRESULT SetFullscreenState(
+ [in] BOOL fullscreen,
+ [in] IDXGIOutput *target
+ );
+ HRESULT GetFullscreenState(
+ [out] BOOL *fullscreen,
+ [out] IDXGIOutput **target
+ );
+ HRESULT GetDesc(
+ [out] DXGI_SWAP_CHAIN_DESC *desc
+ );
+ HRESULT ResizeBuffers(
+ [in] UINT buffer_count,
+ [in] UINT width,
+ [in] UINT height,
+ [in] DXGI_FORMAT format,
+ [in] UINT flags
+ );
+ HRESULT ResizeTarget(
+ [in] const DXGI_MODE_DESC *target_mode_desc
+ );
+ HRESULT GetContainingOutput(
+ [out] IDXGIOutput **output
+ );
+ HRESULT GetFrameStatistics(
+ [out] DXGI_FRAME_STATISTICS *stats
+ );
+ HRESULT GetLastPresentCount(
+ [out] UINT *last_present_count
+ );
}
[
- object,
- local,
- uuid(7b7166ec-21c7-44ae-b21a-c9ae321ae369)
+ object,
+ local,
+ uuid(7b7166ec-21c7-44ae-b21a-c9ae321ae369)
]
interface IDXGIFactory : IDXGIObject
{
- HRESULT EnumAdapters(
- [in] UINT adapter_idx,
- [out] IDXGIAdapter **adapter
- );
- HRESULT MakeWindowAssociation(
- [in] HWND window,
- [in] UINT flags
- );
- HRESULT GetWindowAssociation(
- [in] HWND *window
- );
- HRESULT CreateSwapChain(
- [in] IUnknown *device,
- [in] DXGI_SWAP_CHAIN_DESC *desc,
- [out] IDXGISwapChain **swapchain
- );
- HRESULT CreateSoftwareAdapter(
- [in] HMODULE swrast,
- [out] IDXGIAdapter **adapter
- );
+ HRESULT EnumAdapters(
+ [in] UINT adapter_idx,
+ [out] IDXGIAdapter **adapter
+ );
+ HRESULT MakeWindowAssociation(
+ [in] HWND window,
+ [in] UINT flags
+ );
+ HRESULT GetWindowAssociation(
+ [in] HWND *window
+ );
+ HRESULT CreateSwapChain(
+ [in] IUnknown *device,
+ [in] DXGI_SWAP_CHAIN_DESC *desc,
+ [out] IDXGISwapChain **swapchain
+ );
+ HRESULT CreateSoftwareAdapter(
+ [in] HMODULE swrast,
+ [out] IDXGIAdapter **adapter
+ );
}
[local] HRESULT CreateDXGIFactory(REFIID riid, void **factory);
[
- object,
- local,
- uuid(54ec77fa-1377-44e6-8c32-88fd5f44c84c)
+ object,
+ local,
+ uuid(54ec77fa-1377-44e6-8c32-88fd5f44c84c)
]
interface IDXGIDevice : IDXGIObject
{
- HRESULT GetAdapter(
- [out] IDXGIAdapter **adapter
- );
- HRESULT CreateSurface(
- [in] const DXGI_SURFACE_DESC *desc,
- [in] UINT surface_count,
- [in] DXGI_USAGE usage,
- [in] const DXGI_SHARED_RESOURCE *shared_resource,
- [out] IDXGISurface **surface
- );
- HRESULT QueryResourceResidency(
- [in] IUnknown *const *resources,
- [out] DXGI_RESIDENCY *residency,
- [in] UINT resource_count
- );
- HRESULT SetGPUThreadPriority(
- [in] INT priority
- );
- HRESULT GetGPUThreadPriority(
- [out] INT *priority
- );
+ HRESULT GetAdapter(
+ [out] IDXGIAdapter **adapter
+ );
+ HRESULT CreateSurface(
+ [in] const DXGI_SURFACE_DESC *desc,
+ [in] UINT surface_count,
+ [in] DXGI_USAGE usage,
+ [in] const DXGI_SHARED_RESOURCE *shared_resource,
+ [out] IDXGISurface **surface
+ );
+ HRESULT QueryResourceResidency(
+ [in] IUnknown *const *resources,
+ [out] DXGI_RESIDENCY *residency,
+ [in] UINT resource_count
+ );
+ HRESULT SetGPUThreadPriority(
+ [in] INT priority
+ );
+ HRESULT GetGPUThreadPriority(
+ [out] INT *priority
+ );
}
@@ -415,7 +415,7 @@ interface IDXGIResource : IDXGIDeviceSubObject
);
HRESULT SetEvictionPriority(
- [in] UINT EvictionPriority
+ [in] UINT EvictionPriority
);
HRESULT GetEvictionPriority(
@@ -427,11 +427,11 @@ interface IDXGIResource : IDXGIDeviceSubObject
interface IDXGISurface1 : IDXGISurface
{
HRESULT GetDC(
- [in] BOOL Discard,
+ [in] BOOL Discard,
[out] HDC *phdc
);
- HRESULT ReleaseDC(
+ HRESULT ReleaseDC(
[in, optional] RECT *pDirtyRect
);
};
@@ -460,7 +460,7 @@ interface IDXGIAdapter1 : IDXGIAdapter
interface IDXGIFactory1 : IDXGIFactory
{
HRESULT EnumAdapters1(
- [in] UINT Adapter,
+ [in] UINT Adapter,
[out] IDXGIAdapter1 **ppAdapter
);
diff --git a/src/gallium/state_trackers/d3d1x/d3dapi/dxgitype.idl b/src/gallium/state_trackers/d3d1x/d3dapi/dxgitype.idl
index 95844076936..31eba08cff3 100644
--- a/src/gallium/state_trackers/d3d1x/d3dapi/dxgitype.idl
+++ b/src/gallium/state_trackers/d3d1x/d3dapi/dxgitype.idl
@@ -8,7 +8,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
@@ -24,61 +24,61 @@ import "ocidl.idl";
import "dxgiformat.idl";
typedef struct DXGI_SAMPLE_DESC {
- UINT Count;
- UINT Quality;
+ UINT Count;
+ UINT Quality;
} DXGI_SAMPLE_DESC;
typedef enum DXGI_MODE_ROTATION {
- DXGI_MODE_ROTATION_UNSPECIFIED = 0,
- DXGI_MODE_ROTATION_IDENTITY = 1,
- DXGI_MODE_ROTATION_ROTATE90 = 2,
- DXGI_MODE_ROTATION_ROTATE180 = 3,
- DXGI_MODE_ROTATION_ROTATE270 = 4,
+ DXGI_MODE_ROTATION_UNSPECIFIED = 0,
+ DXGI_MODE_ROTATION_IDENTITY = 1,
+ DXGI_MODE_ROTATION_ROTATE90 = 2,
+ DXGI_MODE_ROTATION_ROTATE180 = 3,
+ DXGI_MODE_ROTATION_ROTATE270 = 4,
} DXGI_MODE_ROTATION;
typedef enum DXGI_MODE_SCANLINE_ORDER {
- DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0,
- DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 1,
- DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 2,
- DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 3,
+ DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0,
+ DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 1,
+ DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 2,
+ DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 3,
} DXGI_MODE_SCANLINE_ORDER;
typedef enum DXGI_MODE_SCALING {
- DXGI_MODE_SCALING_UNSPECIFIED = 0,
- DXGI_MODE_SCALING_CENTERED = 1,
- DXGI_MODE_SCALING_STRETCHED = 2,
+ DXGI_MODE_SCALING_UNSPECIFIED = 0,
+ DXGI_MODE_SCALING_CENTERED = 1,
+ DXGI_MODE_SCALING_STRETCHED = 2,
} DXGI_MODE_SCALING;
typedef struct DXGI_RATIONAL {
- UINT Numerator;
- UINT Denominator;
+ UINT Numerator;
+ UINT Denominator;
} DXGI_RATIONAL;
typedef struct DXGI_MODE_DESC {
- UINT Width;
- UINT Height;
- DXGI_RATIONAL RefreshRate;
- DXGI_FORMAT Format;
- DXGI_MODE_SCANLINE_ORDER ScanlineOrdering;
- DXGI_MODE_SCALING Scaling;
+ UINT Width;
+ UINT Height;
+ DXGI_RATIONAL RefreshRate;
+ DXGI_FORMAT Format;
+ DXGI_MODE_SCANLINE_ORDER ScanlineOrdering;
+ DXGI_MODE_SCALING Scaling;
} DXGI_MODE_DESC;
typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES {
- BOOL ScaleAndOffsetSupported;
- float MaxConvertedValue;
- float MinConvertedValue;
- UINT NumGammaControlPoints;
- float ControlPointPositions[1025];
+ BOOL ScaleAndOffsetSupported;
+ float MaxConvertedValue;
+ float MinConvertedValue;
+ UINT NumGammaControlPoints;
+ float ControlPointPositions[1025];
} DXGI_GAMMA_CONTROL_CAPABILITIES;
typedef struct DXGI_RGB {
- float Red;
- float Green;
- float Blue;
+ float Red;
+ float Green;
+ float Blue;
} DXGI_RGB;
typedef struct DXGI_GAMMA_CONTROL {
- DXGI_RGB Scale;
- DXGI_RGB Offset;
- DXGI_RGB GammaCurve[1025];
+ DXGI_RGB Scale;
+ DXGI_RGB Offset;
+ DXGI_RGB GammaCurve[1025];
} DXGI_GAMMA_CONTROL;