Home
last modified time | relevance | path

Searched refs:surfaceLevel (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/src/D3D9/
DDirect3DTexture9.cpp37surfaceLevel[level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMULTISAMP… in Direct3DTexture9()
38 surfaceLevel[level]->bind(); in Direct3DTexture9()
42 surfaceLevel[level] = 0; in Direct3DTexture9()
56 if(surfaceLevel[level]) in ~Direct3DTexture9()
58 surfaceLevel[level]->unbind(); in ~Direct3DTexture9()
59 surfaceLevel[level] = 0; in ~Direct3DTexture9()
180 if(!(usage & D3DUSAGE_AUTOGENMIPMAP) || !surfaceLevel[0]->hasDirtyMipmaps()) in GenerateMipSubLevels()
189 device->stretchRect(surfaceLevel[i], 0, surfaceLevel[i + 1], 0, GetAutoGenFilterType()); in GenerateMipSubLevels()
192 surfaceLevel[0]->cleanMipmaps(); in GenerateMipSubLevels()
248 if(!description || level >= GetLevelCount() || !surfaceLevel[level]) in GetLevelDesc()
[all …]
DDirect3DCubeTexture9.cpp42surfaceLevel[face][level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMUL… in Direct3DCubeTexture9()
43 surfaceLevel[face][level]->bind(); in Direct3DCubeTexture9()
47 surfaceLevel[face][level] = 0; in Direct3DCubeTexture9()
64 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture9()
66 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture9()
67 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture9()
198 if(!surfaceLevel[face][0]->hasDirtyMipmaps()) in GenerateMipSubLevels()
205 …device->stretchRect(surfaceLevel[face][i], 0, surfaceLevel[face][i + 1], 0, GetAutoGenFilterType()… in GenerateMipSubLevels()
208 surfaceLevel[face][0]->cleanMipmaps(); in GenerateMipSubLevels()
278 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in GetCubeMapSurface()
[all …]
DDirect3DTexture9.hpp73 Direct3DSurface9 *surfaceLevel[sw::MIPMAP_LEVELS]; member in D3D9::Direct3DTexture9
DDirect3DCubeTexture9.hpp72 Direct3DSurface9 *surfaceLevel[6][sw::MIPMAP_LEVELS]; member in D3D9::Direct3DCubeTexture9
DDirect3DDevice9.cpp6095 int surfaceLevel = mipmapLevel; in bindTextures() local
6097 if(surfaceLevel < LOD) in bindTextures()
6099 surfaceLevel = LOD; in bindTextures()
6102 if(surfaceLevel < 0) in bindTextures()
6104 surfaceLevel = 0; in bindTextures()
6106 else if(surfaceLevel >= levelCount) in bindTextures()
6108 surfaceLevel = levelCount - 1; in bindTextures()
6111 surface = texture->getInternalSurfaceLevel(surfaceLevel); in bindTextures()
6124 int surfaceLevel = mipmapLevel; in bindTextures() local
6126 if(surfaceLevel < LOD) in bindTextures()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp3129 int surfaceLevel = mipmapLevel; in applyTexture() local
3131 if(surfaceLevel < 0) in applyTexture()
3133 surfaceLevel = 0; in applyTexture()
3135 else if(surfaceLevel >= levelCount) in applyTexture()
3137 surfaceLevel = levelCount - 1; in applyTexture()
3140 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()
3150 int surfaceLevel = mipmapLevel; in applyTexture() local
3152 if(surfaceLevel < 0) in applyTexture()
3154 surfaceLevel = 0; in applyTexture()
3156 else if(surfaceLevel >= levelCount) in applyTexture()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DContext.cpp2120 int surfaceLevel = mipmapLevel; in applyTexture() local
2122 if(surfaceLevel < 0) in applyTexture()
2124 surfaceLevel = 0; in applyTexture()
2126 else if(surfaceLevel >= levelCount) in applyTexture()
2128 surfaceLevel = levelCount - 1; in applyTexture()
2131 Image *surface = texture->getImage(surfaceLevel); in applyTexture()
2143 int surfaceLevel = mipmapLevel; in applyTexture() local
2145 if(surfaceLevel < 0) in applyTexture()
2147 surfaceLevel = 0; in applyTexture()
2149 else if(surfaceLevel >= levelCount) in applyTexture()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp2345 int surfaceLevel = mipmapLevel; in applyTexture() local
2347 if(surfaceLevel < 0) in applyTexture()
2349 surfaceLevel = 0; in applyTexture()
2351 else if(surfaceLevel >= levelCount) in applyTexture()
2353 surfaceLevel = levelCount - 1; in applyTexture()
2356 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()