[webkit-dev] Proposal: Revise WebKit/win To use GraphicsContext rather than CG calls

Brent Fulgham bfulgham at gmail.com
Thu Dec 11 10:35:44 PST 2008

I have been keeping a set of patches attached to
https://bugs.webkit.org/show_bug.cgi?id=17484, which mainly #if/def
around various CG and CFNetwork calls.

Setting aside the issue of CFNetwork calls in WebKit/win, I wanted to
see if we could reach some agreement on revising the WebKit/win layer
so that rather than making direct calls to the CoreGraphics backend,
it would go through the GraphicsContext abstraction.  This would allow
the same code to run for both back-ends with minimal changes, and
would help avoid unintended breaks when new features were added to the

Would changing to GraphicsContext objects instead of bare CGContextRef
and friends be acceptable to the Apple/Safari team?  If so, I'd be
happy to put together a patch to make this happen.



More information about the webkit-dev mailing list