<?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>topic Re: Does iMX6 support shared resource(such as texture) between two egl context? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242472#M20465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As you said, latest GPU driver support shared resource between contexts, but I still confuse the sharing relationship of two contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know whether the sharing releationship is bidirectional. &lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;If mMainContext has texture object "T1" and &lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mSharedContext has&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt; texture object "T2", I could use "T1" on &lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;mSharedContext and use &lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;"T2" on &lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mMainContext.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;Is it right? If not, which is right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 May 2014 10:27:18 GMT</pubDate>
    <dc:creator>rocwzp</dc:creator>
    <dc:date>2014-05-04T10:27:18Z</dc:date>
    <item>
      <title>Does iMX6 support shared resource(such as texture) between two egl context?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242468#M20461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I used Vivante OpenGLES 2.0 and EGL 1.4 library in i.MX6 platform, and I want to share resource(such as texture) between two egl context in one thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I am doing:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mSharedContext = eglCreateContext( mEglDisplay, mEglConfig, EGL_NO_CONTEXT, contextAttribs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;......&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mMainContext = eglCreateContext( mEglDisplay, mEglConfig, &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mSharedContext &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;, contextAttribs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;on the shared&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt; context, I call &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;eglMakeCurrent() and render to a texture. The contenet of the texture is right.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;on the main contexnt, I &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;draw the texture which was rendered in shared context to the screen, b&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;ut the screen is blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;If I draw the texture on the shared context, I could see the context of the texture on the screen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;So I wonder whether i.MX6 platform or Vivante OpenGLES 2.0 library could support shared resources(such as texture) between two egl context.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;Could anyone have any ideas about it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 06:16:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242468#M20461</guid>
      <dc:creator>rocwzp</dc:creator>
      <dc:date>2013-03-27T06:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Does iMX6 support shared resource(such as texture) between two egl context?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242469#M20462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As of our latest GPU driver, texture object sharing between context is supported. Frame Buffer Objects (FBO) are supported as well, but sharing Vertex Buffer Objects (VBO) is not supported.&lt;/P&gt;&lt;P&gt;Do you have a simple test case you could share so I can provide better help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 16:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242469#M20462</guid>
      <dc:creator>pacosandoval</dc:creator>
      <dc:date>2013-04-08T16:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Does iMX6 support shared resource(such as texture) between two egl context?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242470#M20463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All what I need is to share texture between context, so the latest GPU driver could satisfy my requirement.&lt;/P&gt;&lt;P&gt;But I don't have a simple test case for you to test till now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me the version of Linux BSP which includes the latest GPU driver to support shared texture between context?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 08:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242470#M20463</guid>
      <dc:creator>rocwzp</dc:creator>
      <dc:date>2013-04-09T08:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does iMX6 support shared resource(such as texture) between two egl context?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242471#M20464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get it from the latest bsp: &lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.0.35_1.1.0_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;sr=41&amp;amp;Parent_nodeId=1337694700967726419044&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1337694700967726419044&amp;amp;Parent_pageType=product"&gt;https://www.freescale.com/webapp/Download?colCode=L3.0.35_1.1.0_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;sr=41&amp;amp;Parent_nodeId=1337694700967726419044&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1337694700967726419044&amp;amp;Parent_pageType=product&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 15:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242471#M20464</guid>
      <dc:creator>pacosandoval</dc:creator>
      <dc:date>2013-04-09T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Does iMX6 support shared resource(such as texture) between two egl context?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242472#M20465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As you said, latest GPU driver support shared resource between contexts, but I still confuse the sharing relationship of two contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know whether the sharing releationship is bidirectional. &lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;If mMainContext has texture object "T1" and &lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mSharedContext has&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt; texture object "T2", I could use "T1" on &lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;mSharedContext and use &lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;"T2" on &lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;mMainContext.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;Is it right? If not, which is right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, Verdana; font-size: small;"&gt;&lt;SPAN style="font-size: small; font-family: Arial, Verdana;"&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 10:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-iMX6-support-shared-resource-such-as-texture-between-two/m-p/242472#M20465</guid>
      <dc:creator>rocwzp</dc:creator>
      <dc:date>2014-05-04T10:27:18Z</dc:date>
    </item>
  </channel>
</rss>

