This patch extends GraphicsContext.h to have the necessary entry points to implement <canvas>. The patch is done by #else clauses whereever there was #if PLATFORM(CG) specific code used for <canvas>.
Created attachment 13993 [details] patch.txt and a new platform header PlatformGraphics.h
Can you please attach the change as a diff created with svn-create-patch (in WebKitTools/Scripts) rather than a zip file? A ChangeLog entry should also be included (use prepare-ChangeLog to generate a template). If you would like this patch to be reviewed and landed, you should select the "review ?" flag after attaching the patch.
(This hasn't been flagged for review, but I should point out that this would not be appropriate for landing until after the stabilization period is over.)
Mike, are you able to attach an updated patch in the correct format?
Comment on attachment 13993 [details] patch.txt and a new platform header PlatformGraphics.h The big issue here is the addition of many new methods to GraphicsContext with no implementations. This will break all non-CoreGraphics builds, and at the very least these should be stubbed out. A ChangeLog entry and the necessary project file changes would also be great. Besides that there are some minor code style issues I noticed while skimming the patch: the local variable "pg" in CanvasGradient::platformGradient seems unnecessary and the placement of braces is incorrect, the declaration of "count" has been manually lined up with "data", one of the changes in HTMLCanvasElement.cpp adds unnecessary braces.
Would like to get this one moving along again. The current situation is quite ugly.
This could easily go on the feature-branch, once the patch is dusted off again.
Mike, this has all been done in the latest sources.