Changeset 1204

Show
Ignore:
Timestamp:
11/22/09 17:53:38 (8 months ago)
Author:
astrange
Message:

SSA: Switch from "high interpolation quality" to "low interpolation quality".

I have several files which have noticable frames dropped due to too much
time spent drawing transparency layers.
This might not do anything since I can't really see a difference.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Subtitles/SubATSUIRenderer.m

    r1189 r1204  
    10421042        SetATSULayoutOther(layout, kATSUCGContextTag, sizeof(CGContextRef), &c); 
    10431043         
    1044         CGContextSetLineCap(c, kCGLineCapRound); 
     1044        CGContextSetLineCap(c, kCGLineCapRound); // these two are needed to avoid spiky outlines on some fonts 
    10451045        CGContextSetLineJoin(c, kCGLineJoinRound); 
    1046         CGContextSetInterpolationQuality(c, kCGInterpolationHigh); 
    1047         CGContextSetShouldSmoothFonts(c, NO); //disables subpixel AA for some reason 
     1046        CGContextSetInterpolationQuality(c, kCGInterpolationLow); 
     1047        CGContextSetShouldSmoothFonts(c, NO); // disables subpixel AA which suddenly appeared in some version of 10.5 
     1048                                                                                  // note that it's not documented as doing this, but does the right thing anyway. 
    10481049         
    10491050        for (i = 0; i < div_count; i++) {