Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

fast framebuffer access

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
quadrille01
Asked:
quadrille01
  • 2
1 Solution
 
manish_regmiCommented:
Have you tried using the device file /dev/fb*

Just use open read and Write.


regards
Manish Regmi
0
 
manish_regmiCommented:
you might find some info for your project here
http://www.linux-fbdev.org/

regards
Manish Regmi
0
 
quadrille01Author Commented:
Thanks, that was about twice as fast for reading!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now