<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - glCopyTexSubImage2D is much slower than glDrawArrays"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98478#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - glCopyTexSubImage2D is much slower than glDrawArrays"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98478">bug 98478</a>
              from <span class="vcard"><a class="email" href="mailto:dongseong.hwang@intel.com" title="Dongseong Hwang <dongseong.hwang@intel.com>"> <span class="fn">Dongseong Hwang</span></a>
</span></b>
        <pre>Hi, I'm in vacation and 3 weeks more. When I come back to office, I'll do it as
the first task. Sorry for delaying.

If someone wants to try to reproduce it, here's instruction.
1. build chromium in linux (ubuntu or debian is easiest)
<a href="https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md">https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md</a>

2. patch this
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -954,8 +954,7 @@ void FeatureInfo::InitializeFeatures() {
   if (extensions.Contains("GL_INTEL_framebuffer_CMAA")) {
     feature_flags_.chromium_screen_space_antialiasing = true;
     AddExtensionString("GL_CHROMIUM_screen_space_antialiasing");
-  } else if (!workarounds_.disable_framebuffer_cmaa &&
-             (gl_version_info_->IsAtLeastGLES(3, 1) ||
+  } else if ( (gl_version_info_->IsAtLeastGLES(3, 1) ||
               (gl_version_info_->IsAtLeastGL(3, 0) &&
                extensions.Contains("GL_ARB_shading_language_420pack") &&
                extensions.Contains("GL_ARB_texture_gather") &&

3. run any webgl site 
<span class="quote">> ./out/Release/chrome <a href="http://webglsamples.org/aquarium/aquarium.html">http://webglsamples.org/aquarium/aquarium.html</a></span >

4. break point from following two points
<a href="https://cs.chromium.org/chromium/src/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc?q=gles2_cmd_ap&sq=package:chromium&l=250">https://cs.chromium.org/chromium/src/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc?q=gles2_cmd_ap&sq=package:chromium&l=250</a>
<a href="https://cs.chromium.org/chromium/src/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc?sq=package:chromium&rcl=1478244283&l=311">https://cs.chromium.org/chromium/src/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc?sq=package:chromium&rcl=1478244283&l=311</a></pre>
        </div>
      </p>


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

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