[Webkit-unassigned] [Bug 10648] New: All NSGraphicsContext usage should be removed from WebCore

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Aug 31 00:36:25 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10648

           Summary: All NSGraphicsContext usage should be removed from
                    WebCore
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P3
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: macdome at opendarwin.org


All NSGraphicsContext usage should be removed from WebCore

This pertains particularly to the use of [NSGraphicsContext currentContext]

This isn't too hard of a task.  There are only 45 uses of NSGraphicsContext
left in the code.  Most of them are unnecessary at this point now that form
controls are almost all rendered inside the engine code.

A few enhancements will be necessary to GraphicsContext before this is possible
(including adding an isPrinting state as well as an isFlipped state -- both for
text drawing).

NSGraphicsContext currentContext will still be needed when calling up into
plugins, but should be otherwise unnecessary inside WebCore.

(Removing this will fix some crashers in SVG if nothing else -- due to
mishandling of NSGraphicsContext in KRenderingGraphicsContext.)


-- 
Configure bugmail: http://bugzilla.opendarwin.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