Changeset 42683 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video
- Timestamp:
- Aug 8, 2012 2:16:44 PM (13 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp
r42652 r42683 4566 4566 #endif 4567 4567 4568 if (RTListIsEmpty(&pDevice->SwapchainList)) 4568 #if 0 /* <- always create an offscreen render target here since wined3dwddm makes host 4569 * to postpone any host window sizing until it becomes visible (which is done to prevent flikering on *nix hosts) 4570 * and thus back/front-buffer data is invalid until then 4571 * and in case the 3d app is running under Aero enabled, the window will never become visible and thus never resized 4572 * to the requested values */ 4573 if (!pResource->Flags.SharedResource /* <- the Shared must NOT be a swapchain (on-screen) render target 4574 * since it will be non-upside-down, 4575 * while the app opening the resource would use it as an off-screen, 4576 * i.e. upside-down */ 4577 && RTListIsEmpty(&pDevice->SwapchainList)) 4569 4578 { 4570 4579 bCreateSwapchain = true; … … 4577 4586 } 4578 4587 else 4579 { 4588 #endif 4589 { 4590 /* make sure the device is created */ 4591 IDirect3DDevice9 *pDevice9If = VBOXDISP_D3DEV(pDevice); 4580 4592 for (UINT i = 0; i < pResource->SurfCount; ++i) 4581 4593 { … … 4584 4596 4585 4597 IDirect3DSurface9* pD3D9Surf; 4586 hr = pDevice ->pDevice9If->CreateRenderTarget(pAllocation->SurfDesc.width,4598 hr = pDevice9If->CreateRenderTarget(pAllocation->SurfDesc.width, 4587 4599 pAllocation->SurfDesc.height, 4588 4600 vboxDDI2D3DFormat(pResource->Format), -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.cpp
r42027 r42683 116 116 DWORD g_VBoxVDbgFLogFlow = 0; 117 117 118 DWORD g_VBoxVDbgCfgMaxDirectRts = 0;118 DWORD g_VBoxVDbgCfgMaxDirectRts = 3; 119 119 DWORD g_VBoxVDbgCfgForceDummyDevCreate = 0; 120 120
Note:
See TracChangeset
for help on using the changeset viewer.