Commit Graph

5650 Commits

Author SHA1 Message Date
Alexandre Julliard 8f80159d40 wined3d: Get WGL extension definitions from wglext.h. 2012-07-02 19:17:58 +02:00
Henri Verbeet 8d4e3d0d58 d3d9: Implement d3d9_GetAdapterModeCountEx(). 2012-06-29 10:14:29 +02:00
Henri Verbeet 256d433164 d3d9: Implement d3d9_device_PresentEx(). 2012-06-29 10:14:21 +02:00
Henri Verbeet 035b79ebcf wined3d: Use the device name stored in the adapter in wined3d_get_adapter_identifier(). 2012-06-29 10:14:10 +02:00
Henri Verbeet d843447580 wined3d: Use the device name stored in the adapter in wined3d_set_adapter_display_mode(). 2012-06-29 10:14:06 +02:00
Henri Verbeet 56c518af3e wined3d: Use the device name stored in the adapter in wined3d_get_adapter_display_mode(). 2012-06-29 10:14:01 +02:00
Henri Verbeet 194ee40e07 wined3d: Use the device name stored in the adapter in wined3d_get_adapter_mode_count(). 2012-06-28 18:52:29 +02:00
Henri Verbeet e9d0367d29 wined3d: Use the device name stored in the adapter in wined3d_enum_adapter_modes(). 2012-06-28 18:52:28 +02:00
Henri Verbeet b6bdb4286d wined3d: Avoid a redundant call to EnumDisplaySettingsExW() in wined3d_enum_adapter_modes(). 2012-06-28 18:52:28 +02:00
Henri Verbeet 91f02018c5 wined3d: Avoid a useless call to wined3d_get_adapter_mode_count() in wined3d_enum_adapter_modes(). 2012-06-28 18:52:27 +02:00
Alexandre Julliard edfc7f0de0 opengl32: Move wglGetProcAddress to the WGL driver. 2012-06-28 16:14:55 +02:00
Alexandre Julliard db25d4022a winex11: Simplify wglSetPixelFormatWINE and export it as a standard extension function. 2012-06-28 13:13:01 +02:00
Alexandre Julliard 94abcd532f wined3d: Always load wgl functions from opengl32.dll. 2012-06-28 01:44:02 +02:00
Henri Verbeet 0ce894f274 d3d9: Implement d3d9_device_GetDisplayModeEx(). 2012-06-28 01:39:28 +02:00
Henri Verbeet 2c8834dffd d3d9: Implement d3d9_GetAdapterDisplayModeEx(). 2012-06-28 01:39:27 +02:00
Henri Verbeet a1bfd0988f wined3d: Take scanline ordering into account in the mode setting code. 2012-06-28 01:39:26 +02:00
Henri Verbeet 427f3e40dc wined3d: Get rid of is_display_mode_supported().
If a display mode is unsupported, wined3d_set_adapter_display_mode() shouldn't
have a problem figuring that out on its own.
2012-06-28 01:39:24 +02:00
Henri Verbeet d93e61f249 wined3d: Release the stateblock only after mode setting in wined3d_device_reset().
While we're allowed to leave the device in a somewhat inconsistent state after
a failed reset, such a state should be recoverable by calling reset again. If
e.g. mode setting were to fail between the point where we destroy and recreate
the stateblock a subsequent reset would crash because the device doesn't have
a stateblock anymore.
2012-06-26 17:32:59 +02:00
Henri Verbeet 0ee3007963 wined3d: Only unset the onscreen depth / stencil buffer once in wined3d_device_reset(). 2012-06-26 17:32:48 +02:00
Józef Kucia d760b21ab6 wined3d: Use the system memory pool for the logo surface. 2012-06-25 18:12:53 +02:00
Alexandre Julliard 66a5995e11 winex11: Move wglGetCurrentContext and wglGetCurrentDC to the internal OpenGL extension functions. 2012-06-25 16:25:44 +02:00
Alexandre Julliard 08efea0218 winex11: Move wglCopyContext and wglDeleteContext to the internal OpenGL extension functions. 2012-06-25 13:52:10 +02:00
Alexandre Julliard beeba895d3 winex11: Move wglShareLists to the internal OpenGL extension functions. 2012-06-25 13:52:01 +02:00
Henri Verbeet c11c2e2dbb wined3d: Get rid of the d3d_caps debug channel. 2012-06-22 16:14:26 +02:00
Henri Verbeet b6c7b825a1 wined3d: Only store a different screen format if it's explicitly changed through wined3d. 2012-06-22 16:14:14 +02:00
Henri Verbeet c2c0743ccf wined3d: Properly retrieve the display mode in wined3d_device_set_cursor_properties(). 2012-06-22 16:14:08 +02:00
Henri Verbeet 7000899948 wined3d: Just forward wined3d_device_get_display_mode() to the appropriate swapchain. 2012-06-22 16:14:03 +02:00
Henri Verbeet 0f0fe49240 wined3d: Implement mode setting in the adapter instead of the device. 2012-06-22 16:13:58 +02:00
Henri Verbeet fdb85423b4 wined3d: Lie about the display format in wined3d_get_adapter_display_mode(). 2012-06-20 19:27:02 +02:00
Henri Verbeet 2a0463ac21 wined3d: Only filter redundant mode changes in wined3d. 2012-06-20 19:26:56 +02:00
Henri Verbeet a6ffab3bf5 wined3d: Rename WINED3DLOCK_* to WINED3D_MAP_*. 2012-06-18 17:48:56 +02:00
Henri Verbeet befdbbd90f wined3d: Reset render target bindings in wined3d_device_reset(). 2012-06-18 17:48:21 +02:00
Henri Verbeet 130f232d20 wined3d: Unset the depth/stencil surface before checking resources in wined3d_device_reset(). 2012-06-18 17:48:16 +02:00
Thomas Faber a6510b3fbc wined3d: Use INFINITY. 2012-06-18 11:59:41 +02:00
Michael Stefaniuc db5053c950 wined3d: Avoid sizeof on structs with variable length arrays. 2012-06-13 12:09:36 +02:00
Henri Verbeet 0610d1eec9 wined3d: Invalidate the entire buffer on maps with WINED3DLOCK_DISCARD. 2012-06-12 17:27:43 +02:00
Henri Verbeet 611b541f29 wined3d: Set undefined vertex attributes to 0.0. 2012-06-12 17:27:39 +02:00
Francois Gouget 4f17081652 wined3d: Make some surface functions static. 2012-06-12 11:11:16 +02:00
Francois Gouget 9a874aca8e wined3d: Reorder some surface functions to avoid the need for forward declarations. 2012-06-12 11:11:12 +02:00
Francois Gouget 19ba80e7c2 wined3d: We must include Wine's port.h before using NAN. 2012-06-01 17:41:52 +02:00
Henri Verbeet 948065a52f wined3d: Update nouveau card info. 2012-05-31 18:05:08 +02:00
Henri Verbeet 1a93983bd4 wined3d: Use NAN. 2012-05-30 17:17:59 +02:00
Kimmo Myllyvirta d738e6ffd2 wined3d: Add NVIDIA GeForce GTX 680. 2012-05-29 10:53:44 +02:00
Henri Verbeet aa71065d9b wined3d: Properly preload index buffers. 2012-05-29 10:44:50 +02:00
Karsten Elfenbein 9d7a39656a wined3d: Add Nvidia GTX 670. 2012-05-22 18:08:24 +02:00
Henri Verbeet e3ecfa5974 wined3d: Store user clip planes as 4-component float vectors. 2012-05-22 18:07:02 +02:00
Henri Verbeet 481514eab2 wined3d: Get rid of the conv_mat macro. 2012-05-22 18:06:54 +02:00
Henri Verbeet 69bdff6253 wined3d: Avoid moving buffers while they're mapped. 2012-05-22 18:06:51 +02:00
Henri Verbeet 0d45d50342 wined3d: Don't evict resources that are currently mapped in wined3d_device_evict_managed_resources(). 2012-05-21 21:31:02 +02:00
Henri Verbeet 5ec56c9bc4 wined3d: Get rid of SFLAG_LOCKED. 2012-05-21 21:30:56 +02:00