[webkit-dev] Access WebKit Rendering pixel data

Michael Chen michael8988 at yahoo.com
Mon Feb 18 08:34:46 PST 2013


Thanks for the reply. What you saying is that there is no clean way to do it in WebKit itself, I will have to go to the platform specific code to do it. 

Best,
Michael


________________________________
 From: Arunprasad Rajkumar <ararunprasad at gmail.com>
To: Michael Chen <michael8988 at yahoo.com> 
Cc: "webkit-dev at lists.webkit.org" <webkit-dev at lists.webkit.org> 
Sent: Saturday, February 16, 2013 5:51 AM
Subject: Re: [webkit-dev] Access WebKit Rendering pixel data
 

Are you talking about Rendered buffer? It is graphics library specific. From which layer you wanted to access? Each WebKit port(qt,gtk,chromium,efl,wx,mac) has their own API exposed to the app developers. Incase of Qt QWebView is a QWidget and you can use 
http://doc.qt.digia.com/qt/qwidget.html#render
to get the rendered buffer as QPixmap object. In GTK port you can get the Cairo context and copy it to the Cairo_image_t(pixman backed Cairo surface).
On Feb 16, 2013 8:23 AM, "Michael Chen" <michael8988 at yahoo.com> wrote:
>
> Hi All,
>
> I am new to WebKit. Is it possible to get a raw pointer to the WebKit rendering buffer? 
>
> I appreciate any comments.
>
> Best regards,
> Michael
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130218/6f1d6a7c/attachment.html>


More information about the webkit-dev mailing list