Lines Matching full:multisample
39 int sampleCount(D3DMULTISAMPLE_TYPE multiSample)
41 if(multiSample == D3DMULTISAMPLE_2_SAMPLES)
45 else if(multiSample == D3DMULTISAMPLE_4_SAMPLES)
49 else if(multiSample == D3DMULTISAMPLE_8_SAMPLES)
53 else if(multiSample == D3DMULTISAMPLE_16_SAMPLES)
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)
231 desc->MultiSampleType = multiSample;