<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [regression,i965] 11baad35 breaks switching drawables"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74083">74083</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>krh@bitplanet.net
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[regression,i965] 11baad35 breaks switching drawables
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>amonakov@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=92812" name="attach_92812" title="reproducer">attachment 92812</a> <a href="attachment.cgi?id=92812&action=edit" title="reproducer">[details]</a></span>
reproducer
The following commit introduced a regression in case an application thread
attempted to bind a GLX context to two different drawables in succession. When
the second drawable is bound, brw->ctx.ViewportInitialized is not reset, so
intel_prepare_render is not called. A standalone testcase is attached.
commit 11baad35088dfd4bdabc1710df650dbfb413e7a3
Author: Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>
Date: Tue Jan 21 12:17:03 2014 -0800
intel: Fix initial MakeCurrent for single-buffer drawables
Commit 05da4a7a5e7d5bd988cb31f94ed8e1f053d9ee39 attempts to eliminate the
call to intel_update_renderbuffer() in the case where we already have a
drawbuffer for the drawable. Unfortunately this only checks the
back left renderbuffer, which breaks in case of single buffer drawables.
This means that the initial viewport will not be set in that case.
Instead,
we now check whether the initial viewport has not been set, in which case
we call out to intel_update_renderbuffer().
<a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - [i965 Bisected]Piglit/many piglit cases fail"
href="show_bug.cgi?id=73862">https://bugs.freedesktop.org/show_bug.cgi?id=73862</a>
Signed-off-by: Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</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>