<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックEfficient way to draw static geometries in OpenVG</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512747#M83657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is that I wanted to draw a dynamic 2D image and some static labels on the image (the static label doesn’t need to change in each swap buffer) I assume that it’s not efficient to draw the static labels each time when the background image is changing so what is the best approach to draw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried these two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-I draw the label each time.&lt;/P&gt;&lt;P&gt;2-Use of eglCreatePbufferFromClientBuffer and bind it to VGImage then paint on VGImage and then show the VGImage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The things that was weird to me was realizing that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) The first approach is faster than the second one!&lt;/P&gt;&lt;P&gt;b) When you use the eglCreatePbufferFromClientBuffer you cannot use of antialiasing that set in EGLConfig so your font was untidy!(At least I couldn’t use it with antialiasing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just know these two ways to draw, I look forward to any new idea for drawing efficiently and also I appreciate anybody that explain (a) and (b) to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra information:&lt;/P&gt;&lt;P&gt;SOC: IMX6Q&lt;/P&gt;&lt;P&gt;OS:Linux 3.0.35&lt;/P&gt;&lt;P&gt;OPENVG VERSION:1.0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 18:36:16 GMT</pubDate>
    <dc:creator>ali_sarlak</dc:creator>
    <dc:date>2016-05-10T18:36:16Z</dc:date>
    <item>
      <title>Efficient way to draw static geometries in OpenVG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512747#M83657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is that I wanted to draw a dynamic 2D image and some static labels on the image (the static label doesn’t need to change in each swap buffer) I assume that it’s not efficient to draw the static labels each time when the background image is changing so what is the best approach to draw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried these two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-I draw the label each time.&lt;/P&gt;&lt;P&gt;2-Use of eglCreatePbufferFromClientBuffer and bind it to VGImage then paint on VGImage and then show the VGImage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The things that was weird to me was realizing that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) The first approach is faster than the second one!&lt;/P&gt;&lt;P&gt;b) When you use the eglCreatePbufferFromClientBuffer you cannot use of antialiasing that set in EGLConfig so your font was untidy!(At least I couldn’t use it with antialiasing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just know these two ways to draw, I look forward to any new idea for drawing efficiently and also I appreciate anybody that explain (a) and (b) to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra information:&lt;/P&gt;&lt;P&gt;SOC: IMX6Q&lt;/P&gt;&lt;P&gt;OS:Linux 3.0.35&lt;/P&gt;&lt;P&gt;OPENVG VERSION:1.0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 18:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512747#M83657</guid>
      <dc:creator>ali_sarlak</dc:creator>
      <dc:date>2016-05-10T18:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way to draw static geometries in OpenVG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512748#M83658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically, it seems to be the good idea to use Alpha blending feature to combine static and dynamic images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to attached document for the information on the graphics features the L3.0.35 BSP provides and that are supported with hardware acceleration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the good idea is to migrate to later Linux BSPs that provide more integrated and feature-rich graphics features.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 11:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512748#M83658</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2016-05-12T11:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way to draw static geometries in OpenVG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512749#M83659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/art"&gt;art&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The one thing that I didn't get is the role of GC320 (CPC) &lt;A href="http://www.vivantecorp.com/en/technology/composition.html"&gt;http://www.vivantecorp.com/en/technology/composition.html&lt;/A&gt; that exists in IMX6 and how to access to this hardware core (as you know it has overlay feature according to the above link).&lt;/P&gt;&lt;P&gt;Is G2D API is for working with GC320 or not ?As I read your attached document name "i.MX_6_G2D API" the functions supported by G2D is really close to CPC supported functions, could you please explain it more?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 18:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512749#M83659</guid>
      <dc:creator>ali_sarlak</dc:creator>
      <dc:date>2016-05-12T18:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way to draw static geometries in OpenVG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512750#M83660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually my problem is the same as &lt;A _jive_internal="true" href="https://community.nxp.com/thread/302847?db=5"&gt;https://community.freescale.com/thread/302847?db=5&lt;/A&gt; that &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sunil99"&gt;sunil99&lt;/A&gt;​ Asked in 2012 I want to &lt;EM&gt;use of GC320 in order to merge results of the other GPUs&lt;/EM&gt; but I can't find any Gal2D API that &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;​ said, also if you read the whole thread you'll notice that many people get confused and they cannot found any suitable resources to solve their problems ,but as &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/art"&gt;art&lt;/A&gt;​ said I can just use of G2D but I'm leery of using G2D, can access to GC320 to merge results of the other GPUs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is which API&amp;nbsp; and library/libraries(libg2d.so or something else) can access to GC320?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas are appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 05:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Efficient-way-to-draw-static-geometries-in-OpenVG/m-p/512750#M83660</guid>
      <dc:creator>ali_sarlak</dc:creator>
      <dc:date>2016-05-14T05:52:10Z</dc:date>
    </item>
  </channel>
</rss>

