[poppler] Understanding the rendering pipeline

Tuom Larsen tuom.larsen at gmail.com
Thu Oct 22 13:15:47 PDT 2009


On Sun, Oct 18, 2009 at 10:57 PM, Albert Astals Cid <aacid at kde.org> wrote:

> > buffer?
>
> > What I don't get is how and where are the operators rendered to the
> memory
> Well, each of the commands get called and this goes through the outputdev
> that
> "draws" things
>
> > How gets a page state transformed to pixels?
> By commands like "draw line"
>
> > Is there performed a binary search for every command in pdf?
>
> Yes, but it's actually cheap so don't bother optimizing that it'll give you
> a
> 0.00000001% performance boost at most.
>

Hello,
thanks for the reply!
If I understood correctly: in PDF, say there are 1000 lines. Is the binary
search for outputdev's appropriate callback called 1000 times? I thought
there is some kind of cache (this is what I was trying to find in the
source) but you are saying that it is fast enough? Is this correct? Fair
enough...
Thanks for the info, once more!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/poppler/attachments/20091022/67665093/attachment.html 


More information about the poppler mailing list