Low level X11 programming


 
Thread Tools Search this Thread
Top Forums Programming Low level X11 programming
# 1  
Old 11-30-2015
Low level X11 programming

How to use X11 without Xlib not XCB? How draw window directly on low level?
I must use anyway window manager like Motif?
I have ridden that X11 has server-client architecture, client send via TCP/IP to port 6000 request for primitives and get replies.
Where is detailed description of it? In X11 doc is 35 directories like bigreqsproto, compositeproto, damageproto, dri2proto ...

I see that usually not using port 6000 but file (symlink) X0 in hidden directory /tmp/.X11-unix
----
I begin to understand thanks to x11protocol.pdf from doc.tar.bz2 from ftp://ftp.ntua.gr/pub/X11/X.org/X11R7.7, but I don't know if is possible copy bitmap from client to server? Is request CopyArea but this copy area from on place of screen to other. Requests are small and sending big bitmaps is time consuming especially with remote servers. In other hand - memory bitmaps enable fast pixel changing, for example I read jpg from file to memory. If I have image in memory, how send it to server?

Last edited by AndrzejB; 11-30-2015 at 07:44 PM.. Reason: x11protocol.pdf
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Programming

MOTIF programming and X11 client !

Hi there , i am interesting in MOTIF programming. One question : Is it right that in Motif GUI programming the actions are automaticly transformed and networked to other clients over the internet without network programming necessary ? Are the commands automatic transformed by the X11... (4 Replies)
Discussion started by: Zabo
4 Replies

2. Programming

Why is C/C++ considered low-level languages???

Hi friends, I hope everyone is doing well and fine. I have always been hearing that C/C++ are relatively low-level as compared to Java/C# etc. Could you please tell me some low-level qualities of C/C++? And I think disk deframenters are written in C/C++, please correct me if I am wrong. And please... (5 Replies)
Discussion started by: gabam
5 Replies

3. Programming

System calls and C language low-level qualities???

Hi friends, I hope everyone is fine and doing well. I queried in my previous thread about the low-level qualities of C/C++ languages.I really thank you people for explaining, it was really helpful. One more ambiquity that I have in my mind is regarding the unix system calls like open, creat,... (1 Reply)
Discussion started by: gabam
1 Replies

4. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

5. IP Networking

Best reference for understanding low level info on nic cards drivers and functionality

Hi, What is the best reference that gives in detail on nic cards configuration , assigning multiple ip addresses to a single interface, netlink library etc and all basic stuff at this level..? Thanks (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies

6. Programming

write() issue during a low level hdd access

Hi, I am trying to write zeroes to the hdd using a c program. I don't want to use the dd or ddrescue or any such inbuilt program because of reasons like real time progress, writing custom patterns. (my program is more like an erasure application, but does only zero fill). here are the steps... (35 Replies)
Discussion started by: sponnusa
35 Replies

7. UNIX for Dummies Questions & Answers

Low level format?

I want to do a low level format like in windows (C:\format c:) but I don't know how it works in unix or linux.. Can somebody help me ? thnx :) (3 Replies)
Discussion started by: day
3 Replies
Login or Register to Ask a Question
XSetEventQueueOwner(3)						  XLIB FUNCTIONS					    XSetEventQueueOwner(3)

NAME
XSetEventQueueOwner - set event queue owner on a shared Xlib/XCB connection SYNTAX
#include <X11/Xlib-xcb.h> void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner); ARGUMENTS
dpy Specifies the connection to the X server. owner Specifies the event queue ownership: XlibOwnsEventQueue (default) Xlib owns the event queue. Use the Xlib event-handling functions. Do not call the XCB event-handling functions. XCBOwnsEventQueue XCB owns the event queue. Use the XCB event-handling functions. Do not call the Xlib event-handling functions. DESCRIPTION
While a client using Xlib/XCB can issue requests and handle their replies or errors with either Xlib or XCB, only one can own and handle the event queue. By default, Xlib must own the event queue, for compatibility with legacy Xlib clients. Clients can call XSetEventQueue- Owner immediately after XOpenDisplay to let XCB own the event queue instead. Clients may not call XSetEventQueueOwner at any other time, as this will potentially lose responses. SEE ALSO
XOpenDisplay(3), XGetXCBConnection(3), Xlib - C Language X Interface X Version 11 libX11 1.3.2 XSetEventQueueOwner(3)