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
xcb_change_save_set(3)						   XCB Requests 					    xcb_change_save_set(3)

NAME
xcb_change_save_set - Changes a client's save set SYNOPSIS
#include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_change_save_set(xcb_connection_t *conn, uint8_t mode, xcb_window_t window); REQUEST ARGUMENTS
conn The XCB connection to X11. mode One of the following values: XCB_SET_MODE_INSERT TODO: NOT YET DOCUMENTED. XCB_SET_MODE_DELETE TODO: NOT YET DOCUMENTED. Insert to add the specified window to the save set or Delete to delete it from the save set. window The window to add or delete to/from your save set. DESCRIPTION
TODO: explain what the save set is for. This function either adds or removes the specified window to the client's (your application's) save set. RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop. If you want to handle errors directly with xcb_request_check instead, use xcb_change_save_set_checked. See xcb-requests(3) for details. ERRORS
xcb_window_error_t The specified window does not exist. xcb_value_error_t You specified an invalid mode. xcb_match_error_t You created the specified window. This does not make sense, you can only add windows created by other clients to your save set. SEE ALSO
xcb-requests(3), xcb_reparent_window(3) AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_change_save_set(3)