Lines Matching refs:height

253 D3DResourceManager::CreateTexture(UINT width, UINT height,
265 width, height, isRTT, isOpaque);
304 for (h = 1; height > h; h <<= 1);
306 height = h;
309 if (width > height) {
310 height = width;
312 width = height;
317 res = pd3dDevice->CreateTexture(width, height, 1/*levels*/, dwUsage,
336 HRESULT D3DResourceManager::CreateRTSurface(UINT width, UINT height,
346 width, height, isOpaque);
361 res = pd3dDevice->CreateRenderTarget(width, height, format,
380 HRESULT D3DResourceManager::CreateOSPSurface(UINT width, UINT height,
388 J2dTraceLn2(J2D_TRACE_VERBOSE, " w=%d h=%d", width, height);
412 res = pd3dDevice->CreateOffscreenPlainSurface(width, height,
428 UINT width, UINT height,
440 width, height, hWnd, numBuffers);
473 newParams.BackBufferHeight = height;
612 D3DResourceManager::GetBlitRTTexture(UINT width, UINT height, D3DFORMAT format,
619 HRESULT res = GetStockTextureResource(width, height,
626 if ((width <= pDesc->Width && height <= pDesc->Height) &&
640 if (height < D3DC_BLIT_TILE_SIZE) height = D3DC_BLIT_TILE_SIZE;
642 res = CreateTexture(width, height, TRUE, FALSE, &format, 0,&pBlitRTTexture);
649 D3DResourceManager::GetBlitOSPSurface(UINT width, UINT height, D3DFORMAT fmt,
660 if (width == pDesc->Width && height == pDesc->Height &&
671 res = CreateOSPSurface(width, height, fmt, &pBlitOSPSurface);
678 D3DResourceManager::GetLockableRTSurface(UINT width, UINT height,
690 if (width <= pDesc->Width && height <= pDesc->Height &&
701 if (height < D3DC_BLIT_TILE_SIZE) height = D3DC_BLIT_TILE_SIZE;
703 res = CreateRTSurface(width,height,
748 D3DResourceManager::GetStockTextureResource(UINT width, UINT height,
763 return CreateTexture(width, height, isRTT, isOpaque, pFormat, dwUsage,