[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] How to switch on MultiSampling for accelerated 2D Canvas?
From:       Tom Hudson <tomhudson () chromium ! org>
Date:       2012-11-27 9:28:32
Message-ID: CAEE+rkBmMuQbK23_2=2AHLjh74kn_Tzc=drkdhR1Q39S8c+7+w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Nov 27, 2012 at 8:00 AM, Kui Zheng <kuii.zheng@gmail.com> wrote:

> Hi,
> I was trying to accelerate path filling using stencil buffer, For
> antialiasing, we rely on GPU multisampling.
> So, I want to know Does webkit support Multisampling for accelerated
> 2D Canvas? how to switch on it?
> Thanks for you help.
>

I believe the details of this depend on which port you're using.

For Chromium, the graphics layer is Skia, and you can get a more targeted
answer on the skia-discuss mailing list.
However, Chromium already uses the stencil buffer for some path rendering,
and we've found it to be considerably *slower* than a software
implementation in common web use cases.

Tom  (from the right email address this time)

[Attachment #5 (text/html)]

<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt">On Tue, Nov \
27, 2012 at 8:00 AM, Kui Zheng <span dir="ltr">&lt;<a \
href="mailto:kuii.zheng@gmail.com" \
target="_blank">kuii.zheng@gmail.com</a>&gt;</span> wrote:<br> <div \
class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
 I was trying to accelerate path filling using stencil buffer, For<br>
antialiasing, we rely on GPU multisampling.<br>
So, I want to know Does webkit support Multisampling for accelerated<br>
2D Canvas? how to switch on it?<br>
Thanks for you help.<br></blockquote><div><br></div><span \
style="font-family:arial,helvetica,sans-serif;font-size:13px">I believe the details \
of this depend on which port you&#39;re using.</span><div \
style="font-family:arial,helvetica,sans-serif;font-size:13px"> <br></div><div \
style="font-family:arial,helvetica,sans-serif;font-size:13px">For Chromium, the \
graphics layer is Skia, and you can get a more targeted answer on the skia-discuss \
mailing list.</div><div \
style="font-family:arial,helvetica,sans-serif;font-size:13px"> However, Chromium \
already uses the stencil buffer for some path rendering, and we&#39;ve found it to be \
considerably *slower* than a software implementation in common web use \
cases.</div><div style="font-family:arial,helvetica,sans-serif;font-size:13px"> \
<br></div><div><span \
style="font-family:arial,helvetica,sans-serif;font-size:13px">Tom  (from the right \
email address this time)</span> </div></div></div></div>



_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic