Lines Matching refs:sourceDescription
1809 D3DSURFACE_DESC sourceDescription; in GetRenderTargetData() local
1812 renderTarget->GetDesc(&sourceDescription); in GetRenderTargetData()
1815 if(sourceDescription.Width != destinationDescription.Width || in GetRenderTargetData()
1816 sourceDescription.Height != destinationDescription.Height || in GetRenderTargetData()
1817 sourceDescription.Format != destinationDescription.Format || in GetRenderTargetData()
1818 sourceDescription.MultiSampleType != D3DMULTISAMPLE_NONE) in GetRenderTargetData()
1823 if(sourceDescription.Format == D3DFMT_A8R8G8B8 || in GetRenderTargetData()
1824 sourceDescription.Format == D3DFMT_X8R8G8B8) in GetRenderTargetData()
1837 update.width = sourceDescription.Width; in GetRenderTargetData()
1838 update.height = sourceDescription.Height; in GetRenderTargetData()
5357 D3DSURFACE_DESC sourceDescription; in StretchRect() local
5360 sourceSurface->GetDesc(&sourceDescription); in StretchRect()
5363 if(sourceDescription.Pool != D3DPOOL_DEFAULT || destDescription.Pool != D3DPOOL_DEFAULT) in StretchRect()
5396 D3DSURFACE_DESC sourceDescription; in UpdateSurface() local
5399 sourceSurface->GetDesc(&sourceDescription); in UpdateSurface()
5416 sRect.right = sourceDescription.Width; in UpdateSurface()
5417 sRect.bottom = sourceDescription.Height; in UpdateSurface()
5446 if(sourceDescription.MultiSampleType != D3DMULTISAMPLE_NONE || in UpdateSurface()
5450 sourceDescription.Format != destinationDescription.Format) in UpdateSurface()
5467 switch(sourceDescription.Format) in UpdateSurface()
5487 bytes = width * Direct3DSurface9::bytes(sourceDescription.Format); in UpdateSurface()
5490 if(sourceDescription.Format == D3DFMT_ATI1 || sourceDescription.Format == D3DFMT_ATI2) in UpdateSurface()
6207 D3DSURFACE_DESC sourceDescription; in stretchRect() local
6210 source->GetDesc(&sourceDescription); in stretchRect()
6239 bool depthStencil = (sourceDescription.Usage & D3DUSAGE_DEPTHSTENCIL) == D3DUSAGE_DEPTHSTENCIL; in stretchRect()
6242 if((sourceDescription.Format == D3DFMT_A8R8G8B8 && destDescription.Format == D3DFMT_X8R8G8B8) || in stretchRect()
6243 (sourceDescription.Format == D3DFMT_X8R8G8B8 && destDescription.Format == D3DFMT_A8R8G8B8)) in stretchRect()
6338 D3DVOLUME_DESC sourceDescription; in updateVolume() local
6341 sourceVolume->GetDesc(&sourceDescription); in updateVolume()
6344 if(sourceDescription.Pool != D3DPOOL_SYSTEMMEM || in updateVolume()
6346 sourceDescription.Format != destinationDescription.Format || in updateVolume()
6347 sourceDescription.Width != destinationDescription.Width || in updateVolume()
6348 sourceDescription.Height != destinationDescription.Height || in updateVolume()
6349 sourceDescription.Depth != destinationDescription.Depth) in updateVolume()
6366 memcpy(dBuffer, sBuffer, source->getExternalSliceB() * sourceDescription.Depth); in updateVolume()