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
Roderick Colenbrander
ea700f5d54
winex11: Add a helper function for converting a random color to a XRenderColor.
2009-07-13 11:08:55 +02:00
Yuri Khan
f1c131ba27
winex11.drv: Handle clipboard on an auxiliary thread for windowless apps.
2009-07-13 10:48:56 +02:00
Roderick Colenbrander
cce1c44afa
winex11: Get rid of depth conversion fixme.
2009-07-10 13:07:29 +02:00
Roderick Colenbrander
e13865285e
winex11: Move glyph code over to get_xrender_format.
2009-07-06 15:25:16 +02:00
Roderick Colenbrander
bf86daa0b6
winex11: Move AlphaBlend over to get_xrender_format.
2009-07-06 15:25:10 +02:00
Roderick Colenbrander
8262e0a800
winex11: Get rid of the static Xrender picture format table.
2009-07-06 15:24:57 +02:00
Austin English
349337d7ef
winex11: Make sure GetKeyNameText gets the correct length to return.
2009-06-26 12:05:17 +02:00
Alexandre Julliard
edebc2b75f
winex11: Try to use the correct window rectangle as far as possible at XCreateWindow time.
2009-06-25 12:10:44 +02:00
Vincent Povirk
6259aeaacb
winex11.drv: Link the windows JFIF format to the X image/jpeg format.
2009-06-22 11:22:23 +02:00
Vincent Povirk
e4663206be
winex11.drv: Link the windows PNG format to the X image/png format.
2009-06-22 11:22:19 +02:00
Detlef Riekenberg
a30624143a
winex11: Get rid of glext.h in remaining locations.
2009-06-22 11:22:02 +02:00
Roderick Colenbrander
28a2646d21
wgl: Get rid of glXQueryDrawable because officially it only works on GLXDrawables.
...
Nvidia allows it to operate on a standard Window too but Mesa and AMD
don't and this isn't needed according to the GLX specs. This prevents
crashes when creating +wgl logs.
2009-06-17 12:04:55 +02:00
Damjan Jovanovic
36685b0761
winex11.drv: Fix file drops on KDE4 and XFCE.
2009-06-15 13:42:28 +02:00
Austin English
99069ab61f
winex11: Return correct length for GetKeyNameText.
2009-06-09 17:01:13 +02:00
Vincent Povirk
cedc8e7099
winex11.drv: Don't use XEvents uninitialized when waits time out.
2009-06-04 12:11:47 +02:00
André Hentschel
ef016c32c1
winex11: Fix Ctrl+Shift+Tab translation.
2009-06-02 11:57:21 +02:00
André Hentschel
cc688148ac
winex11: Fix Ctrl+Tab translation.
2009-05-28 15:02:01 +02:00
Dmitry Timoshkov
2fdbeefc96
winex11.drv: Avoid a crash if not in a desktop mode.
2009-05-28 12:42:18 +02:00
Francois Gouget
fa7f46e85a
winex11: Also define X11DRV_OpenGL_Cleanup() when OpenGL is not supported.
2009-05-27 11:10:53 +02:00
Vincent Povirk
5c41156ab0
winex11: Set the fullscreen state of virtual desktops based on size.
2009-05-27 11:10:34 +02:00
Francois Gouget
c642481305
winex11.drv: Replace an strdup() with HeapAlloc() in the OpenGL code.
...
Free the corresponding memory when the library is unloaded.
2009-05-26 14:25:12 +02:00
Vincent Povirk
9eaf6a29fe
winex11.drv: Optimize AlphaBlend of 1x1 source bitmaps.
2009-05-21 16:17:51 +02:00
Vincent Povirk
603675d0d4
winex11.drv: Use the proper enum value for repeat.
2009-05-21 16:17:51 +02:00
Roderick Colenbrander
d66ded939c
wgl: Set PFD_GENERIC_FORMAT on bitmap formats instead of PFD_GENERIC_ACCELERATED.
2009-05-20 10:51:20 +02:00
Roderick Colenbrander
f83b299bd2
wgl: Use local pixel format data for WGL_ACCELERATION_ARB.
2009-05-19 11:58:53 +02:00
Roderick Colenbrander
73546edc9f
wgl: Make sure WGL_DRAW_TO_BITMAP_ARB is only seen on our duplicated bitmap-capable formats.
2009-05-18 13:23:34 +02:00
Roderick Colenbrander
2eec8aca02
wgl: Make sure WGL_SUPPORT_GDI_ARB is only seen on formats on which we set it during startup (in get_formats).
2009-05-18 13:22:09 +02:00
Roderick Colenbrander
cc96ce438a
wgl: Add WGL_SWAP_METHOD_ARB support.
2009-05-18 12:34:48 +02:00
Roderick Colenbrander
c315d75dab
wgl: Offer PFD_GENERIC_ACCELERATED on bitmap capable formats.
...
Windows drivers do this as well and some apps rely on this (it might
fix Sketchup but I can't reproduce the issues on this system).
2009-05-15 11:55:12 +02:00
Roderick Colenbrander
2b58d2dc06
wgl: Select bitmap capable formats when PFD_DRAW_TO_BITMAP is requested by the caller.
2009-05-15 11:54:57 +02:00
Roderick Colenbrander
b5a62756aa
wgl: Duplicate some single buffered pixel formats for bitmap rendering and restrict bitmap rendering to these formats.
...
The use of direct / indirect rendering is now tied to the bitmapFormat
flag of a pixel format. Indirect is fine for bitmap rendering since on
windows it is only supported using the software gdi renderer and
indirect rendering can also indicate software rendering.
2009-05-15 11:54:05 +02:00
Austin English
2b03dd373d
winex11.drv: Remove an outdated comment.
2009-05-06 16:09:43 +02:00
Alexandre Julliard
a4644f126b
winex11: Limit window dimensions to 65535 to avoid 16-bit truncation issues.
2009-05-05 15:36:25 +02:00
Vincent Povirk
56a3e788ea
winex11.drv: Export copied images as image/bmp.
2009-05-04 12:49:54 +02:00
Vincent Povirk
272e2d2251
winex11.drv: Convert image/bmp X selections to Windows DIB.
2009-05-01 13:19:20 +02:00
Rein Klazes
5265e0f2e5
winex11: GetPixel() on a monochrome bitmap should return black or white, not dark red.
2009-04-29 15:50:25 +02:00
Huw Davies
3f7b2b9932
winex11.drv: Print clipboard formats in hex.
2009-04-24 15:02:20 +02:00
Alexandre Julliard
eafc9caa80
winex11.drv: Don't give focus to a minimized window upon take focus.
2009-04-23 12:41:57 +02:00
Roderick Colenbrander
9b889626d0
opengl: Add WGL_EXT_pixel_format_packed_float support.
2009-04-21 13:16:09 +02:00