• Home
  • Raw
  • Download

Lines Matching refs:level

37 			for(unsigned int level = 0; level < sw::MIPMAP_LEVELS; level++)  in Direct3DCubeTexture8()  local
39 if(level < this->levels) in Direct3DCubeTexture8()
41 …surfaceLevel[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()
59 for(int level = 0; level < sw::MIPMAP_LEVELS; level++) in ~Direct3DCubeTexture8() local
61 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture8()
63 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture8()
64 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture8()
190 …long Direct3DCubeTexture8::GetCubeMapSurface(D3DCUBEMAP_FACES face, unsigned int level , IDirect3D… in GetCubeMapSurface() argument
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()
207 long Direct3DCubeTexture8::GetLevelDesc(unsigned int level, D3DSURFACE_DESC *description) in GetLevelDesc() argument
211 if(!description || level >= GetLevelCount() || !surfaceLevel[0][level]) in GetLevelDesc()
216 surfaceLevel[0][level]->GetDesc(description); in GetLevelDesc()
221 …long Direct3DCubeTexture8::LockRect(D3DCUBEMAP_FACES face, unsigned int level, D3DLOCKED_RECT *loc… in LockRect() argument
225 if(!lockedRect || face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in LockRect()
230 surfaceLevel[face][level]->LockRect(lockedRect, rect, flags); in LockRect()
235 long Direct3DCubeTexture8::UnlockRect(D3DCUBEMAP_FACES face, unsigned int level) in UnlockRect() argument
239 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in UnlockRect()
244 return surfaceLevel[face][level]->UnlockRect(); in UnlockRect()
247 …urface8 *Direct3DCubeTexture8::getInternalCubeMapSurface(D3DCUBEMAP_FACES face, unsigned int level) in getInternalCubeMapSurface() argument
249 return surfaceLevel[face][level]; in getInternalCubeMapSurface()