Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 3.55 KB

nc-d3d10umddi-pfnd3d11ddi_calcprivatedeferredcontextsize.md

File metadata and controls

87 lines (60 loc) · 3.55 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE
PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE (d3d10umddi.h)
The CalcPrivateDeferredContextSize function determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory) for a deferred context.
display\calcprivatedeferredcontextsize.htm
05/10/2018
PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE callback function
CalcPrivateDeferredContextSize, CalcPrivateDeferredContextSize callback function [Display Devices], PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE, PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE callback, UserModeDisplayDriverDx11_Functions_577f34a4-1f2e-4666-8bce-00dc6e52c2e6.xml, d3d10umddi/CalcPrivateDeferredContextSize, display.calcprivatedeferredcontextsize
d3d10umddi.h
D3d10umddi.h
Desktop
CalcPrivateDeferredContextSize is supported beginning with the Windows 7 operating system.
Windows
display
PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE
d3d10umddi/PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE

PFND3D11DDI_CALCPRIVATEDEFERREDCONTEXTSIZE callback function

-description

The CalcPrivateDeferredContextSize function determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory) for a deferred context.

-parameters

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-param unnamedParam2

pCalcPrivateDeferredContextSize [in]

A pointer to a D3D11DDIARG_CALCPRIVATEDEFERREDCONTEXTSIZE structure that describes the parameters that the user-mode display driver uses to calculate the size of the memory region.

-returns

CalcPrivateDeferredContextSize returns the size of the memory region that the driver requires to create a deferred context.

-remarks

The driver is only required to implement CalcPrivateDeferredContextSize if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability that can be returned in the D3D11DDI_THREADING_CAPS structure from a call to the GetCaps(D3D10_2) function.

-see-also

D3D11DDIARG_CALCPRIVATEDEFERREDCONTEXTSIZE

D3D11DDI_DEVICEFUNCS

D3D11DDI_THREADING_CAPS

GetCaps(D3D10_2)