<?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: imx6q - Examples of using OpenGL and OpenCL in same app? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721305#M112150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately there may be some conflicts between CL and GL texture structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&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>Tue, 21 Nov 2017 04:18:28 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2017-11-21T04:18:28Z</dc:date>
    <item>
      <title>imx6q - Examples of using OpenGL and OpenCL in same app?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721304#M112149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm on an imx6q, and I'm having trouble using OpenGL ES 2.0 and OpenCL 1.1 in the same app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, let's say I have two separate apps: an OpenGL ES 2.0 app, and an OpenCL 1.1 app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OpenGL ES 2.0 app is the 01_SimpleTriangle example from the GPU SDK, running on the framebuffer using Makefile.fbdev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OpenCL 1.1 app is just a simple example app that performs a calculation on the GPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I run the OpenGL ES 2.0 app by itself, it runs fine.&amp;nbsp; I see the triangle right side up on my display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likewise, if I run the OpenCL 1.1 app by itself, it runs fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now I want to combine them.&amp;nbsp; In a render loop, I need a calculation to be done in OpenCL, and then I need to render using OpenGL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I try to combine the two example apps into one app, the triangle gets rendered upside down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must be doing something wrong, but I haven't been able to figure out what.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are there any simple examples of using OpenGL ES 2.0 and OpenCL 1.1 in the same app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 23:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721304#M112149</guid>
      <dc:creator>Robert_P</dc:creator>
      <dc:date>2017-11-20T23:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q - Examples of using OpenGL and OpenCL in same app?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721305#M112150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately there may be some conflicts between CL and GL texture structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&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>Tue, 21 Nov 2017 04:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721305#M112150</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2017-11-21T04:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q - Examples of using OpenGL and OpenCL in same app?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721306#M112151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is unfortunate.&amp;nbsp; Is there a conflict even if I'm using OpenCL &lt;EM&gt;buffer&lt;/EM&gt; objects, and not using OpenCL &lt;EM&gt;image&lt;/EM&gt; objects?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 15:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Examples-of-using-OpenGL-and-OpenCL-in-same-app/m-p/721306#M112151</guid>
      <dc:creator>Robert_P</dc:creator>
      <dc:date>2017-11-21T15:02:00Z</dc:date>
    </item>
  </channel>
</rss>

