Lines Matching defs:present_parameters

895         IWineD3DDeviceImpl *device, WINED3DPRESENT_PARAMETERS *present_parameters, IUnknown *parent)
910 if (present_parameters->BackBufferCount > WINED3DPRESENT_BACK_BUFFER_MAX)
913 present_parameters->BackBufferCount);
917 if (present_parameters->BackBufferCount > 1)
939 if (present_parameters->hDeviceWindow)
941 overridenSwapchain = swapchain_find(device, present_parameters->hDeviceWindow);
953 hr = VBoxExtWndCreate(present_parameters->BackBufferWidth, present_parameters->BackBufferHeight, &window, &hDC);
962 present_parameters->hDeviceWindow = window;
964 window = present_parameters->hDeviceWindow ? present_parameters->hDeviceWindow : device->createParms.hFocusWindow;
979 if (!present_parameters->Windowed && window)
981 swapchain_setup_fullscreen_window(swapchain, present_parameters->BackBufferWidth,
982 present_parameters->BackBufferHeight);
996 client_rect.right = present_parameters->BackBufferWidth;
997 client_rect.bottom = present_parameters->BackBufferHeight;
999 if (present_parameters->Windowed
1000 && (!present_parameters->BackBufferWidth || !present_parameters->BackBufferHeight
1001 || present_parameters->BackBufferFormat == WINED3DFMT_UNKNOWN))
1004 if (!present_parameters->BackBufferWidth)
1006 present_parameters->BackBufferWidth = client_rect.right;
1007 TRACE("Updating width to %u.\n", present_parameters->BackBufferWidth);
1010 if (!present_parameters->BackBufferHeight)
1012 present_parameters->BackBufferHeight = client_rect.bottom;
1013 TRACE("Updating height to %u.\n", present_parameters->BackBufferHeight);
1016 if (present_parameters->BackBufferFormat == WINED3DFMT_UNKNOWN)
1018 present_parameters->BackBufferFormat = swapchain->orig_fmt;
1022 swapchain->presentParms = *present_parameters;
1025 && present_parameters->BackBufferCount
1026 && (present_parameters->BackBufferWidth != client_rect.right
1027 || present_parameters->BackBufferHeight != client_rect.bottom))
1030 present_parameters->BackBufferWidth,
1031 present_parameters->BackBufferHeight,
1058 if (!present_parameters->Windowed)
1063 mode.Width = present_parameters->BackBufferWidth;
1064 mode.Height = present_parameters->BackBufferHeight;
1065 mode.Format = present_parameters->BackBufferFormat;
1066 mode.RefreshRate = present_parameters->FullScreen_RefreshRateInHz;
1106 if (!present_parameters->EnableAutoDepthStencil
1170 if (present_parameters->EnableAutoDepthStencil && surface_type == SURFACE_OPENGL)