jdk/src/macosx/native/sun/awt/CTextPipe.m
changeset 21278 ef8a3a2a72f2
parent 19780 9b0b2ea681b7
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   320     doDrawGlyphs() has been separated into several pipelined functions to increase performance,
   320     doDrawGlyphs() has been separated into several pipelined functions to increase performance,
   321     and improve accountability for JNI resources, malloc'd memory, and error handling.
   321     and improve accountability for JNI resources, malloc'd memory, and error handling.
   322 
   322 
   323     Each stage of the pipeline is responsible for doing only one major thing, like allocating buffers,
   323     Each stage of the pipeline is responsible for doing only one major thing, like allocating buffers,
   324     aquiring transform arrays from JNI, filling buffers, or striking glyphs. All resources or memory
   324     aquiring transform arrays from JNI, filling buffers, or striking glyphs. All resources or memory
   325     aquired at a given stage, must be released in that stage. Any error that occurs (like a failed malloc)
   325     acquired at a given stage, must be released in that stage. Any error that occurs (like a failed malloc)
   326     is to be handled in the stage it occurs in, and is to return immediatly after freeing it's resources.
   326     is to be handled in the stage it occurs in, and is to return immediatly after freeing it's resources.
   327 
   327 
   328 -----------------------------------*/
   328 -----------------------------------*/
   329 
   329 
   330 static JNF_CLASS_CACHE(jc_StandardGlyphVector, "sun/font/StandardGlyphVector");
   330 static JNF_CLASS_CACHE(jc_StandardGlyphVector, "sun/font/StandardGlyphVector");