Solved

fast framebuffer access

Posted on 2006-06-23
3
241 Views
Last Modified: 2011-09-20
Hey folks,

What is the preferred way to quickly read and write to the framebuffer? What I've done is mmap'ing it to a data buffer and then performing operations on potions of it as if it were an array, using memcpy and memcmp. This takes ages though, compared to accessing other parts of memory, which leads me to think that I'm doing it wrong. Any suggestions?

Thanks,
Nathan
0
Comment
Question by:quadrille01
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
manish_regmi earned 500 total points
ID: 17057454
Have you tried using the device file /dev/fb*

Just use open read and Write.


regards
Manish Regmi
0
 
LVL 8

Expert Comment

by:manish_regmi
ID: 17057494
you might find some info for your project here
http://www.linux-fbdev.org/

regards
Manish Regmi
0
 

Author Comment

by:quadrille01
ID: 17058370
Thanks, that was about twice as fast for reading!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to trace the cause of Out Of Memory issues 8 70
KVM vs  Qemu 4 111
Use Powershell script to ftp 10 100
Why  my code (program) build with old compiler? 11 38
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question