Ge van Geldorp
e77bef234a
winex11.drv: Fix build on systems without libXrender.
2009-10-19 11:43:01 +02:00
Roderick Colenbrander
a9cafb8f2e
winex11: Use get_xrender_picture in X11DRV_AlphaBlend.
2009-10-16 13:43:19 +02:00
Alexandre Julliard
af683e711c
winex11: The xrender tile picture must be used only inside the critical section.
2009-10-14 14:24:17 +02:00
Roderick Colenbrander
a705257393
winex11: Use get_xrender_picture in X11DRV_XRender_GetSrcAreaStretch.
2009-10-14 14:23:19 +02:00
Roderick Colenbrander
14e21d955a
winex11: Add X11DRV_XRender_SetDeviceClipping for syncing the clipping region with XRender pictures.
2009-10-14 14:01:34 +02:00
Erich Hoover
8c9a6e9f5c
winex11: Send WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used.
2009-10-14 12:59:39 +02:00
Alexandre Julliard
2fda19ca98
winex11: Store the device format in the Xrender info structure.
2009-10-13 12:21:53 +02:00
Alexandre Julliard
6193d7def4
winex11: Make all render format pointers const.
2009-10-13 12:06:38 +02:00
Roderick Colenbrander
34116289a5
winex11: Introduce get_xrender_picture for retrieving a Picture from a physDev and allocating a Picture when needed.
2009-10-13 12:03:58 +02:00
Alexandre Julliard
344cf57f1b
winex11: Rename the XRENDERINFO type to make it clear it's a pointer.
2009-10-08 12:10:59 +02:00
Roderick Colenbrander
3e5e0ee807
winex11: Move XRENDERINFO allocation in a separate function.
2009-10-08 12:08:38 +02:00
Alexandre Julliard
fa6ffb4d5d
Fix empty function prototypes.
2009-10-07 12:24:53 +02:00
Wim Lewis
a1c66499bf
winex11: Fix font metric cache filename generation.
...
Recognize Mac OS X's launchd pathnames as being local. Avoid
generating an invalid pathname if $DISPLAY contains slashes.
Don't include the screen number in the cache filename.
2009-10-05 15:52:30 +02:00
Wim Lewis
d535419daa
winex11: Font metric cache file cleanups.
2009-10-05 15:51:34 +02:00
Alexandre Julliard
4c52a28e6b
winex11: Use explicit prototypes for function pointers.
2009-10-02 15:06:59 +02:00
Roderick Colenbrander
6b8753185f
winex11: Add support for 16-bit/32-bit DIB sections.
2009-10-01 13:47:53 +02:00
Alexandre Julliard
89c91ac0b1
winex11: Remove BITBLT_InternalStretchBlt now that it's identical to X11DRV_StretchBlt.
2009-09-30 20:56:56 +02:00
Alexandre Julliard
77b9b8a307
winex11: Move the DIB locking and the client-side optimizations into BITBLT_InternalStretchBlt.
...
This way they also apply to the non-stretching StretchBlt case.
2009-09-30 20:56:36 +02:00
Alexandre Julliard
7bc4b074fc
winex11: Move X11DRV_ClientSideDIBCopy to avoid forward declarations.
...
Change the name to reflect that it's a purely internal function.
2009-09-30 20:56:35 +02:00
Alexandre Julliard
ab35d6e727
winex11.drv: BS_DIBPATTERN brushes use a 32-bit handle in 32-bit mode.
2009-09-26 13:30:54 +02:00
Roderick Colenbrander
9465700083
winex11: Don't use ColorShifts for non-TrueColor bitmaps.
2009-09-25 13:16:56 +02:00
Vincent Povirk
2151272e45
winex11: Re-add the optimization for blending 1x1 pixel bitmaps.
2009-09-23 12:33:15 +02:00
André Hentschel
7b285a4ebd
winex11: Add alternative header for xf86vm.
2009-09-22 16:20:26 +02:00
Roderick Colenbrander
2d1f55cce2
winex11: Fix a null pointer bug in ToLogical in case of 8-bit. Move the code to the place where the shifts are needed.
2009-09-10 15:32:55 +02:00
Roderick Colenbrander
efa37f56ec
winex11: Add helper function for copying brushes.
2009-09-10 12:13:45 +02:00
Roderick Colenbrander
88b990b2c1
winex11: Add helper function get_xrender_format_from_color_shifts.
2009-09-10 12:13:45 +02:00
Roderick Colenbrander
4ef7bd6943
winex11: Add helper function for calculating ColorShifts.
2009-09-09 16:25:24 +02:00
Roderick Colenbrander
bb457f7ffd
winex11: Use ColorShifts in get_xrender_format_from_pdevice.
2009-09-09 16:25:23 +02:00
Dmitry Timoshkov
9dbdd708e3
winex11.drv: Handle WM_DELETE_WINDOW by simulating clicking the caption Close button.
2009-09-09 12:18:28 +02:00
Roderick Colenbrander
70241904b9
winex11: Always adjust the color_shifts pointer when SelectBitmap is called.
2009-09-08 12:12:13 +02:00
Roderick Colenbrander
5db05dfea9
winex11: Use ColorShifts data in X11DRV_PALETTE_ToLogical.
2009-09-02 16:09:07 +02:00
Roderick Colenbrander
5fc017c497
winex11: Use ColorShifts from physDev in X11DRV_PALETTE_ToPhysical.
2009-09-02 16:08:36 +02:00
Roderick Colenbrander
3ad349f316
winex11: Prepare X11DRV_PALETTE_ToPhysical/_ToLogical for a new ColorShift structure.
2009-09-02 16:07:41 +02:00
Roderick Colenbrander
3878b4810e
winex11: Introduce a new function for looking up the physical color of a pixel for use with colormap generation-like functions.
...
This prepares to a rewrite of X11DRV_PALETTE_ToPhysical which requires
the physDev for retrieving the color shifts.
2009-09-02 16:07:11 +02:00
Alexandre Julliard
1fba2ee22d
winex11: Bytes per line is signed so make it an int instead of a DWORD.
2009-08-29 21:43:51 +02:00
Andrew Eikum
55736136e2
winex11: Support KEYEVENTF_UNICODE in SendInput.
2009-08-19 12:16:19 +02:00
Alexandre Julliard
12d1ff8ef6
winex11: Add handling of take focus event on the desktop window.
2009-08-17 16:32:45 +02:00
Alexandre Julliard
e3720c2810
winex11: Use the Globally Active focus model with take focus.
2009-08-13 18:18:33 +02:00
Dmitry Timoshkov
32e3539413
winex11.drv: Handle failure of XcursorImageCreate.
2009-08-12 12:53:32 +02:00
Henri Verbeet
85fe381daf
winex11.drv: Fallback to X11DRV_SHM_NONE in X11DRV_DIB_DoCopyDIBSection() if dest doesn't match the pixmap.
...
Falling back to X11DRV_SHM_IMAGE doesn't work, the image's data isn't in
shared memory if the pixmap was created as Shm pixmap.
2009-08-07 12:11:55 +02:00
Henri Verbeet
9fd29492c1
winex11.drv: Add support for XShm pixmaps.
...
Most of this is "Copyright 2004 Huw Davies for CodeWeavers", I just did a
little bit of integration.
2009-08-06 17:26:31 +02:00
Roderick Colenbrander
083aaca98f
winex11: Fix XRender_GetSrcAreaStretch compile bug for when XRender isn't around.
2009-08-03 15:00:29 +02:00
Roderick Colenbrander
390d3929f2
wgl: Fix usage of non-GLX visual in glXCreateContext.
2009-08-03 15:00:19 +02:00
Roderick Colenbrander
6a1aa9b166
winex11: XRenderComposite can be inaccurate when scaled x / y source coordinates are passed to it.
...
Moving this translation to the transformation matrix fixes the problem.
2009-07-24 13:10:12 +02:00
Roderick Colenbrander
c6570a50f8
winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth.
2009-07-23 16:10:51 +02:00
Roderick Colenbrander
d01235332c
winex11: Make BRUSH_DitherColor independent of the screen_depth.
2009-07-23 16:10:11 +02:00
Roderick Colenbrander
e082bf6626
winex11: Add support for GCs at more depths.
2009-07-23 16:08:33 +02:00
Roderick Colenbrander
618b410aa8
winex11: Add a function for retrieving the bitmap GC.
2009-07-16 11:19:34 +02:00
Roderick Colenbrander
eeeb349eee
winex11: Use set_xrender_transformation in AlphaBlend.
2009-07-14 10:45:36 +02:00
Roderick Colenbrander
004eabfbd3
winex11: Add an XRender based GetSrcAreaStretch.
2009-07-13 11:58:26 +02:00