Re: [Render] OpenType support in Pango



This reminds me: it may be worth making sure the encoding and interfaces
are such that the Xlib routines can do batching under the covers,
as they do for some of the Xlib graphics calls already.

For those of you not familiar with this hack, in Xlib, for various of
the graphics calls like "XDrawLine", (as opposed to the general interface
XDrawLines), the library checks the protocol buffer, and if the
previous request is the same flavor on the same GC, just appends the
operation to the existing request and increments the size of the request.

This helps naive programs get pretty good performance, and may be applicable
to the render extension; some applications otherwise find it difficult
to use poly requests as well, so it aids performance alot.  Helped win the
benchmarking wars over a decade ago....
                                 - Jim

--
Jim Gettys
Technology and Corporate Development
Compaq Computer Corporation
jg pa dec com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]