<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 - kodi vdpau interop fails since mesa,meta: move gl_texture_object::TargetIndex initializations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92645">92645</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>kodi vdpau interop fails since mesa,meta: move gl_texture_object::TargetIndex initializations
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>adf.lists@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Kodi when using vdpau decode on tonga GPU does not render anything since
commit 7d7dd1871174905dfdd3ca874a09d9d7837ac743
Author: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>
Date: Mon Oct 5 08:14:56 2015 -0600
mesa,meta: move gl_texture_object::TargetIndex initializations
Before, we were unconditionally assigning the TargetIndex field in
_mesa_BindTexture(), even if it was already set properly. Now we
initialize TargetIndex wherever we initialize the Target field, in
_mesa_initialize_texture_object(), finish_texture_init(), etc.
v2: also update the meta_copy_image code. In make_view() the
view_tex_obj->Target field was set, but not the TargetIndex field.
Also, remove a second, redundant assignment to view_tex_obj->Target.
Add sanity check assertions too.
Its debug log shows -
15:52:36 T:140075084736256 NOTICE: VDPAU::COutput registered output surfaces
15:52:36 T:140076208588672 NOTICE: Previous line repeats 4 times.
15:52:36 T:140076208588672 DEBUG: CLinuxRendererGL::GetPlaneTextureSize -
invalid size 0x0 - 0
<last line repeats>
I guess this is something to do with vdpau interop, but mpv interop still works
...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>