LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2015, 04:47 PM   #1
rlsj
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Rep: Reputation: Disabled
"Blitter" in X11?


RPi-2B w/ 32GB RAM, 1 TB USB drive, 1920x1080 Touch Monitor, running Raspbian:

I need to save and restore rectangles in an X11 window quickly in order to use dialog boxes. Does graphic support for Linux generally (and the RPi specifically) include the "blitter" found on graphics for the Intel PC family -- that is, hardware that supports DMA transfer between graphics and main RAM?

I know that X11 was designed for servers and clients that lie at either ends of networks, so maybe the better question is, Does X11 define a call to move raster data between a screen window and malloc'd RAM?

Thanks for your attention.
 
Old 09-08-2015, 07:20 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
can you not just use double buffering and offscreen bitmaps both of which x11 supports?
if xserver is running on older hardware you should check that x11 is supported on that system first.
 
Old 09-09-2015, 07:19 PM   #3
rlsj
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Keith,

You wrote,
>... just use double buffering and offscreen bitmaps ...

Guessing that "bitmap" was a key word -- always the top problem in discovering something about Linux, especially in graphics: guessing the keywords -- I Googled up

http://www.x.org/releases/X11R7.7/do...x.html#pixmaps

and believe xcb_copy_area() may do the job. Will report after further investigation.
 
Old 09-09-2015, 07:34 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
in xlib look at xcopyarea to copy a pixmap from/to a window or other pixmap, use xcopyplane to only copy a 1 bit bitmap, see the manpages for more details
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux "is" X11 or Linux "optionally uses" X11 or... d0ugparker Linux - General 3 04-14-2015 07:03 AM
"X11 connection rejected because of wrong authentication." and sudo DennisC31 AIX 1 08-24-2011 09:27 AM
seeking conversion to/from winXX tablet "journal" and X11 tablet "xournal" ink SaintDanBert Linux - Software 0 01-12-2010 05:14 PM
X doesnt start anymore; error message: "/etc/X11/ X is not an executable" lixy Linux - General 5 01-14-2006 09:12 AM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration