Re: Dispatching and scheduling--basic questions

2008-09-17 Thread Peter Harris
could alleviate this somewhat by using a finer grained lock - most clients access only their own resources. But that doesn't help the Window Manager. Still I don't like the complexity explosion. That too. Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harris

Re: git and utf16

2008-10-22 Thread Peter Harris
, but setting .gitattributes to use an external diff command that groks UTF-16 may help. Just setting the 'diff' attribute will tell git that the file is text, but it may not be what you want (UTF-16 tends to be poorly readable when interpreted as Latin-1). Peter Harris Begin forwarded message

Re: XGetImage returns junk with Xorg/dummy_drv/VTs

2008-11-24 Thread Peter Harris
a hint. Even if the server claims to support the BackingStore bit, it is free to discard your BackingStore at any time, although few servers do so. Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harrishttp://connectivity.hummingbird.com Research

Re: XGetImage returns junk with Xorg/dummy_drv/VTs

2008-11-24 Thread Peter Harris
. It is intended specifically for rudimentary hardcopy support. GetImage contents are undefined if the window is obscured (which it certainly is if the framebuffer is gone). Presumably, GetImage should simply return a black rectangle in that case. Peter Harris -- Hummingbird Connectivity

Re: XGetImage returns junk with Xorg/dummy_drv/VTs

2008-11-24 Thread Peter Harris
). Peter Harris [1] Yes, that was a stupid protocol design decision. But at least the protocol designers admit it in the docs: This request is not general-purpose... It is intended specifically for rudimentary hardcopy support. [2] http://cgit.freedesktop.org/xorg/doc/xorg-docs/plain/hardcopy

Re: XGetImage returns junk with Xorg/dummy_drv/VTs

2008-11-24 Thread Peter Harris
Peter Harris wrote: McDonald, Michael-p7438c wrote: In the X protocol, there is no concept of the root window being obscured. I don't see why not. If I am running multiple desktops, the root of one desktop may be obscured if I am viewing a different desktop. I forgot to remind you about

Re: how does X clip ?

2008-11-29 Thread Peter Harris
is implemented in: http://cgit.freedesktop.org/xorg/xserver/tree/mi/mivaltree.c Actually clipping to that region is left up to the driver most of the time, and may be implemented in hardware. Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harrishttp

Re: Get raw data of Xrender Picture structure

2008-12-08 Thread Peter Harris
/ Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harrishttp://connectivity.hummingbird.com Research and DevelopmentPhone: +1 905 762 6001 [EMAIL PROTECTED]Toll Free: 1 877 359 4866 ___ xorg

Re: GLX in Xephyr --or-- is there some other way to catch a desktop in a texture?

2008-12-08 Thread Peter Harris
. Ideas? Write a compiz-fusion plugin instead of reinventing the entire wheel? Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harrishttp://connectivity.hummingbird.com Research and DevelopmentPhone: +1 905 762 6001 [EMAIL PROTECTED]Toll

Re: Get raw data of Xrender Picture structure

2008-12-08 Thread Peter Harris
and optimal way? Don't read it back. Do your image manipulation entirely on the server side. Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harrishttp://connectivity.hummingbird.com Research and DevelopmentPhone: +1 905 762 6001 [EMAIL

Re: GLX in Xephyr --or-- is there some other way to catch a desktop in a texture?

2008-12-08 Thread Peter Harris
Ashi Krishnan wrote: On Mon, Dec 8, 2008 at 2:20 PM, Peter Harris [EMAIL PROTECTED] wrote: Ashi Krishnan wrote: This is fine if (1) the app creates only one window, and (2) is quite cooperative with respect to where it draws that window -- like, say, the xscreensaver hacks. Maybe I'm dense

Re: Get raw data of Xrender Picture structure

2008-12-08 Thread Peter Harris
McDonald, Michael-p7438c wrote: From: Peter Harris [mailto:[EMAIL PROTECTED] Don't read it back. Do your image manipulation entirely on the server side. Works as long as there is only one server side. Otherwise, slow and suboptimal seems to be your only choice. Fan out is another

Re: Get raw data of Xrender Picture structure

2008-12-09 Thread Peter Harris
is the right way to redirect window contents. Let me know if you have any other comment or idea, Instead of re-inventing the wheel, you may wish to learn from Kompose. http://kompose.berlios.de/ Peter Harris -- Hummingbird Connectivity - A Division of Open Text Peter Harrishttp

Re: Window Manager and multiple application windows

2008-12-16 Thread Peter Harris
. It isn't an official X standard, but many apps use it to declare the decorations they want. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1 905 762 6001 peter.har

Re: Memory leak in fedora 8 xorg server 1.3

2008-12-23 Thread Peter Harris
in more recent servers). This is a static global, is shared amongst all single-rectangle regions, and can not be freed. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1

Re: Xorg memory leakage?

2009-02-03 Thread Peter Harris
server itself. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: Ximage's byte_order field

2009-02-23 Thread Peter Harris
around to match what the server expects. See: http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/PutImage.c particularly the function SendZImage, if you want the gory details. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: [PATCH] Bug in Xextproto

