[Bug 98478] glCopyTexSubImage2D is much slower than glDrawArrays

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 4 15:30:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98478

--- Comment #7 from Dongseong Hwang <dongseong.hwang at intel.com> ---
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)
https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md

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 
> ./out/Release/chrome http://webglsamples.org/aquarium/aquarium.html

4. break point from following two points
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_copy_texture_chromium.cc?sq=package:chromium&rcl=1478244283&l=311

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20161104/2920d784/attachment-0001.html>


More information about the intel-3d-bugs mailing list