<?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: Is glCompressedTexImage2D() / ETC1 texture compression supported under i.MX Android jb4.3_1.1.0?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595565#M89458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for getting back to me; that's good info. Unfortunately we are locked into Android 4.3 for now so I guess we're stuck until we can migrate to Android L or better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2016 16:05:21 GMT</pubDate>
    <dc:creator>marcuswhitlock</dc:creator>
    <dc:date>2016-08-19T16:05:21Z</dc:date>
    <item>
      <title>Is glCompressedTexImage2D() / ETC1 texture compression supported under i.MX Android jb4.3_1.1.0?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595563#M89456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are running Android 4.3 Jellybean, with the board support package &lt;STRONG&gt;&lt;EM&gt;i.MX Android jb4.3_1.1.0&lt;/EM&gt;&lt;/STRONG&gt; on an i.mx6 Quad (Vivante GC2000) board and are unable to use ETC1 texture compression in our Java OpenGLES2.0 apps. Kernel version is 3.0.35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ETC1Util.isETC1Supported()&lt;/EM&gt; returns true in my Android test app and I have valid ETC1 textures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following snippet below from my app (valid code that compiles and runs) generates a GL error 1280. This is &lt;STRONG&gt;GL_INVALID_ENUM&lt;/STRONG&gt;; clearly this is in response to the ETC1.ETC_RGB8_OES value passed in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;GLES20.glCompressedTexImage2D(GLES20.&lt;SPAN style="color: #660e7a;"&gt;GL_TEXTURE_2D&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;, ETC1.&lt;SPAN style="color: #660e7a;"&gt;ETC1_RGB8_OES&lt;/SPAN&gt;, width, height, &lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;, imageSize, etc1Texture.getData());&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the kernel boots I display the Galcore options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Galcore version 4.6.9.9754&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;compression = -1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does this mean texture compression is not supported?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When grepping through the code in the kernel GPU drivers I see where &lt;STRONG&gt;compression&lt;/STRONG&gt; is set to -1 in ....../gpu_viv/hal/os/linux/kernel/gc_hal_kernel_driver. i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;static int compression = -1;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;module_param(compression, int, 0644);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,&lt;STRONG&gt; compression&lt;/STRONG&gt; does not appear to be set anywhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help anyone can offer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 21:26:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595563#M89456</guid>
      <dc:creator>marcuswhitlock</dc:creator>
      <dc:date>2016-08-12T21:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is glCompressedTexImage2D() / ETC1 texture compression supported under i.MX Android jb4.3_1.1.0?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595564#M89457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marcuswhitlock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ETC1 is not supported on jb4.3, you need at least a BSP based on 3.14.52v to support ETC1 and ETC2 textures, offically NXP bsp should be L5.1.1_2.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 14:56:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595564#M89457</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-08-19T14:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is glCompressedTexImage2D() / ETC1 texture compression supported under i.MX Android jb4.3_1.1.0?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595565#M89458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for getting back to me; that's good info. Unfortunately we are locked into Android 4.3 for now so I guess we're stuck until we can migrate to Android L or better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 16:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-glCompressedTexImage2D-ETC1-texture-compression-supported/m-p/595565#M89458</guid>
      <dc:creator>marcuswhitlock</dc:creator>
      <dc:date>2016-08-19T16:05:21Z</dc:date>
    </item>
  </channel>
</rss>

