<?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: Share Vivante 3d gc2000 work flow</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619864#M93969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks man&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 03:48:11 GMT</pubDate>
    <dc:creator>fatalfeel</dc:creator>
    <dc:date>2017-03-27T03:48:11Z</dc:date>
    <item>
      <title>Share Vivante 3d gc2000 work flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619862#M93967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;///////////////////////////create device node /dev/galcore/////////////////////////////&lt;BR /&gt;$home/myandroid/kernel_imx/drivers/mxc/gpu-viv/Kbuild&lt;BR /&gt;MODULE_NAME ?= galcore&lt;/P&gt;&lt;P&gt;/* define node name*/&lt;BR /&gt;$home/myandroid/kernel_imx/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_linux.h&lt;/P&gt;&lt;P&gt;define DEVICE_NAME "galcore"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$home/myandroid/kernel_imx/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_probe.c&lt;BR /&gt;drv_init call&lt;BR /&gt;ret = register_chrdev(major, DEVICE_NAME, &amp;amp;driver_fops);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;///////////////////////////////opengles2 functions///////////////////////////////////////////&lt;BR /&gt;myandroid/device/fsl-proprietary/gpu-viv/lib/egl/libGLESv2_VIVANTE.so&lt;BR /&gt;glActiveTexture&lt;BR /&gt;glBindBuffer&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;//those glxxxxxx call into sub_D40C&lt;BR /&gt;int __fastcall sub_D40C(int a1, int a2, int a3) //address 0x0000D40C {&lt;BR /&gt; int result; // r0@1&lt;BR /&gt; int v4;&lt;BR /&gt; int v5;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v4 = a2;
&amp;nbsp; v5 = a3;
&amp;nbsp; gcoOS_GetTLS(&amp;amp;v4);&amp;nbsp; //------------&amp;gt; goto libGAL.so
&amp;nbsp; result = v4;
&amp;nbsp; if ( v4 )
&amp;nbsp;&amp;nbsp;&amp;nbsp; result = *(_DWORD *)(v4 + 36);
&amp;nbsp; return result;
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$home/myandroid/device/fsl-proprietary/gpu-viv/lib/libGAL.so&lt;BR /&gt;//export function&lt;BR /&gt;signed int __fastcall gcoOS_GetTLS(void **a1) {&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;gcoOS_GetTLS v4 = open("/dev/galcore", 2);&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;device node /dev/galcore pass command into module galcore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and goto&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$home/myandroid/kernel_imx/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c&lt;BR /&gt;gckKERNEL_Dispatch(IN gckKERNEL Kernel, IN gctBOOL FromUser, IN OUT gcsHAL_INTERFACE * Interface)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 01:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619862#M93967</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2017-03-27T01:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Share Vivante 3d gc2000 work flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619863#M93968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx. I converted it into a document: &lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-334051"&gt;https://community.nxp.com/docs/DOC-334051&lt;/A&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 02:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619863#M93968</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2017-03-27T02:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Share Vivante 3d gc2000 work flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619864#M93969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks man&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 03:48:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Share-Vivante-3d-gc2000-work-flow/m-p/619864#M93969</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2017-03-27T03:48:11Z</dc:date>
    </item>
  </channel>
</rss>

