Re: [webkit-dev] Porting WebKit To a new graphic backend.
On 11/14/2012 07:24 AM, ZhangJiPeng wrote: The idea came from an embedded browser development project. Benjamin I want to porting WebKit to a new platform, the platform can only provide video address programming interface. So I need to porting DirectFB, Cairo, GTK and so on. However the hardware resources are limited, can't running so much software, I need to find a more lightweight and high quality solutions, so I develop the picasso library. The same code base can run on different graphics system does not depend on the features of graphic system, this is the goal of Picasso. To experiment with this, you could create your own git branch and try implementing a GraphicsContextPicasso (see Source/WebCore/platform/graphics/cairo | skia) - similar to GraphicsContextSkia and GraphicsContextCairo. Then you need to typedef the WebKit GraphicsContext to the Picasso graphics context and instruct your browser app to do all WebKit rendering into the Picasso GraphicsContext. Gettings simple web pages to render with a new backend, somewhat close to the other backends might not even take that long. However, getting every detail right, like layers with opacity, rounded corners, correct clipping, full SVG support etc. is a rahter large amount of work. Regards, Dominik ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Porting WebKit To a new graphic backend.
, Dominik Röttsches wrote: On 11/14/2012 07:24 AM, ZhangJiPeng wrote: The idea came from an embedded browser development project. Benjamin I want to porting WebKit to a new platform, the platform can only provide video address programming interface. So I need to porting DirectFB, Cairo, GTK and so on. However the hardware resources are limited, can't running so much software, I need to find a more lightweight and high quality solutions, so I develop the picasso library. The same code base can run on different graphics system does not depend on the features of graphic system, this is the goal of Picasso. To experiment with this, you could create your own git branch and try implementing a GraphicsContextPicasso (see Source/WebCore/platform/graphics/cairo | skia) - similar to GraphicsContextSkia and GraphicsContextCairo. Then you need to typedef the WebKit GraphicsContext to the Picasso graphics context and instruct your browser app to do all WebKit rendering into the Picasso GraphicsContext. Gettings simple web pages to render with a new backend, somewhat close to the other backends might not even take that long. However, getting every detail right, like layers with opacity, rounded corners, correct clipping, full SVG support etc. is a rahter large amount of work. Regards, Dominik Thank you for your suggestion. I have submitted a patch for these changes. https://bugs.webkit.org/show_bug.cgi?id=102063 It will be actively maintained. Regards jpzhang ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Porting WebKit To a new graphic backend.
On Tue, Nov 13, 2012 at 9:03 AM, ZhangJiPeng oneco...@gmail.com wrote: I want to porting webkit to a new graphics library, because I need to rendeting webpage to any platform. The graphic library named Picasso( http://picasso-graphic.googlecode.com/files/picasso12_source.tar.gz). Only a Mobile browser use this port at present( http://www.zncsoft.com/down.html). Picasso is a device independent rendering library. The project home page is http://code.google.com/p/picasso-graphic/ I send a patch to bugs.webkit.org ( https://bugs.webkit.org/show_bug.cgi?id=102063) Can you give us some more context? Which port uses that? Why not just use Cairo or Skia? etc. A quick check on http://code.google.com/p/picasso-graphic/ shows it uses this other project for the rasterization: http://www.antigrain.com AGG seems dead since 2006. Benjamin ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Porting WebKit To a new graphic backend.
You might want to look at the Chromium content framework. It's based on webkit and is already ported to several platforms. On Tue, Nov 13, 2012 at 1:32 PM, Benjamin Poulain benja...@webkit.orgwrote: On Tue, Nov 13, 2012 at 9:03 AM, ZhangJiPeng oneco...@gmail.com wrote: I want to porting webkit to a new graphics library, because I need to rendeting webpage to any platform. The graphic library named Picasso( http://picasso-graphic.googlecode.com/files/picasso12_source.tar.gz). Only a Mobile browser use this port at present( http://www.zncsoft.com/down.html). Picasso is a device independent rendering library. The project home page is http://code.google.com/p/picasso-graphic/ I send a patch to bugs.webkit.org ( https://bugs.webkit.org/show_bug.cgi?id=102063) Can you give us some more context? Which port uses that? Why not just use Cairo or Skia? etc. A quick check on http://code.google.com/p/picasso-graphic/ shows it uses this other project for the rasterization: http://www.antigrain.com AGG seems dead since 2006. Benjamin ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Porting WebKit To a new graphic backend.
于 2012-11-14 4:32, Benjamin Poulain 写道: On Tue, Nov 13, 2012 at 9:03 AM, ZhangJiPeng oneco...@gmail.com mailto:oneco...@gmail.com wrote: I want to porting webkit to a new graphics library, because I need to rendeting webpage to any platform. The graphic library named Picasso(http://picasso-graphic.googlecode.com/files/picasso12_source.tar.gz). Only a Mobile browser use this port at present(http://www.zncsoft.com/down.html). Picasso is a device independent rendering library. The project home page is http://code.google.com/p/picasso-graphic/ I send a patch to bugs.webkit.org http://bugs.webkit.org (https://bugs.webkit.org/show_bug.cgi?id=102063) Can you give us some more context? Which port uses that? Why not just use Cairo or Skia? etc. A quick check on http://code.google.com/p/picasso-graphic/ shows it uses this other project for the rasterization: http://www.antigrain.com AGG seems dead since 2006. Benjamin The idea came from an embedded browser development project. I want to porting WebKit to a new platform, the platform can only provide video address programming interface. So I need to porting DirectFB, Cairo, GTK and so on. However the hardware resources are limited, can't running so much software, I need to find a more lightweight and high quality solutions, so I develop the picasso library. The same code base can run on different graphics system does not depend on the features of graphic system, this is the goal of Picasso. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Porting WebKit To a new graphic backend.
? 2012-11-14 5:36, Jake ??: You might want to look at the Chromium content framework. It's based on webkit and is already ported to several platforms. On Tue, Nov 13, 2012 at 1:32 PM, Benjamin Poulain benja...@webkit.org mailto:benja...@webkit.org wrote: On Tue, Nov 13, 2012 at 9:03 AM, ZhangJiPeng oneco...@gmail.com mailto:oneco...@gmail.com wrote: I want to porting webkit to a new graphics library, because I need to rendeting webpage to any platform. The graphic library named Picasso(http://picasso-graphic.googlecode.com/files/picasso12_source.tar.gz). Only a Mobile browser use this port at present(http://www.zncsoft.com/down.html). Picasso is a device independent rendering library. The project home page is http://code.google.com/p/picasso-graphic/ I send a patch to bugs.webkit.org http://bugs.webkit.org (https://bugs.webkit.org/show_bug.cgi?id=102063) Can you give us some more context? Which port uses that? Why not just use Cairo or Skia? etc. A quick check on http://code.google.com/p/picasso-graphic/ shows it uses this other project for the rasterization: http://www.antigrain.com AGG seems dead since 2006. Benjamin ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev Thank you, I will refer to that. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev