[Webkit-unassigned] [Bug 11954] New: WebKit should investigate making GraphicsContext::restore() smarter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 24 05:56:38 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11954

           Summary: WebKit should investigate making
                    GraphicsContext::restore() smarter
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macdome at opendarwin.org


WebKit should investigate making GraphicsContext::restore() smarter

5.  WebKit spends 6% of its time restoring context state.  I wonder
if one could make restore be a no-op when there were no context
modifications actually made.  It would require carrying an extra bool
on GraphicsContext.  It doesn't look like it would be easy to modify
the various call-sites to only condititionally save/restore, but it
shouldn't be hard to make GC smart enough to do this.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list