Commit graph

9 commits

Author SHA1 Message Date
alexm
33156d26e8 2005-01-11 21:57 Alexander Malmberg <alexander@malmberg.org>
* Headers/x11/XWindowBuffer.h: Make the pending_rect ivar a struct
	of int:s.
	* Source/x11/XWindowBuffer.m: Add casts to remove pointer sign
	warnings.
	(-_exposeRect:, -_gotShmCompletion): Update uses of pending_rect.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20537 72102866-910b-0410-8b05-ffd578937521
2005-01-11 21:00:14 +00:00
alexm
af541a19a0 2004-11-10 18:41 Alexander Malmberg <alexander@malmberg.org>
* Source/x11/XWindowBuffer.m (test_xshm): New function.
	(test_xshm_error_handler): New function.
	(+windowBufferForWindow:depthInfo:): Move XShm detection code
	to test_xshm and use it to decide whether to use XShm or not.
	(+initialize): Move use_xshm setting code to test_xshm.
	(+_gotShmCompletion:): Don't warn if we can't find an XWindowBuffer
	for the event.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20338 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:47:38 +00:00
alexm
9b97b70ad2 Add XWindowBufferUseXShm defaults variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16908 72102866-910b-0410-8b05-ffd578937521
2003-06-12 17:23:58 +00:00
alexm
4b6a644e69 Don't explicitly set the X window's background pixmap back to None.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16411 72102866-910b-0410-8b05-ffd578937521
2003-04-10 10:14:47 +00:00
alexm
cc6c1c8b5b (-dealloc): Free the shared memory pixmap (if one was allocated).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16267 72102866-910b-0410-8b05-ffd578937521
2003-03-25 23:26:35 +00:00
alexm
ae36bf80c3 Round expose rectangle outwards.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15717 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:09:33 +00:00
alexm
b78ff5291f Improve error handling when creating shared memory buffers. Don't use shared memory for windows that are (probably) image caches. Don't crash in -needsAlpha if we don't have valid data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14536 72102866-910b-0410-8b05-ffd578937521
2002-09-24 11:22:59 +00:00
alexm
4bb3ab8f4e If possible, create a shared pixmap from the image data and use it as the window's background pixmap.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14501 72102866-910b-0410-8b05-ffd578937521
2002-09-21 10:16:47 +00:00
alexm
7a94e951c2 Rename ARTWindowBuffer to XWindowBuffer and move it to x11/.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14426 72102866-910b-0410-8b05-ffd578937521
2002-09-10 19:37:47 +00:00
Renamed from Source/art/ARTWindowBuffer.m (Browse further)