Commit Graph

105089 Commits

Author SHA1 Message Date
Stefan Dösinger 1b0c063632 wined3d: Check for conversion changes in the atifs fragment pipeline.
Mapping colorop to pixelshader is necessary because misc_state_template
defines a pixel shader handler. We have to use the same representative
in all pipeline parts.

Wined3d_cs_exec_set_texture dirtifies the pixel shader state when the
fixup of a texture changes. Atifs no longer needs a pixel shader handler
on its own since vertex shader updates aren't delayed any more when the
pixel shader state is dirty.
2015-03-24 20:06:05 +09:00
Stefan Dösinger 92fee8c04f wined3d: Improve color fixups in atifs shaders.
The abilities of this hardware is too limited to support generic sign /
swizzle fixups. A generic handler would consume 4 of the 8 available
color instruction slots and 2 alpha instruction slots.

The bump mapping handler code has its own way of handling the color
fixups. It merges the fixup into the perturbation calculation without
requiring extra shader instructions. In theory this is possible for the
majority of d3d texture ops as well, but I don't think this is worth the
effort. I expect that this code will only be used for the ddraw signed
format test in practice.
2015-03-24 20:05:46 +09:00
Francois Gouget baf32ced74 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2015-03-24 20:01:37 +09:00
Francois Gouget 61652263fa msxml3: Mark internal symbols with hidden visibility. 2015-03-24 20:01:34 +09:00
Francois Gouget f51569626c msi: Mark internal symbols with hidden visibility. 2015-03-24 20:01:30 +09:00
Francois Gouget d21aca41ff msctf: Mark internal symbols with hidden visibility. 2015-03-24 20:01:24 +09:00
Francois Gouget e0d7461d70 twain_32: Remove unneeded NONAMELESSXXX directives. 2015-03-24 20:01:19 +09:00
Francois Gouget d2720f37f1 toolhelp.dll16: Remove unneeded NONAMELESSXXX directives. 2015-03-24 20:01:16 +09:00
Francois Gouget bd07c3af86 system.drv16: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-24 20:01:13 +09:00
Francois Gouget 890153e8c0 storage.dll16: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-24 20:01:09 +09:00
Francois Gouget aa1ad58ba7 taskschd: Remove an unneeded NONAMELESSUNION directive. 2015-03-24 20:01:06 +09:00
Nikolay Sivov 437fb07438 dwrite: Forward IDWriteTextLayout::GetMetrics() to IDWriteTextLayout2::GetMetrics(). 2015-03-24 18:16:42 +09:00
Nikolay Sivov 2478421d87 msi: Return interface pointer instead of impl pointer. 2015-03-24 18:16:37 +09:00
Nikolay Sivov 597515c074 ole32/tests: Return interface pointer instead of impl pointer from QI. 2015-03-24 18:16:34 +09:00
Nikolay Sivov 7d44fa714a ole32: Return interface pointers instead of impl pointers from QI. 2015-03-24 18:16:30 +09:00
Michael Stefaniuc 01eed947eb fntcache: Drop WINE_ prefix from FIXME/TRACE. 2015-03-24 18:16:24 +09:00
Michael Stefaniuc 6f6aa9b8a6 schedsvc: Drop WINE_ prefix from ERR(). 2015-03-24 18:16:20 +09:00
Michael Stefaniuc 6ab6564b9f scrrun: Print the debug string instead of the pointer value. 2015-03-24 18:16:15 +09:00
Michael Stefaniuc f7a21ee1d7 qcap: Print the debug string instead of the pointer value. 2015-03-24 18:16:12 +09:00
Michael Stefaniuc a21b2cc5b9 mshtml: Print the debug string instead of the pointer value. 2015-03-24 18:16:09 +09:00
Michael Stefaniuc 87cfceb8bf taskschd: Print the debug string instead of the pointer value. 2015-03-24 18:16:05 +09:00
Michael Stefaniuc 60d54eee93 mscoree: Use SUCCEEDED instead of !FAILED. 2015-03-24 18:16:00 +09:00
Henri Verbeet e72845e648 d3d10core/tests: Add a test for D3D10_APPEND_ALIGNED_ELEMENT. 2015-03-24 17:41:20 +09:00
Henri Verbeet 010ff106dd d3d10core: Implement d3d10_device_DrawInstanced(). 2015-03-24 17:41:17 +09:00
Henri Verbeet a33d3ad41b wined3d: Add support for SV_InstanceID. 2015-03-24 17:41:12 +09:00
Henri Verbeet f9fafb3686 wined3d: Use the "sysval_semantic" field instead of "semantic_name" to recognize SV_POSITION. 2015-03-24 17:41:09 +09:00
Henri Verbeet 1b08196c5a wined3d: Implement d3d10 style instance data step rates. 2015-03-24 17:41:06 +09:00
Mark Harmstone e7116725ff comctl32: Use correct font for themed headers. 2015-03-24 16:42:05 +09:00
David Naylor 9a3fdffe9d configure: Explicitly set host_cpu for 'amd64'. 2015-03-24 14:08:05 +09:00
David Naylor aec36fe2d5 configure: Recognise host starting in 'amd64'. 2015-03-24 14:07:54 +09:00
Nikolay Sivov 9d0ebc13ac comctl32/tooltips: Allow NULL hinst value when fetching text from resources. 2015-03-24 14:07:17 +09:00
André Hentschel 75fc891340 include: Add more header guards. 2015-03-24 14:06:19 +09:00
Vincent Povirk 6b97abf930 gdiplus: Handle large input rect in GdipMeasureCharacterRanges. 2015-03-24 14:06:13 +09:00
Vincent Povirk 6ee26aca16 gdiplus: Apply page scale to pen thickness. 2015-03-24 14:06:02 +09:00
Ken Thomases 792b47ad3b winemac: Restore a maximized window if a user tries to move it by dragging its title bar.
OS X doesn't have the same concept of maximized windows as Windows does.
There's no mode that prevents a normally-movable window from being moved.  If
a window is "zoomed", it mostly fills the screen but the user can still move
or resize it, at which point it ceases to be in the zoomed state.  So, users
are confused and frustrated when they can't move a window that's maximized.

