• Home
  • Raw
  • Download

Lines Matching refs:level

33 		for(unsigned int level = 0; level < sw::MIPMAP_LEVELS; level++)  in Direct3DTexture9()  local
35 if(level < this->levels) in Direct3DTexture9()
37 …surfaceLevel[level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMULTISAMP… in Direct3DTexture9()
38 surfaceLevel[level]->bind(); in Direct3DTexture9()
42 surfaceLevel[level] = 0; in Direct3DTexture9()
52 for(int level = 0; level < sw::MIPMAP_LEVELS; level++) in ~Direct3DTexture9() local
54 if(surfaceLevel[level]) in ~Direct3DTexture9()
56 surfaceLevel[level]->unbind(); in ~Direct3DTexture9()
57 surfaceLevel[level] = 0; in ~Direct3DTexture9()
238 long Direct3DTexture9::GetLevelDesc(unsigned int level, D3DSURFACE_DESC *description) in GetLevelDesc() argument
242 TRACE("unsigned int level = %d, D3DSURFACE_DESC *description = 0x%0.8p", level, description); in GetLevelDesc()
244 if(!description || level >= GetLevelCount() || !surfaceLevel[level]) in GetLevelDesc()
249 return surfaceLevel[level]->GetDesc(description); in GetLevelDesc()
252 …long Direct3DTexture9::LockRect(unsigned int level, D3DLOCKED_RECT *lockedRect, const RECT *rect, … in LockRect() argument
256 …kedRect = 0x%0.8p, const RECT *rect = 0x%0.8p, unsigned long flags = %d", level, lockedRect, rect,… in LockRect()
258 if(!lockedRect || level >= GetLevelCount() || !surfaceLevel[level]) in LockRect()
263 return surfaceLevel[level]->LockRect(lockedRect, rect, flags); in LockRect()
266 long Direct3DTexture9::GetSurfaceLevel(unsigned int level, IDirect3DSurface9 **surface) in GetSurfaceLevel() argument
270 TRACE("unsigned int level = %d, IDirect3DSurface9 **surface = 0x%0.8p", level, surface); in GetSurfaceLevel()
274 if(level >= GetLevelCount() || !surfaceLevel[level]) in GetSurfaceLevel()
279 surfaceLevel[level]->AddRef(); in GetSurfaceLevel()
280 *surface = surfaceLevel[level]; in GetSurfaceLevel()
285 long Direct3DTexture9::UnlockRect(unsigned int level) in UnlockRect() argument
289 TRACE("unsigned int level = %d", level); in UnlockRect()
291 if(level >= GetLevelCount() || !surfaceLevel[level]) in UnlockRect()
296 return surfaceLevel[level]->UnlockRect(); in UnlockRect()
310 Direct3DSurface9 *Direct3DTexture9::getInternalSurfaceLevel(unsigned int level) in getInternalSurfaceLevel() argument
312 return surfaceLevel[level]; in getInternalSurfaceLevel()