Jump to content

Recommended Posts

Posted

I've noticed a number of drivers use the "stream" methods.  These seem very easy to implement, but also it seems they'd always be very slow.

Is there a benefit to those methods?  Is there a reason so many drivers use this method?  Was the other option added later?

Posted

It all depends on the display controller. Some display controllers - that is just how they operate.

In terms of speed, they can be just as fast as any other mechanism. It really all comes down to bus speed and the type of bus. For some bus types and speeds streaming controllers can be faster than any other type. Try doing framebuffer pixels writes over a slow I2C bus would be terribly slow, a streaming controller and driver can however perform really well.

uGFX is pretty unique amongst graphics libraries because it doesn't require direct access to the framebuffer in RAM. It was with this basic tenant that the first version of uGFX was written, and its first hardware controller was a streaming driver.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...