Searched refs:surfaceLevel (Results 1 - 13 of 13) sorted by relevance

/external/swiftshader/src/D3D8/
H A DDirect3DCubeTexture8.cpp41 surfaceLevel[face][level] = new Direct3DSurface8(device, this, width, height, format, pool, D3DMULTISAMPLE_NONE, true, usage);
42 surfaceLevel[face][level]->bind();
46 surfaceLevel[face][level] = 0;
61 if(surfaceLevel[face][level])
63 surfaceLevel[face][level]->unbind();
64 surfaceLevel[face][level] = 0;
196 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level])
201 surfaceLevel[face][level]->AddRef();
202 *cubeMapSurface = surfaceLevel[face][level];
211 if(!description || level >= GetLevelCount() || !surfaceLevel[
[all...]
H A DDirect3DTexture8.cpp36 surfaceLevel[level] = new Direct3DSurface8(device, this, width, height, format, pool, D3DMULTISAMPLE_NONE, true, usage);
37 surfaceLevel[level]->bind();
41 surfaceLevel[level] = 0;
53 if(surfaceLevel[level])
55 surfaceLevel[level]->unbind();
56 surfaceLevel[level] = 0;
176 if(level >= GetLevelCount() || !surfaceLevel[level])
181 return surfaceLevel[level]->GetDesc(description);
188 if(!lockedRect || level >= GetLevelCount() || !surfaceLevel[level])
193 return surfaceLevel[leve
[all...]
H A DDirect3DTexture8.hpp72 Direct3DSurface8 *surfaceLevel[sw::MIPMAP_LEVELS]; member in class:D3D8::Direct3DTexture8
H A DDirect3DCubeTexture8.hpp71 Direct3DSurface8 *surfaceLevel[6][sw::MIPMAP_LEVELS]; member in class:D3D8::Direct3DCubeTexture8
H A DDirect3DDevice8.cpp4751 int surfaceLevel = mipmapLevel; local
4753 if(surfaceLevel < LOD)
4755 surfaceLevel = LOD;
4758 if(surfaceLevel < 0)
4760 surfaceLevel = 0;
4762 else if(surfaceLevel >= levelCount)
4764 surfaceLevel = levelCount - 1;
4767 surface = texture->getInternalSurfaceLevel(surfaceLevel);
4780 int surfaceLevel = mipmapLevel; local
4782 if(surfaceLevel < LO
4808 int surfaceLevel = mipmapLevel; local
[all...]
/external/swiftshader/src/D3D9/
H A DDirect3DCubeTexture9.cpp42 surfaceLevel[face][level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMULTISAMPLE_NONE, 0, false, usage);
43 surfaceLevel[face][level]->bind();
47 surfaceLevel[face][level] = 0;
62 if(surfaceLevel[face][level])
64 surfaceLevel[face][level]->unbind();
65 surfaceLevel[face][level] = 0;
194 if(!surfaceLevel[face][0]->hasDirtyMipmaps())
201 device->stretchRect(surfaceLevel[face][i], 0, surfaceLevel[face][i + 1], 0, GetAutoGenFilterType());
204 surfaceLevel[fac
[all...]
H A DDirect3DTexture9.cpp37 surfaceLevel[level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMULTISAMPLE_NONE, 0, false, usage);
38 surfaceLevel[level]->bind();
42 surfaceLevel[level] = 0;
54 if(surfaceLevel[level])
56 surfaceLevel[level]->unbind();
57 surfaceLevel[level] = 0;
176 if(!(usage & D3DUSAGE_AUTOGENMIPMAP) || !surfaceLevel[0]->hasDirtyMipmaps())
185 device->stretchRect(surfaceLevel[i], 0, surfaceLevel[i + 1], 0, GetAutoGenFilterType());
188 surfaceLevel[
[all...]
H A DDirect3DCubeTexture9.hpp72 Direct3DSurface9 *surfaceLevel[6][sw::MIPMAP_LEVELS]; member in class:D3D9::Direct3DCubeTexture9
H A DDirect3DTexture9.hpp73 Direct3DSurface9 *surfaceLevel[sw::MIPMAP_LEVELS]; member in class:D3D9::Direct3DTexture9
H A DDirect3DDevice9.cpp6096 int surfaceLevel = mipmapLevel;
6098 if(surfaceLevel < LOD)
6100 surfaceLevel = LOD;
6103 if(surfaceLevel < 0)
6105 surfaceLevel = 0;
6107 else if(surfaceLevel >= levelCount)
6109 surfaceLevel = levelCount - 1;
6112 surface = texture->getInternalSurfaceLevel(surfaceLevel);
6125 int surfaceLevel = mipmapLevel;
6127 if(surfaceLevel < LO
[all...]
/external/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp3120 int surfaceLevel = mipmapLevel; local
3122 if(surfaceLevel < 0)
3124 surfaceLevel = 0;
3126 else if(surfaceLevel >= levelCount)
3128 surfaceLevel = levelCount - 1;
3131 egl::Image *surface = texture->getImage(surfaceLevel);
3141 int surfaceLevel = mipmapLevel; local
3143 if(surfaceLevel < 0)
3145 surfaceLevel = 0;
3147 else if(surfaceLevel >
3162 int surfaceLevel = mipmapLevel; local
3185 int surfaceLevel = mipmapLevel; local
[all...]
/external/swiftshader/src/OpenGL/libGL/
H A DContext.cpp2120 int surfaceLevel = mipmapLevel; local
2122 if(surfaceLevel < 0)
2124 surfaceLevel = 0;
2126 else if(surfaceLevel >= levelCount)
2128 surfaceLevel = levelCount - 1;
2131 Image *surface = texture->getImage(surfaceLevel);
2143 int surfaceLevel = mipmapLevel; local
2145 if(surfaceLevel < 0)
2147 surfaceLevel = 0;
2149 else if(surfaceLevel >
[all...]
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DContext.cpp2369 int surfaceLevel = mipmapLevel; local
2371 if(surfaceLevel < 0)
2373 surfaceLevel = 0;
2375 else if(surfaceLevel >= levelCount)
2377 surfaceLevel = levelCount - 1;
2380 egl::Image *surface = texture->getImage(surfaceLevel);

Completed in 514 milliseconds