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

NAME
xcb_map_window - Makes a window visible SYNOPSIS
#include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_map_window(xcb_connection_t *conn, xcb_window_t window); REQUEST ARGUMENTS
conn The XCB connection to X11. window The window to make visible. DESCRIPTION
Maps the specified window. This means making the window visible (as long as its parent is visible). This MapWindow request will be translated to a MapRequest request if a window manager is running. The window manager then decides to either map the window or not. Set the override-redirect window attribute to true if you want to bypass this mechanism. If the window manager decides to map the window (or if no window manager is running), a MapNotify event is generated. If the window becomes viewable and no earlier contents for it are remembered, the X server tiles the window with its background. If the window's background is undefined, the existing screen contents are not altered, and the X server generates zero or more Expose events. If the window type is InputOutput, an Expose event will be generated when the window becomes visible. The normal response to an Expose event should be to repaint the window. 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_map_window_checked. See xcb-requests(3) for details. ERRORS
xcb_match_error_t The specified window does not exist. SEE ALSO
xcb-requests(3), xcb_map_notify_event_t(3), xcb_expose_event_t(3), xcb_unmap_window(3) AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_map_window(3)