Solved

fast framebuffer access

Posted on 2006-06-23
3
239 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now