[Mesa-dev] [Bug 108263] glGetTexImage with PBO is not accelerated on Gallium

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 7 00:24:17 UTC 2018


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

            Bug ID: 108263
           Summary: glGetTexImage with PBO is not accelerated on Gallium
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: awesie at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 141925
  --> https://bugs.freedesktop.org/attachment.cgi?id=141925&action=edit
Mesa patch for accelerated PBO texture downloads

In May 2016, a patchset
(https://lists.freedesktop.org/archives/mesa-dev/2016-May/117294.html) added
acceleration for glReadPixels PBO downloads. Support for glGetTexImage and
friends was left as future work.

As part of my efforts to find and fix performance hot spots in Wine's directx
layer, I submitted patches to support texture downloads using PBOs in Wine.
Unfortunately, on Mesa, this does not improve performance for the reason stated
above.

It would be great if Mesa could add support for accelerated texture downloads
using PBOs. In order to facilitate this, I put together a patch based on
glReadPixels and a test case in piglit. I am not familiar with the Mesa code or
conventions, but the patch passes the test case so it is probably close to
correct.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181007/e2801284/attachment-0001.html>


More information about the mesa-dev mailing list