To get similar behavior while still respecting Win32 semantics, we detect when
the user tries to move a maximized window.  When they start, a request is
submitted to the app to restore the window.  Unless and until the window is
restored, we don't actually allow the window to move.

The user expects to move the window from its current (maximized) position.  It
should not jump to its normal position upon being restored.  So, we set the
window's normal position to its current position before restoring it.
2015-03-24 13:55:34 +09:00
Ken Thomases 8d581d0e48 winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do.
OS X doesn't have the same concept of maximized windows as Windows does.
There's no mode that prevents a normally-resizable window from being resized.
If a window is "zoomed", it mostly fills the screen but the user can still
move or resize it, at which point it ceases to be in the zoomed state.  So,
users are confused and frustrated when they can't resize a window that's
maximized.

To get similar behavior while still respecting Win32 semantics, we now let the
user try to resize maximized windows.  (The resize cursors are shown at the
edges of the window frame.)  When they start, a request is submitted to the app
to restore the window.  Unless and until the window is restored, we don't
actually allow the window to change its size.

The user expects to resize the window from its current (maximized) position.
It should not jump to its normal position upon being restored.  So, we set the
window's normal position to its current position before restoring it.
2015-03-24 13:55:18 +09:00
Jacek Caban 0a92329914 dxgi1_2.idl: Added IDXGIFactory2 declaration.
Modified version of patch by Erik van Pienbroek.
2015-03-24 13:51:16 +09:00
Jacek Caban 824bbb3884 d3d11_1.idl: Added some missing declarations.
Modified version of patch by Erik van Pienbroek.
2015-03-24 13:51:13 +09:00
Jacek Caban df904b60f4 dxgi.idl: Added DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL declaration. 2015-03-24 13:51:10 +09:00
Ken Thomases edad520235 winmm: For Mac, fix joyGetPosEx() to put number of buttons pressed in dwButtonNumber field.
Based on behavior of Windows revealed by interactive tests added by Bruno Jesus.
2015-03-24 13:51:01 +09:00
Andrew Eikum 4a7b5856da oleaut32: Allow typelib filenames longer than MAX_PATH. 2015-03-24 13:49:07 +09:00
Sebastian Lackner 5e5adcffb5 user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo. 2015-03-23 22:59:21 +09:00
Matteo Bruni 74cda79ac3 wined3d: Introduce a get_texture_matrix() function. 2015-03-23 22:59:20 +09:00
Matteo Bruni 2d270f31c6 wined3d: Introduce a get_projection_matrix() function.
Notice that I'm using floats instead of doubles in the new function,
mostly to be able to use struct wined3d_matrix and multiply_matrix().
At a rough estimate the precision should still be good enough.
2015-03-23 22:59:19 +09:00
Matteo Bruni 65c8c40b18 wined3d: Use a separate STATE_VIEWPORT state handler in the GLSL pipeline. 2015-03-23 22:59:18 +09:00
Stefan Dösinger 70c6666d1e ddraw/tests: Correct executebuffer offsets. 2015-03-23 22:59:16 +09:00
Stefan Dösinger daf3e8a0dc ddraw/tests: The testbot applies color keying without a key. 2015-03-23 22:59:15 +09:00
Stefan Dösinger 02be2e38a8 ddraw: Update the palette before presents to the NULL window. 2015-03-23 22:59:14 +09:00
Henri Verbeet 88f230b56e d3d10core: Also pass unused input layout elements to wined3d.
While these won't be used by the shader, they potentially affect the
calculated offset for WINED3D_APPEND_ALIGNED_ELEMENT elements.
2015-03-23 22:59:12 +09:00
Henri Verbeet cbe717b8f3 wined3d: Take the input slot into account when handling WINED3D_APPEND_ALIGNED_ELEMENT. 2015-03-23 22:59:11 +09:00