Tilen Posted March 9, 2017 Report Share Posted March 9, 2017 Hello, does uGFX use clipping regions for redrawing screen? Or does it always redraw all children widgets if one has changed position or similar? Thanks for answer. Link to comment Share on other sites More sharing options...
inmarket Posted March 9, 2017 Report Share Posted March 9, 2017 It uses a single rectangular clipping region. It does not use complex regions due to the (unbounded) memory requirements to support such functionality. What this means for redrawing is that in limited circumstances window redrawing is clipped. Outside those circumstances a bottom up redraw strategy is required. An example of when clipping optimization can be used is when a window is made invisible all underlying windows need to be redrawn bottom up but the redraws will be clipped to the area covered by window just made invisible. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now