Warning, /graphics/okular/generators/spectre/DESIGN is written in an unsupported language. File is not indexed.

0001 Quick Spectre Generator design explanation
0002 --------------------------------------------
0003 
0004 libgs has a limitation that there can only be a gs instance per process.
0005 
0006 To overcome that problem there is zero (when no ps document has been opened)
0007 or one GSRendererThread thread running (when on or more ps documents are open
0008 in the same okular process)
0009 
0010 As there is only one GSRendererThread for potentially N GSGenerator, the imageDone
0011 signal from GSRendererThread also emits the request and the GSGenerator checks
0012 if it is its request that was done or from another GSGenerator.