/external/swiftshader/src/D3D8/ |
Direct3DSurface8.cpp | 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) 62 : Surface(getParentResource(container), width, height, 1, 0, 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) 66 resource = new Direct3DResource8(device, D3DRTYPE_SURFACE, memoryUsage(width, height, multiSample, format)) [all...] |
Direct3DSurface8.hpp | 32 Direct3DSurface8(Direct3DDevice8 *device, Unknown *container, int width, int height, D3DFORMAT format, D3DPOOL pool, D3DMULTISAMPLE_TYPE multiSample, bool lockable, unsigned long usage); 60 static unsigned int memoryUsage(int width, int height, D3DMULTISAMPLE_TYPE multiSample, D3DFORMAT format); // FIXME: Surface::size 68 const D3DMULTISAMPLE_TYPE multiSample;
|
Direct3DDevice8.hpp | 67 long __stdcall CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, IDirect3DSurface8 **surface) override; 71 long __stdcall CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, int lockable, IDirect3DSurface8 **surface) override;
|
Direct3DDevice8.cpp | 569 long Direct3DDevice8::CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, IDirect3DSurface8 **surface) 580 *surface = new Direct3DSurface8(this, this, width, height, format, D3DPOOL_DEFAULT, multiSample, format == D3DFMT_D16_LOCKABLE, D3DUSAGE_DEPTHSTENCIL); 685 long Direct3DDevice8::CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, int lockable, IDirect3DSurface8 **surface) 696 *surface = new Direct3DSurface8(this, this, width, height, format, D3DPOOL_DEFAULT, multiSample, lockable != FALSE, D3DUSAGE_RENDERTARGET); [all...] |
/external/swiftshader/src/D3D9/ |
Direct3DSurface9.cpp | 42 int sampleCount(D3DMULTISAMPLE_TYPE multiSample, unsigned int quality) 44 if(multiSample == D3DMULTISAMPLE_NONMASKABLE) 54 else if(multiSample == D3DMULTISAMPLE_2_SAMPLES) 58 else if(multiSample == D3DMULTISAMPLE_4_SAMPLES) 62 else if(multiSample == D3DMULTISAMPLE_8_SAMPLES) 66 else if(multiSample == D3DMULTISAMPLE_16_SAMPLES) 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) 80 : Direct3DResource9(device, D3DRTYPE_SURFACE, pool, memoryUsage(width, height, multiSample, quality, format)), Surface(getParentResource(container), width, height, 1, 0, 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 [all...] |
Direct3DSurface9.hpp | 31 Direct3DSurface9(Direct3DDevice9 *device, Unknown *container, int width, int height, D3DFORMAT format, D3DPOOL pool, D3DMULTISAMPLE_TYPE multiSample, unsigned int quality, bool lockableOverride, unsigned long usage); 67 static unsigned int memoryUsage(int width, int height, D3DMULTISAMPLE_TYPE multiSample, unsigned int quality, D3DFORMAT format); 74 const D3DMULTISAMPLE_TYPE multiSample;
|
Direct3DDevice9Ex.cpp | 138 long Direct3DDevice9Ex::CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int discard, IDirect3DSurface9 **surface, void **sharedHandle) 140 TRACE("unsigned int width = %d, unsigned int height = %d, D3DFORMAT format = %d, D3DMULTISAMPLE_TYPE multiSample = %d, unsigned long multiSampleQuality = %d, int discard = %d, IDirect3DSurface9 **surface = 0x%0.8p, void **sharedHandle = 0x%0.8p", width, height, format, multiSample, multiSampleQuality, discard, surface, sharedHandle); 142 return Direct3DDevice9::CreateDepthStencilSurface(width, height, format, multiSample, multiSampleQuality, discard, surface, sharedHandle); 173 long Direct3DDevice9Ex::CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int lockable, IDirect3DSurface9 **surface, void **sharedHandle) 175 TRACE("unsigned int width = %d, unsigned int height = %d, D3DFORMAT format = %d, D3DMULTISAMPLE_TYPE multiSample = %d, unsigned long multiSampleQuality = %d, int lockable = %d, IDirect3DSurface9 **surface = 0x%0.8p, void **sharedHandle = 0x%0.8p", width, height, format, multiSample, multiSampleQuality, lockable, surface, sharedHandle); 177 return Direct3DDevice9::CreateRenderTarget(width, height, format, multiSample, multiSampleQuality, lockable, surface, sharedHandle); [all...] |
Direct3DDevice9Ex.hpp | 85 long __stdcall CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int lockable, IDirect3DSurface9 **surface, void **sharedHandle) override; 86 long __stdcall CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int discard, IDirect3DSurface9 **surface, void **sharedHandle) override;
|
Direct3DDevice9.hpp | 71 long __stdcall CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int discard, IDirect3DSurface9 **surface, void **sharedHandle) override; 76 long __stdcall CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int lockable, IDirect3DSurface9 **surface, void **sharedHandle) override;
|
Direct3DDevice9.cpp | 563 long Direct3DDevice9::CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int discard, IDirect3DSurface9 **surface, void **sharedHandle) 567 TRACE("unsigned int width = %d, unsigned int height = %d, D3DFORMAT format = %d, D3DMULTISAMPLE_TYPE multiSample = %d, unsigned long multiSampleQuality = %d, int discard = %d, IDirect3DSurface9 **surface = 0x%0.8p, void **sharedHandle = 0x%0.8p", width, height, format, multiSample, multiSampleQuality, discard, surface, sharedHandle); 602 *surface = new Direct3DSurface9(this, this, width, height, format, D3DPOOL_DEFAULT, multiSample, multiSampleQuality, lockable, D3DUSAGE_DEPTHSTENCIL); 777 long Direct3DDevice9::CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int lockable, IDirect3DSurface9 **surface, void **sharedHandle) 781 TRACE("unsigned int width = %d, unsigned int height = %d, D3DFORMAT format = %d, D3DMULTISAMPLE_TYPE multiSample = %d, unsigned long multiSampleQuality = %d, int lockable = %d, IDirect3DSurface9 **surface = 0x%0.8p, void **sharedHandle = 0x%0.8p", width, height, format, multiSample, multiSampleQuality, lockable, surface, sharedHandle); 790 *surface = new Direct3DSurface9(this, this, width, height, format, D3DPOOL_DEFAULT, multiSample, multiSampleQuality, lockable != FALSE, D3DUSAGE_RENDERTARGET); [all...] |
/external/swiftshader/src/OpenGL/libEGL/ |
Config.h | 35 Config(sw::Format displayFormat, EGLint minSwapInterval, EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint multiSample); 68 EGLint mSampleBuffers; // Number of multisample buffers 93 void add(sw::Format displayFormat, EGLint minSwapInterval, EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint multiSample);
|
Config.cpp | 38 Config::Config(sw::Format displayFormat, EGLint minInterval, EGLint maxInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint multiSample) 39 : mRenderTargetFormat(renderTargetFormat), mDepthStencilFormat(depthStencilFormat), mMultiSample(multiSample) 182 mSampleBuffers = (multiSample > 0) ? 1 : 0; 183 mSamples = multiSample; 331 void ConfigSet::add(sw::Format displayFormat, EGLint minSwapInterval, EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint multiSample) 333 Config conformantConfig(displayFormat, minSwapInterval, maxSwapInterval, renderTargetFormat, depthStencilFormat, multiSample);
|
/external/swiftshader/src/Renderer/ |
QuadRasterizer.cpp | 69 primitive += sizeof(Primitive) * state.multiSample; 125 for(unsigned int q = 1; q < state.multiSample; q++) 138 for(unsigned int q = 1; q < state.multiSample; q++) 149 for(unsigned int q = 0; q < state.multiSample; q++) 153 if(state.multiSample > 1) 162 if(veryEarlyDepthTest && state.multiSample == 1 && !state.depthOverride) 270 for(unsigned int q = 0; q < state.multiSample; q++) 284 for(unsigned int q = 0; q < state.multiSample; q++)
|
SetupProcessor.hpp | 54 unsigned int multiSample : 3; // 1, 2 or 4
|
SetupProcessor.cpp | 94 state.multiSample = context->getMultiSampleCount();
|
PixelProcessor.hpp | 82 unsigned int multiSample : 3;
|
Renderer.cpp | [all...] |
PixelProcessor.cpp | 1027 state.multiSample = context->getMultiSampleCount(); 1030 if(state.multiSample > 1 && context->pixelShader) [all...] |
/external/swiftshader/src/Shader/ |
SetupRoutine.cpp | 181 if(state.multiSample > 1) 200 For(Int q = 0, q < state.multiSample, q++) 212 if(state.multiSample > 1) 225 if(state.multiSample > 1) 254 if(state.multiSample == 1)
|
PixelProgram.cpp | 552 for(unsigned int q = 0; q < state.multiSample; q++) 565 for(unsigned int q = 1; q < state.multiSample; q++) 608 for(unsigned int q = 0; q < state.multiSample; q++) 659 for(unsigned int q = 0; q < state.multiSample; q++) [all...] |
PixelRoutine.cpp | 61 for(unsigned int q = 0; q < state.multiSample; q++) 67 for(unsigned int q = 0; q < state.multiSample; q++) 79 for(unsigned int q = 0; q < state.multiSample; q++) 83 if(state.multiSample > 1) 96 for(unsigned int q = 0; q < state.multiSample; q++) 118 for(unsigned int q = 0; q < state.multiSample; q++) 214 for(unsigned int q = 0; q < state.multiSample; q++) 226 for(unsigned int q = 0; q < state.multiSample; q++) 238 for(unsigned int q = 0; q < state.multiSample; q++) 267 for(unsigned int q = 0; q < state.multiSample; q++ [all...] |
PixelPipeline.cpp | 279 for(unsigned int q = 0; q < state.multiSample; q++) 294 for(unsigned int q = 1; q < state.multiSample; q++) 342 for(unsigned int q = 0; q < state.multiSample; q++) 363 for(unsigned int q = 0; q < state.multiSample; q++) [all...] |