Hardware Dev Center

ResizeTilePool routine

Resizes a tile pool.

Syntax


PFND3DWDDM1_3DDI_RESIZETILEPOOL ResizeTilePool;

VOID APIENTRY* ResizeTilePool(
   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 codeDescription
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

Minimum supported server

Windows Server 2012 R2

Target platform

Desktop

Version

WDDM 1.3

Header

D3d10umddi.h (include D3d10umddi.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft