<?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のトピックLow g2d_blit performance</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/416184#M62513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm now working on porting game of my company to i.mx6Solo custom board. Games is 2D and based on sprites.&lt;/P&gt;&lt;P&gt;Whole graphics was operated with SDL on PC and when we just built project with cross compile we had very low FPS. I decided to replace blit functions that were operating by SDL with g2d_blit operations.&lt;/P&gt;&lt;P&gt;All graphic resources are stored in memory as ARGB8888. First i blit resources to shadow buffer and then blit shadow buffer directly to /dev/fb0 (this is necessary to keep FPS stable for animation not to be too fast or too slow). In this workaround i meet very low blit performance when scene in game has very many little images over background (many string, which generated from one big font texture). So after this i have FPS about 45 for 640x480 resolution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please tell me whether i was wrong when decided to use g2d as 2d video card or i do something wrong with blitting directly to /dev/fb0? May be there's more legant ways to do what I want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my English, it's not my native language.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 16:16:36 GMT</pubDate>
    <dc:creator>alexeysizyukhin</dc:creator>
    <dc:date>2015-11-16T16:16:36Z</dc:date>
    <item>
      <title>Low g2d_blit performance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/416184#M62513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm now working on porting game of my company to i.mx6Solo custom board. Games is 2D and based on sprites.&lt;/P&gt;&lt;P&gt;Whole graphics was operated with SDL on PC and when we just built project with cross compile we had very low FPS. I decided to replace blit functions that were operating by SDL with g2d_blit operations.&lt;/P&gt;&lt;P&gt;All graphic resources are stored in memory as ARGB8888. First i blit resources to shadow buffer and then blit shadow buffer directly to /dev/fb0 (this is necessary to keep FPS stable for animation not to be too fast or too slow). In this workaround i meet very low blit performance when scene in game has very many little images over background (many string, which generated from one big font texture). So after this i have FPS about 45 for 640x480 resolution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please tell me whether i was wrong when decided to use g2d as 2d video card or i do something wrong with blitting directly to /dev/fb0? May be there's more legant ways to do what I want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my English, it's not my native language.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 16:16:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/416184#M62513</guid>
      <dc:creator>alexeysizyukhin</dc:creator>
      <dc:date>2015-11-16T16:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Low g2d_blit performance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/416185#M62514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found answer myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In all examples i saw g2d_finish() was called after every g2d_blit() but this is not necessary. Actually g2d_finish() must be called just to draw 1 frame for example it must be called in flip() routine where i blit shadow bufer to screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 12:23:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/416185#M62514</guid>
      <dc:creator>alexeysizyukhin</dc:creator>
      <dc:date>2015-11-17T12:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Low g2d_blit performance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/1748152#M214861</link>
      <description>&lt;P&gt;How did you obtain the physical address of FB？&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 09:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Low-g2d-blit-performance/m-p/1748152#M214861</guid>
      <dc:creator>mengfei</dc:creator>
      <dc:date>2023-10-29T09:40:45Z</dc:date>
    </item>
  </channel>
</rss>

