<?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のトピックRe: i.Mx6 Vivante EGL: fbcreatewindow - how bind windowsurface to a particular framebuffer</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182171#M7924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry to dig an older thread.&lt;/P&gt;&lt;P&gt;I am trying to bind /dev/fb1 to EGL. so, i am replacing the fbnum parameter with "1". In my device /dev/fb1 is used as overlay framebuffer.when, i am running the sample, no graphics is displayed on the screen unlike the case with fbnum as "0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sudlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 09:14:44 GMT</pubDate>
    <dc:creator>sudiptasubudhi</dc:creator>
    <dc:date>2015-04-16T09:14:44Z</dc:date>
    <item>
      <title>i.Mx6 Vivante EGL: fbcreatewindow - how bind windowsurface to a particular framebuffer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182169#M7922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In imx6, vivante has provided the graphics driver and implemented few EGL extension/wrapper files in vivante.h file. &lt;BR /&gt;&lt;BR /&gt;For creating display and window, custom functions fbcreatedisplay and fbcreatewindow are used. When we create using these functions, the surface created seem to be bind to /dev/fb0.&lt;BR /&gt;We need to find a way to bind a surface to a different framebuffer like fb1, fb2 etc.&lt;BR /&gt;&lt;BR /&gt;In imx53 and also in many other general implementations, eglcreatewindowsurface is used for the same as below:&lt;BR /&gt;&lt;BR /&gt;eglsurface = eglCreateWindowSurface(egldisplay, eglconfig, open("/dev/fb0",&lt;BR /&gt;O_RDWR), NULL);&lt;BR /&gt;&lt;BR /&gt;But in imx6 we find that this call though it does not give any error does not have any effect or any visual output for any framebuffer (even for fb0).&lt;BR /&gt;&lt;BR /&gt;So how do we bind a particular surface to a framebuffer using EGL APIs or vivante APIs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 04:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182169#M7922</guid>
      <dc:creator>AshokKumarReddy</dc:creator>
      <dc:date>2012-08-17T04:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.Mx6 Vivante EGL: fbcreatewindow - how bind windowsurface to a particular framebuffer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182170#M7923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With MX6 selection of the framebuffer device bound to EGL is done as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EGLNativeDisplayType&amp;nbsp;&amp;nbsp; native_display&amp;nbsp; = fbGetDisplayByIndex(fbnum); // fbnum is an integer for /dev/fb1 fbnum = 1.&lt;/P&gt;&lt;P&gt;EGLNativeWindowType&amp;nbsp; native_window&amp;nbsp; = fbCreateWindow(native_display, 0, 0, 0, 0);&lt;/P&gt;&lt;P&gt;EGLDisplay&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; egldisplayGL&amp;nbsp;&amp;nbsp; = eglGetDisplay(native_display);&lt;/P&gt;&lt;P&gt;eglInitialize(egldisplayGL, NULL, NULL);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 08:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182170#M7923</guid>
      <dc:creator>Philip_FSL</dc:creator>
      <dc:date>2012-09-13T08:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.Mx6 Vivante EGL: fbcreatewindow - how bind windowsurface to a particular framebuffer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182171#M7924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry to dig an older thread.&lt;/P&gt;&lt;P&gt;I am trying to bind /dev/fb1 to EGL. so, i am replacing the fbnum parameter with "1". In my device /dev/fb1 is used as overlay framebuffer.when, i am running the sample, no graphics is displayed on the screen unlike the case with fbnum as "0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sudlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:14:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182171#M7924</guid>
      <dc:creator>sudiptasubudhi</dc:creator>
      <dc:date>2015-04-16T09:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.Mx6 Vivante EGL: fbcreatewindow - how bind windowsurface to a particular framebuffer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182172#M7925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Philip,&lt;/P&gt;&lt;P&gt;Sorry to bother you. I'm trying to follow your guideline about initializing EGL display using framebuffer:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;EGLNativeDisplayType&amp;nbsp;&amp;nbsp; native_display&amp;nbsp; = fbGetDisplayByIndex(fbnum);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;the return parameter is always NULL for both 0 and 1 fb numbers. I've got /dev/fb0 and /dev/fb1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Could you help please what should i check in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Konstantyn&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 16:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx6-Vivante-EGL-fbcreatewindow-how-bind-windowsurface-to-a/m-p/182172#M7925</guid>
      <dc:creator>konstantynproko</dc:creator>
      <dc:date>2015-07-07T16:40:11Z</dc:date>
    </item>
  </channel>
</rss>

