• rjw's avatar
    Added flag to turn on/off buffered text drawing to help · 285f059c
    rjw authored
            determine if we get any speed boost.  Run from console
            with "-BufferTextDrawing YES" to enable buffered text
            drawing.
    
            Moved buffered text drawing out of web core.
    
            * WebCoreSupport.subproj/WebTextRenderer.h:
            * WebCoreSupport.subproj/WebTextRenderer.m:
            (+[WebTextRenderer shouldBufferTextDrawing]):
            (+[WebTextRenderer initialize]):
            (-[WebTextRenderer drawGlyphs:numGlyphs:fromGlyphPosition:toGlyphPosition:atPoint:withTextColor:backgroundColor:]):
            * WebCoreSupport.subproj/WebTextRendererFactory.h:
            * WebView.subproj/WebHTMLView.m:
            (-[WebHTMLView drawRect:]):
    
            Move stuff out of core into kit.
    
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge drawRect:withPainter:]):
            * kwq/WebCoreTextRendererFactory.h:
            * kwq/WebCoreTextRendererFactory.m:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    285f059c
WebTextRenderer.h 925 Bytes