[webkit-dev] WebKit graphics library abstract layer

Javed Rabbani jrabbani at gmail.com
Mon Jun 29 10:27:46 PDT 2009


*WebCore/platform/graphics/GraphicsContext.cpp/.h* and platform specific
implementation inside GraphicsContext{Platform}.cpp. For instance, *
GraphicsContextQt.cpp*, *GraphicsContextWx.cpp* etc.

On Mon, Jun 29, 2009 at 7:42 PM, David Hyatt <hyatt at apple.com> wrote:

> WebCore/platform/Graphics/
>
>
> On Jun 29, 2009, at 2:13 AM, n179911 wrote:
>
>  Webkit supports on multiple platform (e.g. Windows, MacOS, linux).
>> And when Webkit paints content on screen, it needs to call native
>> graphics api to paint (e.g. draw text, draw image, draw line, draw
>> rect).
>>
>> Does Webkit code has an abstract layer, which hides the platform
>> dependent graphics API.  And the render engine just calls this
>> abstract layer graphics api and this abstract layer api
>> will handle, or link in platform dependent implementation of those
>> draw text, draw rect calls?
>>
>> If yes, can you least tell me where can I find this abstract layer code.
>>
>> Thank you.
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090629/446fb59c/attachment.html>


More information about the webkit-dev mailing list