Home
last modified time | relevance | path

Searched refs:surfaceLevel (Results 1 – 12 of 12) 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()
54 if(surfaceLevel[level]) in ~Direct3DTexture9()
56 surfaceLevel[level]->unbind(); in ~Direct3DTexture9()
57 surfaceLevel[level] = 0; in ~Direct3DTexture9()
176 if(!(usage & D3DUSAGE_AUTOGENMIPMAP) || !surfaceLevel[0]->hasDirtyContents()) in GenerateMipSubLevels()
185 device->stretchRect(surfaceLevel[i], 0, surfaceLevel[i + 1], 0, GetAutoGenFilterType()); in GenerateMipSubLevels()
188 surfaceLevel[0]->markContentsClean(); in GenerateMipSubLevels()
244 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()
62 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture9()
64 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture9()
65 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture9()
194 if(!surfaceLevel[face][0]->hasDirtyContents()) in GenerateMipSubLevels()
201 …device->stretchRect(surfaceLevel[face][i], 0, surfaceLevel[face][i + 1], 0, GetAutoGenFilterType()… in GenerateMipSubLevels()
204 surfaceLevel[face][0]->markContentsClean(); in GenerateMipSubLevels()
274 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in GetCubeMapSurface()
[all …]
DDirect3DDevice9.cpp6097 int surfaceLevel = mipmapLevel; in bindTextures() local
6099 if(surfaceLevel < LOD) in bindTextures()
6101 surfaceLevel = LOD; in bindTextures()
6104 if(surfaceLevel < 0) in bindTextures()
6106 surfaceLevel = 0; in bindTextures()
6108 else if(surfaceLevel >= levelCount) in bindTextures()
6110 surfaceLevel = levelCount - 1; in bindTextures()
6113 surface = texture->getInternalSurfaceLevel(surfaceLevel); in bindTextures()
6126 int surfaceLevel = mipmapLevel; in bindTextures() local
6128 if(surfaceLevel < LOD) in bindTextures()
[all …]
DDirect3DTexture9.hpp73 Direct3DSurface9 *surfaceLevel[sw::MIPMAP_LEVELS]; member in D3D9::Direct3DTexture9
DDirect3DCubeTexture9.hpp72 Direct3DSurface9 *surfaceLevel[6][sw::MIPMAP_LEVELS]; member in D3D9::Direct3DCubeTexture9
/external/swiftshader/src/D3D8/
DDirect3DTexture8.cpp36surfaceLevel[level] = new Direct3DSurface8(device, this, width, height, format, pool, D3DMULTISAMP… in Direct3DTexture8()
37 surfaceLevel[level]->bind(); in Direct3DTexture8()
41 surfaceLevel[level] = 0; in Direct3DTexture8()
53 if(surfaceLevel[level]) in ~Direct3DTexture8()
55 surfaceLevel[level]->unbind(); in ~Direct3DTexture8()
56 surfaceLevel[level] = 0; in ~Direct3DTexture8()
176 if(level >= GetLevelCount() || !surfaceLevel[level]) in GetLevelDesc()
181 return surfaceLevel[level]->GetDesc(description); in GetLevelDesc()
188 if(!lockedRect || level >= GetLevelCount() || !surfaceLevel[level]) in LockRect()
193 return surfaceLevel[level]->LockRect(lockedRect, rect, flags); in LockRect()
[all …]
DDirect3DCubeTexture8.cpp41surfaceLevel[face][level] = new Direct3DSurface8(device, this, width, height, format, pool, D3DMUL… in Direct3DCubeTexture8()
42 surfaceLevel[face][level]->bind(); in Direct3DCubeTexture8()
46 surfaceLevel[face][level] = 0; in Direct3DCubeTexture8()
61 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture8()
63 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture8()
64 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture8()
196 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in GetCubeMapSurface()
201 surfaceLevel[face][level]->AddRef(); in GetCubeMapSurface()
202 *cubeMapSurface = surfaceLevel[face][level]; in GetCubeMapSurface()
211 if(!description || level >= GetLevelCount() || !surfaceLevel[0][level]) in GetLevelDesc()
[all …]
DDirect3DDevice8.cpp4751 int surfaceLevel = mipmapLevel; in bindTextures() local
4753 if(surfaceLevel < LOD) in bindTextures()
4755 surfaceLevel = LOD; in bindTextures()
4758 if(surfaceLevel < 0) in bindTextures()
4760 surfaceLevel = 0; in bindTextures()
4762 else if(surfaceLevel >= levelCount) in bindTextures()
4764 surfaceLevel = levelCount - 1; in bindTextures()
4767 surface = texture->getInternalSurfaceLevel(surfaceLevel); in bindTextures()
4780 int surfaceLevel = mipmapLevel; in bindTextures() local
4782 if(surfaceLevel < LOD) in bindTextures()
[all …]
DDirect3DTexture8.hpp72 Direct3DSurface8 *surfaceLevel[sw::MIPMAP_LEVELS]; member in D3D8::Direct3DTexture8
DDirect3DCubeTexture8.hpp71 Direct3DSurface8 *surfaceLevel[6][sw::MIPMAP_LEVELS]; member in D3D8::Direct3DCubeTexture8
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp3209 int surfaceLevel = mipmapLevel + baseLevel; in applyTexture() local
3211 if(surfaceLevel > maxLevel) in applyTexture()
3213 surfaceLevel = maxLevel; in applyTexture()
3216 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()
3228 int surfaceLevel = mipmapLevel + baseLevel; in applyTexture() local
3230 if(surfaceLevel > maxLevel) in applyTexture()
3232 surfaceLevel = maxLevel; in applyTexture()
3235 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()
3246 int surfaceLevel = mipmapLevel + baseLevel; in applyTexture() local
3248 if(surfaceLevel > maxLevel) in applyTexture()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp2381 int surfaceLevel = mipmapLevel; in applyTexture() local
2383 if(surfaceLevel < 0) in applyTexture()
2385 surfaceLevel = 0; in applyTexture()
2387 else if(surfaceLevel > topLevel) in applyTexture()
2389 surfaceLevel = topLevel; in applyTexture()
2392 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()