Roderick Colenbrander
a191184ae9
wgl: Add a direct rendering check to new winediag channel.
2009-12-04 14:34:56 +01:00
Marcus Meissner
8a06bd9e1c
winex11.drv: Check NULL before calling (Coverity).
2009-12-02 13:14:47 +01:00
Rob Shearman
b894925b0e
winex11.drv: Make sure that the selectionAcquired flag has been set before returning from X11DRV_AcquireClipboard.
...
X11DRV_CLIPBOARD_UpdateCache depends on selectionAcquired being set if
the current process is the selection owner, otherwise it will defer to
getting the clipformats from X, manufacturing extra formats that the
app may not be expecting, having just set the formats itself. Worse
still, since selectionAcquired is set in another thread this behaviour
is not predicatable and it may sometimes use the clipformats already
set and other times defer to X.
2009-12-01 15:10:37 +01:00
John Klehm
bc95ef3cbc
winex11.drv: Report correctly when wintab is disabled.
2009-11-30 12:47:46 +01:00
Vincent Povirk
1bd13dec61
winex11.drv: Generate text/html clipboard data from HTML Format.
2009-11-23 13:34:15 +01:00
Vincent Povirk
56b8536336
winex11.drv: Remove the HTML Format -> text/html clipboard mapping.
...
The two formats do not match exactly.
2009-11-23 13:34:09 +01:00
Austin English
a3cf7a4e06
winex11.drv: Downgrade an ERR to a WARN.
2009-11-19 11:45:59 +01:00
Roderick Colenbrander
9a85426389
wgl: Add support for WGL_ARB_create_context_profile which is required for OpenGL 3.2.
2009-11-19 11:04:35 +01:00
Roderick Colenbrander
41f061ea1b
wgl: Add initial WGL_ARB_create_context support.
2009-11-18 11:39:57 +01:00
Alexandre Julliard
184f1fe331
winex11: Get rid of the SetDCOrg entry point.
2009-11-17 15:14:54 +01:00
Roderick Colenbrander
50a8b2a633
wgl: The GLX context creation code isn't needed anymore in wglCopyContext because we always have a GLX context now.
2009-11-17 12:05:40 +01:00
Roderick Colenbrander
f4b88e34ec
wgl: Get rid of delayed GLX context creation. Instead attempt to re-create a context when wglShareLists is called.
2009-11-16 17:42:54 +01:00
Roderick Colenbrander
e7590fcfb5
wgl: Make sure we set a valid value for GLX_DRAWABLE_TYPE. Right now we default to 0 which is illegal.
2009-11-13 13:37:10 +01:00
Roderick Colenbrander
a46bd4bc9f
wgl: None of the WGL_render_texture attribute values makes sense for GLX_X_RENDERABLE, so get rid of it.
2009-11-13 13:36:55 +01:00
Vincent Povirk
4622889bd5
winex11.drv: Ignore FocusOut events on virtual desktop windows.
...
We don't want to send WM_CANCELMODE or set the foreground window to the
desktop when a virtual desktop loses focus. It has its own focus independent
of X.
2009-11-12 14:39:54 +01:00
Vincent Povirk
6823f4aaf8
winex11.drv: Allow explorer to focus other process windows.
...
When explorer gets a take focus message, it tries to focus the foreground
window, but this doesn't work because set_focus can only focus windows in
the current process. We have to look for the focus window in the foreground
thread, not the current one, or we won't find the other process's windows.
Since the other process may crash at any time, causing its windows to be
destroyed, we also have to ignore the BadWindow error that will occur if that
happens at a critical time.
2009-11-12 14:39:39 +01:00
Vincent Povirk
05f00f4ed8
winex11.drv: Allow windows in a virtual desktop to have X focus.
2009-11-12 14:39:14 +01:00
Roderick Colenbrander
61633b6251
winex11: Fix a regression when the same depth was used but in a different bit-ordering.
2009-11-12 13:11:05 +01:00
Roderick Colenbrander
521598560e
wgl: Fix a violation of the GLX specs in ConvertAttribWGLtoGLX.
...
Nvidia and Mesa ignore GLX_RENDER_TYPE when it is set to an invalid
value like 0 but AMD for instance doesn't, which is legal.
2009-11-12 13:09:11 +01:00
Peter Urbanec
ab081aa845
winex11: Implement AlphaBlend mode for the case where SourceConstantAlpha is combined with source alpha.
2009-11-11 15:13:38 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Gerald Pfeifer
1f2611607f
winex11: Handle error situation earlier in X11DRV_GetDIBits().
2009-11-03 21:21:14 +01:00
Roderick Colenbrander
f8786eacb7
winex11: Check format in XRender_GetSrcAreaStretch instead of depth.
2009-10-30 15:08:38 +01:00
Roderick Colenbrander
00bbab491b
winex11: Make sure the formats are the same instead of the depths since the bit ordering can be different.
2009-10-30 15:08:31 +01:00
Ken Thomases
e606da3be9
winex11: Allow assigning non-OEM virtual key codes for remaining keys.
...
This is safe because the keyboard layout tables and standard virtual
key code assignments have all already been done. This is necessary
because some X11 keyboard mappings (e.g. Greek keyboard layout on a
Mac) are full of non-Latin keysyms.
2009-10-27 11:32:04 +01:00
Ken Thomases
58156740f9
winex11: Use a table of available OEM virtual key codes.
...
Restore availability of vkeys prior to VK_OEM_8. That's safe now that OEM
vkeys are assigned in a separate loop after standard OEM vkey assignments
have been made.
2009-10-27 11:31:34 +01:00
Ken Thomases
f6a6712a31
winex11: Assign OEM virtual key codes in a separate loop.
2009-10-27 11:31:18 +01:00
Alexandre Julliard
9ea4e18be6
winex11: Do not give focus to a WS_EX_NOACTIVATE window.
2009-10-23 12:25:22 +02:00
Henri Verbeet
ac14a2eec8
winex11.drv: Properly free "visinfo" in get_formats() (Valgrind).
2009-10-21 16:05:57 +02:00
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