2009-03-30 Thread Peter Harris
Simon Thum wrote: INT32 type (and incompatible ones even, since Xmd's is unsigned long on ILP32 because whoever wrote Xmd.h is a C novice). (to be fair to whoever wrote Xmd.h, once upon a time X11 compiled and ran on I16LP32 targets) Peter Harris -- Open Text Connectivity

Re: Documentation?

2009-04-07 Thread Peter Harris
from newer apps preferring the UTF-8 encoding for text. ICCCM: http://tronche.com/gui/x/icccm/sec-2.html#s-2 UTF8_STRING: http://www.pps.jussieu.fr/~jch/software/UTF8_STRING/UTF8_STRING.text Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: Documentation?

2009-04-07 Thread Peter Harris
Mark Wagner wrote: On Tue, Apr 7, 2009 at 15:37, Peter Harris phar...@opentext.com wrote: Mark Wagner wrote: , such as drawing images? One of the big things I need to update is the toolkit's image-handling code: right now, a simple JPEG splashscreen takes seven seconds to draw. Seven

Re: Documentation?

2009-04-08 Thread Peter Harris
Patrick O'Donnell wrote: From: Peter Harris phar...@opentext.com ...Even if you do need to work on a PseudoColor display, you're far better off allocating a new Colormap[1] and calling XStoreColors once (to fill the whole Colormap with exactly the colors you need) for this sort of thing

Re: Documentation?

2009-04-08 Thread Peter Harris
hung. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: PseudoColor and DirectColor visuals (was Re: Documentation?)

2009-04-09 Thread Peter Harris
not sure if that helps you either, since I don't know if you have the time and energy to write the code and submit it for inclusion in future versions of the server. I also don't know if the X.org maintainers would balk at the idea. Peter Harris [1] Or whatever the OpenGL equivalent is called. [2

Re: PseudoColor and DirectColor visuals (was Re: Documentation?)

2009-04-09 Thread Peter Harris
trimmed about needing to improve RENDER slightly before it would be useful for your purposes. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1 905 762 6001 phar

Re: Documentation?

2009-04-09 Thread Peter Harris
believe GNOME and KDE have an equivalent setting, enabled by default on many distributions. To be fair, you may have customers still using CDE or OpenLook. But those same customers are likely still using a SaveUnders capable X server too. Peter Harris -- Open Text Connectivity

Re: Is there a chance to set an alpha-mask using XOrg?

2009-06-05 Thread Peter Harris
/transset/transSet.c?view=markup for an example. Make sure a composite manager is running (many desktops run one by default these days). Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and Development

Re: 1 Keyboard/Pointer, Many X Servers?

2009-07-15 Thread Peter Harris
from one to another) I use Synergy: http://synergy2.sourceforge.net/ Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.com

Re: reading a window's content with Xlib's XGetImage reveals portions of overlapping windows even with the backing store attribute set to Always

2009-08-20 Thread Peter Harris
yet, rework your code so you don't need to call GetImage. GetImage is very slow. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://www.opentext.com/connectivity Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.com

Re: [RE]Upgrading from 6.8.2

2010-02-24 Thread Peter Harris
manager. There's nothing magic about wget. ftp://ftp.x.org/pub/X11R7.5/src/everything/*.bz2 if your favourite download manager happens to be an FTP client (FileZilla or similar). Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: Capturing X Traffic using ethreal

2010-07-13 Thread Peter Harris
by default. Make sure it is enabled on your machine. Then, export DISPLAY=tcp/localhost:0 before running your app. Also, make sure you're running wireshark as root (so it has permission to sniff traffic). Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: Transparent Color in blitting with X11

2010-07-28 Thread Peter Harris
up triple buffering. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: [Xcb] [ANNOUNCE] xwininfo 1.1.0

2010-09-27 Thread Peter Harris
of your OS, which are freed when the socket is closed, or (b) in the client, which is freed by the OS when the client exits. In no case are pending replies stored in the server. Peter Harris ___ xorg@lists.freedesktop.org: X.Org support Archives: http

Re: slow connection to X server

2010-11-12 Thread Peter Harris
). Is there any debug tools to decode the data? Wireshark can decode core X11. Wireshark version 1.4 and later decode extensions, too. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone

Re: XGetVisualInfo giving me a visual that doesn't work

2011-02-01 Thread Peter Harris
. If I request a 24 bit visual, its OK. If you use a non-default depth, you have to create your own colormap and border_pixel (or pixmap). The default (CopyFromParent) is what's causing your BadMatch. Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: Distributed Multihead X

2011-02-02 Thread Peter Harris
luck with Chromium. http://en.wikipedia.org/wiki/Chromium_%28computer_graphics%29 Although even Chromium looks like it hasn't been updated in a while. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research

Re: how can one build X without libxcb, or libxcb without python, or python without tcl/tk, or tcl/tk without X ?

2011-02-07 Thread Peter Harris
from another system. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: how can one build X without libxcb, or libxcb without python, or python without tcl/tk, or tcl/tk without X ?

2011-02-07 Thread Peter Harris
than the previous XSLT implementation. I don't think it's too much of a burden to expect python on a build machine. That said, if you think you can do a better job in a different language we'd love to see your alternative. Peter Harris -- Open Text Connectivity Solutions Group Peter

Re: Xlib and rotated text?

2011-03-17 Thread Peter Harris
window using XRenderSetPictureTransform and XRenderComposite. http://cgit.freedesktop.org/xorg/proto/renderproto/tree/renderproto.txt#n705 http://cgit.freedesktop.org/xorg/lib/libXrender/tree/include/X11/extensions/Xrender.h#n267 Peter Harris -- Open Text Connectivity Solutions

Re: xpenguins cont'd - repainting a window after penguins walk on it, and when penguins overlap.

2011-06-06 Thread Peter Harris
. It should be available everywhere, and does not need a compositor. (The down side vs translucency+compiz is you can only have sharp edges with SHAPE; no alpha blending) Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: Question about pixman,x11perf and xserver

2011-12-05 Thread Peter Harris
. In particular, cairo-perf-trace is probably more relevant these days than x11perf. See http://cgit.freedesktop.org/cairo-traces/tree/README Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and Development