Henri Verbeet
0821c8024b
wined3d: Merge the device parent create_rendertarget() and create_depth_stencil() handlers.
2012-07-11 09:57:07 -05:00
Henri Verbeet
d26a3858d9
wined3d: Fix the block alignment check in surface_cpu_blt().
2012-07-11 09:56:58 -05:00
Henri Verbeet
1e22e3ccfb
wined3d: Introduce a helper function for checking surface block alignment.
2012-07-11 09:56:54 -05:00
Henri Verbeet
2907913fad
wined3d: Print a more obvious message if a format doesn't have a corresponding GL internal format.
2012-07-10 10:39:48 -05:00
Henri Verbeet
8ad98cdbee
wined3d: Get rid of the "discard" parameter to device_parent_create_depth_stencil().
2012-07-10 10:39:42 -05:00
Henri Verbeet
9b74ebd794
wined3d: Get rid of the "lockable" parameter to device_parent_create_rendertarget().
2012-07-10 10:39:34 -05:00
Henri Verbeet
73eceafb17
d3d9: Implement d3d9_device_ResetEx().
2012-07-09 15:04:18 -04:00
Henri Verbeet
3543e1d198
wined3d: Fix the .spec.
2012-07-09 15:04:11 -04:00
Vincas Miliūnas
ada3dff134
wined3d: Recognize AMD Radeon HD 6700 Series renderer string.
2012-07-02 19:18:07 +02:00
Henri Verbeet
e97dc9f33d
d3d9: Implement d3d9_EnumAdapterModesEx().
2012-07-02 19:17:59 +02:00
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