Lines Matching refs:surfaceLevel
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()
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()
249 return surfaceLevel[level]->GetDesc(description); in GetLevelDesc()
258 if(!lockedRect || level >= GetLevelCount() || !surfaceLevel[level]) in LockRect()
263 return surfaceLevel[level]->LockRect(lockedRect, rect, flags); in LockRect()
274 if(level >= GetLevelCount() || !surfaceLevel[level]) in GetSurfaceLevel()
279 surfaceLevel[level]->AddRef(); in GetSurfaceLevel()
280 *surface = surfaceLevel[level]; in GetSurfaceLevel()
291 if(level >= GetLevelCount() || !surfaceLevel[level]) in UnlockRect()
296 return surfaceLevel[level]->UnlockRect(); in UnlockRect()
312 return surfaceLevel[level]; in getInternalSurfaceLevel()