Alexandre Julliard
f078d5b4f9
gdi32: Fix buffer size parameter in GetFontFileData for 64-bit.
2023-09-01 18:06:02 +02:00
Alexandre Julliard
207bdd01ca
gdi32/tests: Use nameless unions/structs.
2023-07-20 21:48:39 +02:00
Piotr Caban
ef7b183984
gdi32: Fix DIB_PAL_INDICES usage handling in EMR_CREATEMONOBRUSH playback.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55177
2023-07-07 19:55:28 +02:00
Jacek Caban
a312a8e29a
gdi32/uniscribe: Don't use DECLSPEC_HIDDEN.
2023-06-26 20:19:13 +02:00
Jacek Caban
a5f62b3ef7
make_unicode: Don't use DECLSPEC_HIDDEN.
2023-06-26 20:19:13 +02:00
Jacek Caban
cd56a1c164
gdi32: Don't use DECLSPEC_HIDDEN.
2023-06-26 20:19:13 +02:00
Jacek Caban
da4663d640
win32u: Don't return full OUTLINETEXTMETRICW from __wine_get_file_outline_text_metric.
2023-05-29 11:37:08 +02:00
Jacek Caban
3dbe180ea5
win32u: Extend NtGdiSetDIBitsToDeviceInternal for SetDIBits implementation.
2023-05-29 11:37:08 +02:00
Jacek Caban
ab88c7cbb1
win32u: Implement NtGdiIcmBrushInfo and use it instead of __wine_get_brush_bitmap_info.
2023-05-29 11:37:07 +02:00
Jacek Caban
0c73b717fb
win32u: Pass blend function as DWORD to NtGdiAlphaBlend.
2023-05-25 16:26:08 +02:00
Piotr Caban
0e976ca544
gdi32: Abort printing if DeleteDC is called before EndDoc.
2023-05-23 09:28:43 +02:00
Piotr Caban
55b9b2f675
gdi32: Mark objects as not used before clearing handles table in emf_reset.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54936
2023-05-19 08:34:46 -05:00
Francois Gouget
b97090214b
gdi32/tests: Use skip() for APIs which are stubs in some drivers.
2023-05-17 08:06:13 -05:00
Piotr Caban
ec6062c572
wineps: Introduce wine_driver_open_dc wine specific export used to create printer DC.
...
Doing it this way avoids passing Unix library pointers throught PE.
2023-05-17 07:19:09 -05:00
Francois Gouget
d84077c226
gdi32/tests: Use win_skip() for missing APIs.
...
A missing API is a todo in Wine.
2023-05-15 05:40:55 -05:00
Alexandre Julliard
f83ec675bd
win32u: Don't use floating point types in syscalls.
2023-05-12 11:39:10 +02:00
Piotr Caban
0ba17961a9
gdi32: Add device name to wine_get_gdi_driver call.
2023-05-10 21:18:10 +02:00
Piotr Caban
9adaca0f19
gdi32: Handle NEXTBAND escape in Escape().
2023-05-08 20:00:50 +02:00
Piotr Caban
33ee9fad71
gdi32: Return error in EndPage if it's called before StartPage.
2023-05-01 16:44:11 +02:00
Piotr Caban
f4d78d5352
gdi32: Support saving EMR_EXTESCAPE record in spool file.
2023-05-01 16:44:11 +02:00
Piotr Caban
a79c2fd379
gdi32: Ignore in_count parameter in Escape() on PASSTHROUGH escape.
2023-05-01 16:44:11 +02:00
Piotr Caban
4496c64aa1
gdi32: Support creating EMRI_DEVMODE records in spool files.
2023-04-28 18:33:23 +02:00
Piotr Caban
2b8de93005
gdi32: Implicitly call StartPage while drawing on printer DC.
2023-04-28 18:33:23 +02:00
Piotr Caban
e0513f4dd1
gdi32: Add GdiIsMetaPrintDC implementation.
2023-04-27 18:34:10 +02:00
Piotr Caban
ca66b3eb84
gdi32: Add support for creating EMF spool files.
2023-04-27 18:34:10 +02:00
Piotr Caban
f79c9f3568
gdi32: Factor out emf_create helper.
2023-04-27 18:34:10 +02:00
Piotr Caban
16b951ccbf
gdi32: Factor out emf_eof helper.
2023-04-27 18:34:10 +02:00
Piotr Caban
acbccf177e
gdi32: Improve EMF DC cleanup when CloseEnhMetafile is not called.
2023-04-27 18:34:10 +02:00
Piotr Caban
d317db91f2
gdi32: Store the printer info in a structure.
2023-04-27 18:34:09 +02:00
Piotr Caban
28df39908a
gdi32/tests: Add EMF palette tests.
2023-04-22 17:34:32 +02:00
Piotr Caban
f45baaa11e
gdi32: Store palette in EMR_EOF record.
2023-04-22 17:34:32 +02:00
Piotr Caban
b9b159e5a8
gdi32: Fix EMR_CREATEPALETTE recording.
2023-04-22 17:34:32 +02:00
Piotr Caban
c752e84543
gdi32: Use EMR_REALIZEPALETTE to record RealizePalette.
2023-04-22 17:34:32 +02:00
Piotr Caban
747fa33bbb
gdi32: Handle EMR_TRANSPARENTBLT record in PlayEnhMetaFileRecord.
2023-04-13 21:56:58 +02:00
Piotr Caban
061dc3a480
gdi32: Support stock brush in EMR_FRAMERGN.
2023-04-11 18:22:29 +02:00
Piotr Caban
10dfb4f3b7
gdi32: Support stock brush in EMR_FILLRGN.
2023-04-11 18:22:29 +02:00
Piotr Caban
1fa938c17e
gdi32: Factor out function for obtaining gdi object handle.
2023-04-11 18:22:29 +02:00
Paul Gofman
c4073d5abf
win32u: Set DEVPKEY_Device_RemovalPolicy for GPUs.
2023-04-06 17:02:18 +02:00
Paul Gofman
bee387dc8a
win32u: Set DEVPKEY_Device_BusNumber for GPUs.
2023-04-06 17:02:18 +02:00
Paul Gofman
80910517d7
win32u: Set DEVPKEY_Device_MatchingDeviceId for GPUs.
2023-04-06 17:02:18 +02:00
Piotr Caban
273f40b6c4
gdi32: Let SetDIBits handle DIB_PAL_INDICES color usage in PlayEnhMetaFileRecord.
2023-04-06 14:32:32 +02:00
Piotr Caban
8ada95cec4
gdi32: Rename DIB_PAL_MONO to DIB_PAL_INDICES.
2023-04-06 14:32:32 +02:00
Piotr Caban
3f051d3b1e
win32u: Add support for undocummented DIB_PAL_INDICES color usage in SetDIBits.
2023-04-06 14:32:32 +02:00
Piotr Caban
065fbd206d
gdi32: Improve EMR_CREATEDIBPATTERNBRUSHPT playback.
...
It makes the lbHatch data available after PlayEnhMetaFileRecord returns.
2023-03-09 18:11:28 +01:00
Francois Gouget
9d6a9909c3
gdi32/tests: Fix the SetDeviceGammaRamp() tests on Windows 10 1909.
...
SetDeviceGammaRamp() checks the specified ramp to prevent applications
from setting malicious gamma ramps (e.g. hiding text by remapping its
color to match the background).
But Windows 10 1909 has fewer checks than later Windows 10 versions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54593
2023-02-27 16:36:22 +01:00
Francois Gouget
267f612604
gdi32/tests: Make the gamma ramp failures more unique.
...
Otherwise the only way to identify which failure happened is to check
its line number which is not practical across versions.
2023-02-27 16:36:22 +01:00
Francois Gouget
390ed160ef
gdi32/tests: Simplify setting up the non uniform gamma ramps.
2023-02-27 16:36:22 +01:00
Ivan Chikish
907b1b4a36
gdi32/tests: Check last error on ' '.
2023-02-24 22:23:12 +01:00
Francois Gouget
2436964d56
gdi32/tests: Mark a couple other D3DKMTCheckOcclusion() tests as flaky.
...
They also happen randomly on Windows (see commit 2d19baa6b5
).
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=51313
2023-02-20 23:00:34 +01:00
Hans Leidekker
a744265c1e
gdi32/tests: Mark another D3DKMTCheckOcclusion() test as flaky.
...
It shows the same behavior as the one marked by commit 2d19baa6b5
.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=51313
2023-01-30 18:54:29 +01:00