Relative Content

Tag Archive for linuxx11shared-memoryxorgxcb

Accessing X11 window pixel data over shared memory

I am writing a program in which I need to access an X11 window’s pixel data as efficiently as possible, ideally over shared memory, without needing to make XCB calls every time I want to refresh the pixel data. It’s a similar idea as Xvfb‘s -shmem option, but I want to access per-window pixel data over shared memory, rather than the entire screen.