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
, 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
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
. 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
).
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
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
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
/
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
.
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
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
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
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
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
. 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
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
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
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
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
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
).
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
. 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
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
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
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
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
. 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
. 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
40 matches
Mail list logo