<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glReadPixels on Intel N3700 (Braswell) slower than Raspberry Pi"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99247#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glReadPixels on Intel N3700 (Braswell) slower than Raspberry Pi"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99247">bug 99247</a>
              from <span class="vcard"><a class="email" href="mailto:pierre@digitalstar.net" title="Pierre Proske <pierre@digitalstar.net>"> <span class="fn">Pierre Proske</span></a>
</span></b>
        <pre>The code I'm using is this, I'm pretty sure the format is RGB 888 which I'm
guessing is slow. However on Windows it's running the exact same code.

void ofFbo::readToPixels(ofPixels & pixels, int attachmentPoint) const{
        if(!bIsAllocated) return;
#ifndef TARGET_OPENGLES
        getTexture(attachmentPoint).readToPixels(pixels);
#else
       
pixels.allocate(settings.width,settings.height,ofGetImageTypeFromGLType(settings.internalformat));
        bind();
        int format = ofGetGLFormatFromInternal(settings.internalformat);
        glReadPixels(0,0,settings.width, settings.height, format,
GL_UNSIGNED_BYTE, pixels.getData());
        unbind();
#endif
}

I'm using the OpenFrameworks Library, grabbing pixels from an FBO:
<a href="https://github.com/openframeworks/openFrameworks/blob/0.9.8/libs/openFrameworks/gl/ofFbo.cpp">https://github.com/openframeworks/openFrameworks/blob/0.9.8/libs/openFrameworks/gl/ofFbo.cpp</a>

I'll have a look a getting an API trace uploaded. This is the tool right?
<a href="https://github.com/apitrace/apitrace">https://github.com/apitrace/apitrace</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>