<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - glGetTexImage with PBO is not accelerated on Gallium"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108263">108263</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>glGetTexImage with PBO is not accelerated on Gallium
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>awesie@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=141925" name="attach_141925" title="Mesa patch for accelerated PBO texture downloads">attachment 141925</a> <a href="attachment.cgi?id=141925&action=edit" title="Mesa patch for accelerated PBO texture downloads">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=108263&attachment=141925'>[review]</a>
Mesa patch for accelerated PBO texture downloads
In May 2016, a patchset
(<a href="https://lists.freedesktop.org/archives/mesa-dev/2016-May/117294.html">https://lists.freedesktop.org/archives/mesa-dev/2016-May/117294.html</a>) 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.</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>