onyx-intl/boox-opensource — pull request #20 by macnuts (2013-08-19 06:43:04+00:00)
Title: Reduce book rendering time  on startup.

This is a small one.
Options are stored globally, not in the document object. It is safe to load a document after all settings has been loaded. It may limit numer of document rendering before it is displayed.

By 'render' I mean internal cr3 operations which converts cr3 logical layout into more roboust screen representation.,

My findings:
During my cr3 testing (via logging) I noticed that ducument is rendered mutiple times before it is displayed in screen. It is rendered at least one time too much when document will be displayed in full screen (without bottom system status bar). Document is rendered on inital load (#1), then when window "position" and size are restored (#2), then when it is resized to full screen (#3).
Changes in this request will eliminate #2.