Provide API for creating WKImage from CGImageRef
https://bugs.webkit.org/show_bug.cgi?id=56159 Reviewed by Sam Weinig. Add function for creating a WKImage from CGImage data. * Shared/API/c/cg/WKImageCG.cpp: (WKImageCreateFromCGImage): Added. Creates a graphics context for the bitmap-backed image and draws into it. * Shared/API/c/cg/WKImageCG.h: git-svn-id: svn://svn.chromium.org/blink/trunk@81087 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment