<div dir="ltr">I and Kevin worked on removing boost dependencies in fastuidraw.<div>And now, we completely remove its dependencies.</div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br>Yusuke Suzuki</div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 23, 2016 at 5:33 AM, Rogovin, Kevin <span dir="ltr">&lt;<a href="mailto:kevin.rogovin@intel.com" target="_blank">kevin.rogovin@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div vlink="#954F72" link="#0563C1" lang="EN-US">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi,<br>
<br>
 There is quite likely ways around using boost. It&#39;s main use is to provide mutex, threading and atomic, which is quite easy to do another way. The harder to replace of boost is in how FastUIDraw handles loading front via FreeType I want to change in a big
 way and killing the boost dependency is one of those goals.<br>
<br>
-Kevin<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-9071233737838538471divRpF774985" style="direction:ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Olmstead, Don [<a href="mailto:Don.Olmstead@sony.com" target="_blank">Don.Olmstead@sony.com</a>]<br>
<b>Sent:</b> Tuesday, November 22, 2016 9:04 PM<br>
<b>To:</b> Rogovin, Kevin; <a href="mailto:webkit-dev@lists.webkit.org" target="_blank">webkit-dev@lists.webkit.org</a><br>
<b>Subject:</b> RE: WebKit GPU rendering possibility<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div class="m_-9071233737838538471WordSection1">
<p class="MsoNormal"><span style="color:#1f497d">We actually mentioned fastuidraw while we were at the contributors meeting as a potential replacement for our Cairo rendering for PlayStation. When we got to a point with our port where we can start evaluating
 we’d be interested in taking a look. The only problem I had with the setup was a reliance on boost, but maybe there are ways around it.</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:webkit-dev-bounces@lists.webkit.org" target="_blank">webkit-dev-bounces@lists.<wbr>webkit.org</a> [mailto:<a href="mailto:webkit-dev-bounces@lists.webkit.org" target="_blank">webkit-dev-bounces@<wbr>lists.webkit.org</a>]
<b>On Behalf Of </b>Rogovin, Kevin<br>
<b>Sent:</b> Wednesday, November 2, 2016 9:36 AM<br>
<b>To:</b> <a href="mailto:webkit-dev@lists.webkit.org" target="_blank">webkit-dev@lists.webkit.org</a><br>
<b>Subject:</b> [webkit-dev] WebKit GPU rendering possibility</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="m_-9071233737838538471MsoPlainText">Hi,</p>
<p class="m_-9071233737838538471MsoPlainText"> </p>
<p class="m_-9071233737838538471MsoPlainText">I was directed here by some colleagues as this is the place to post the following to get started on the following proposal.</p>
<p class="m_-9071233737838538471MsoPlainText"> </p>
<p class="m_-9071233737838538471MsoPlainText">I have been working on an experimental 2D renderer that requires a GPU, the project is open sourced on github at
<span lang="FI"><a href="https://github.com/01org/fastuidraw" target="_blank"><span lang="EN-US">https://github.com/01org/<wbr>fastuidraw</span></a></span>. I gave a talk at the X Developers Conference this year which can be seen from
<span lang="FI"><a href="https://www.x.org/wiki/Events/XDC2016/Program/rogovin_fast_ui_draw/" target="_blank"><span lang="EN-US">https://www.x.org/wiki/Events/<wbr>XDC2016/Program/rogovin_fast_<wbr>ui_draw/</span></a></span> .</p>
<p class="m_-9071233737838538471MsoPlainText"> </p>
<p class="m_-9071233737838538471MsoPlainText">I made a benchmark which makes heavy use of rotations and clipping and ported to SKIA, Qt’s QPainter and Cairo. The benchmark and its ports are in the git repo linked above under the branch with_ports_of_painter-cells. It&#39;s performance
 advantage of FastUIDraw against the other renderers was quite severe (against Cairo and Qt&#39;s QPainter over 9 times and against SKIA about 5 times faster).</p>
<p class="m_-9071233737838538471MsoPlainText"> </p>
<p class="m_-9071233737838538471MsoPlainText">I would like to explore the option of using FastUIDraw to implement a WebCore::GraphicsContext backend for the purpose of making drawing faster and more efficient on Intel devices that are equipped with a GPU. I also think that some
 minor modifications to WebKit’s use of GraphicsContext will also give some benefits. I have worked on WebKit a few years ago and knew/know my way around the rendering code very well (atleast at that time).</p>
<p class="m_-9071233737838538471MsoPlainText"> </p>
<p class="m_-9071233737838538471MsoPlainText">Looking forward to collaboration,</p>
<p class="m_-9071233737838538471MsoPlainText">-Kevin Rogovin</p>
<p class="MsoNormal"> </p>
</div>
</div>
</div></div></div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" target="_blank">https://lists.webkit.org/<wbr>mailman/listinfo/webkit-dev</a><br>
<br></blockquote></div><br></div></div></div>