<?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: GL_INVALID_OPERATION error, when doing multisample framebuffer to multisample EGL Surface blitti</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GL-INVALID-OPERATION-error-when-doing-multisample-framebuffer-to/m-p/2369846#M245314</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;This kind of use case is forbidden in OpenGL ES, you cannot resolve (blit) from multisampled buffer to a multisampled buffer.&lt;BR /&gt;&lt;BR /&gt;As specified in the documentation:&lt;BR /&gt;&lt;A href="https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glBlitFramebuffer.xhtml" target="_blank"&gt;https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glBlitFramebuffer.xhtml&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;GL_INVALID_OPERATION is generated if the value of GL_SAMPLE_BUFFERS for the draw buffer is greater than zero.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/DIV&gt;</description>
    <pubDate>Fri, 22 May 2026 01:06:37 GMT</pubDate>
    <dc:creator>AldoG</dc:creator>
    <dc:date>2026-05-22T01:06:37Z</dc:date>
    <item>
      <title>GL_INVALID_OPERATION error, when doing multisample framebuffer to multisample EGL Surface blitting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GL-INVALID-OPERATION-error-when-doing-multisample-framebuffer-to/m-p/2368409#M245297</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am doing&amp;nbsp;multisample framebuffer to multisample EGL Surface blitting using Opengl ES in my I.MX8QM Eval board and I am getting error as "&lt;SPAN&gt;&lt;STRONG&gt;GL_INVALID_OPERATION&lt;/STRONG&gt;&lt;/SPAN&gt;". Below are the steps I did.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P align="left"&gt;&lt;SPAN&gt;FrameBufferObject &lt;/SPAN&gt;&lt;SPAN&gt;created &lt;/SPAN&gt;&lt;SPAN&gt;with multisampled renderbuffer attached &lt;/SPAN&gt;&lt;SPAN&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;glRenderbufferStorageMultisample&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;(GL_RENDERBUFFER, 4, GL_RGBA8, width,height); and drawing in to FBO.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;When using&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;glBlitFramebuffer &lt;/STRONG&gt;to render from FBO in to Default Framebuffer ,it gives &lt;STRONG&gt;GL_INVALID_OPERATION&lt;/STRONG&gt;&amp;nbsp;error when&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;EGL window surface is created with &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;attributes:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;P align="left"&gt;EGL_SAMPLES = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P align="left"&gt;EGL_RED_SIZE = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P align="left"&gt;EGL_GREEN_SIZE = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P align="left"&gt;EGL_BLUE_SIZE = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P align="left"&gt;EGL_ALPHA_SIZE = 8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;When EGL Surface&amp;nbsp; is created with&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;EGL_SAMPLES = 0&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;glBlitFramebuffer &lt;/STRONG&gt;draws in to default framebuffer correctly.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Source and Destination rectangles are&amp;nbsp; exactly same size in the&amp;nbsp;&lt;STRONG&gt;glBlitFramebuffer&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 May 2026 10:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GL-INVALID-OPERATION-error-when-doing-multisample-framebuffer-to/m-p/2368409#M245297</guid>
      <dc:creator>mallibeerala</dc:creator>
      <dc:date>2026-05-20T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: GL_INVALID_OPERATION error, when doing multisample framebuffer to multisample EGL Surface blitti</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GL-INVALID-OPERATION-error-when-doing-multisample-framebuffer-to/m-p/2369846#M245314</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;This kind of use case is forbidden in OpenGL ES, you cannot resolve (blit) from multisampled buffer to a multisampled buffer.&lt;BR /&gt;&lt;BR /&gt;As specified in the documentation:&lt;BR /&gt;&lt;A href="https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glBlitFramebuffer.xhtml" target="_blank"&gt;https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glBlitFramebuffer.xhtml&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;GL_INVALID_OPERATION is generated if the value of GL_SAMPLE_BUFFERS for the draw buffer is greater than zero.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 May 2026 01:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GL-INVALID-OPERATION-error-when-doing-multisample-framebuffer-to/m-p/2369846#M245314</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-05-22T01:06:37Z</dc:date>
    </item>
  </channel>
</rss>

