/external/swiftshader/src/D3D8/ |
H A D | Direct3DSurface8.cpp | 61 Direct3DSurface8::Direct3DSurface8(Direct3DDevice8 *device, Unknown *container, int width, int height, D3DFORMAT format, D3DPOOL pool, D3DMULTISAMPLE_TYPE multiSample, bool lockable, unsigned long usage) : Surface(getParentResource(container), width, height, sampleCount(multiSample), translateFormat(format), lockable, (usage & D3DUSAGE_RENDERTARGET) == D3DUSAGE_RENDERTARGET || (usage & D3DUSAGE_DEPTHSTENCIL) == D3DUSAGE_DEPTHSTENCIL), device(device), container(container), width(width), height(height), format(format), pool(pool), multiSample(multiSample), lockable(lockable), usage(usage) 237 sw::Format Direct3DSurface8::translateFormat(D3DFORMAT format) function in class:D3D8::Direct3DSurface8 283 return Surface::bytes(translateFormat(format)); 288 return Surface::size(width, height, 1, translateFormat(format));
|
H A D | Direct3DVolume8.cpp | 26 Direct3DVolume8::Direct3DVolume8(Direct3DDevice8 *device, Direct3DVolumeTexture8 *container, int width, int height, int depth, D3DFORMAT format, D3DPOOL pool, bool lockable, unsigned long usage) : Surface(container->getResource(), width, height, depth, translateFormat(format), lockable, false), container(container), width(width), height(height), depth(depth), format(format), pool(pool), lockable(lockable), usage(usage) 190 sw::Format Direct3DVolume8::translateFormat(D3DFORMAT format) function in class:D3D8::Direct3DVolume8 192 return Direct3DSurface8::translateFormat(format); 197 return Surface::size(width, height, depth, translateFormat(format));
|
/external/swiftshader/src/D3D9/ |
H A D | Direct3DSurface9.cpp | 79 Direct3DSurface9::Direct3DSurface9(Direct3DDevice9 *device, Unknown *container, int width, int height, D3DFORMAT format, D3DPOOL pool, D3DMULTISAMPLE_TYPE multiSample, unsigned int quality, bool lockableOverride, unsigned long usage) : Direct3DResource9(device, D3DRTYPE_SURFACE, pool, memoryUsage(width, height, format)), Surface(getParentResource(container), width, height, sampleCount(multiSample, quality), translateFormat(format), isLockable(pool, usage, lockableOverride), (usage & D3DUSAGE_RENDERTARGET) || (usage & D3DUSAGE_DEPTHSTENCIL)), container(container), width(width), height(height), format(format), pool(pool), multiSample(multiSample), quality(quality), lockable(isLockable(pool, usage, lockableOverride)), usage(usage) 342 sw::Format Direct3DSurface9::translateFormat(D3DFORMAT format) function in class:D3D9::Direct3DSurface9 410 return Surface::bytes(translateFormat(format)); 415 return Surface::size(width, height, 1, translateFormat(format));
|
H A D | Direct3DVolume9.cpp | 33 Direct3DVolume9::Direct3DVolume9(Direct3DDevice9 *device, Direct3DVolumeTexture9 *container, int width, int height, int depth, D3DFORMAT format, D3DPOOL pool, unsigned long usage) : device(device), Surface(container->getResource(), width, height, depth, translateFormat(format), isLockable(pool, usage), false), container(container), width(width), height(height), depth(depth), format(format), pool(pool), lockable(isLockable(pool, usage)), usage(usage) 225 sw::Format Direct3DVolume9::translateFormat(D3DFORMAT format) function in class:D3D9::Direct3DVolume9 227 return Direct3DSurface9::translateFormat(format); 232 return Surface::size(width, height, depth, translateFormat(format));
|