pango r2443 - in trunk: . pango



Author: behdad
Date: 2007-10-11 18:21:31 +0100 (Thu, 11 Oct 2007)
New Revision: 2443
ViewCVS link: http://svn.gnome.org/viewcvs/pango?rev=2443&view=rev

Modified:
   trunk/ChangeLog
   trunk/pango/pango-ot-buffer.c
   trunk/pango/pango-ot-private.h
Log:
2007-10-11  Behdad Esfahbod  <behdad gnome org>

        Bug 485566 â Cache one OpenType Buffer

        * pango/pango-ot-buffer.c (acquire_buffer), (release_buffer),
        (pango_ot_buffer_new), (pango_ot_buffer_destroy):
        * pango/pango-ot-private.h:
        Cache one HB_Buffer that is acquired using a lock.  A new one is
        created if the shared buffer is locked.  The shared buffer is 
        cleared when released.  May want to make it free shared buffer if
        buffer->allocated is too large.  Not sure.






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