Solved

fast framebuffer access

Posted on 2006-06-23
3
238 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
Comment Utility
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
Comment Utility
you might find some info for your project here
http://www.linux-fbdev.org/

regards
Manish Regmi
0
 

Author Comment

by:quadrille01
Comment Utility
Thanks, that was about twice as fast for reading!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

16 Experts available now in Live!

Get 1:1 Help Now