PFND3DWDDM1_3DDI_RESIZETILEPOOL callback function

Resizes a tile pool.

Syntax

PFND3DWDDM1_3DDI_RESIZETILEPOOL Pfnd3dwddm13DdiResizetilepool;

void Pfnd3dwddm13DdiResizetilepool(
  D3D10DDI_HDEVICE hDevice,
  D3D10DDI_HRESOURCE hTilePool,
  UINT64 NewSizeInBytes
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

hTilePool

A handle to the tile pool to resize.

NewSizeInBytes

The new size, in bytes, of the tile pool. The size must be a multiple of 64 KB or zero.

Return Value

None

The driver can use the pfnSetErrorCb callback function to set an error code. Returns S_OK if successful; otherwise, returns one of the following:

|Return code|Description| |--- |--- | |E_INVALIDARG|The new tile pool size isn't a multiple of 64 KB or zero. The existing tile pool remains unchanged, which includes existing mappings.| |E_OUTOFMEMORY|The driver had to allocate space for new page table mappings but ran out of memory. The existing tile pool remains unchanged, which includes existing mappings.|  

The Direct3D runtime performs minimal validation of parameters, but it will fail the call if the new tile pool size isn't a multiple of the tile size, or zero.

Requirements

   
Minimum supported client Windows 8.1,WDDM 1.3
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)