<p dir="ltr">Unfortunately the patches were attached, which greatly increases the effort required to review. Could you send this out inline using git send-email or equivalent mechanism?</p>
<div class="gmail_quote">On Aug 12, 2015 8:54 PM, "James Jones" <<a href="mailto:jajones@nvidia.com">jajones@nvidia.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The PIGLIT_NO_WINDOW patch seems like the way to go to me, since defaulting to unreliable behavior seems bad, but allowing users to fall back to it to test on drivers that don't enforce pixel ownership seems fine.  I'd prefer if someone outside NVIDIA could review as well, but for:<br>
<br>
0001-winsys-framework-Default-to-showing-window.patch<br>
<br>
Reviewed-by: James Jones <<a href="mailto:jajones@nvidia.com" target="_blank">jajones@nvidia.com</a>><br>
<br>
I'll commit this soon if no one objects.<br>
<br>
Thanks,<br>
-James<br>
<br>
On 07/20/2015 02:44 PM, Alexander Goins wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
During some recent debugging, I seem to have discovered  an issue with<br>
Piglit that could cause problems with some drivers. With -auto, and<br>
without -fbo or PIGLIT_FORCE_WINDOW=1, Piglit defaults to rendering to<br>
the default framebuffer without mapping a window. This means that it<br>
doesn't take pixel ownership, which could cause a problem with some<br>
drivers, particularly NVIDIA's with Unified Back Buffer enabled. The<br>
OpenGL spec requires that pixel ownership be established in order to<br>
guarantee that the window system doesn't clobber the output. There are<br>
more details in the patch descriptions.<br>
<br>
It would probably be best to deprecate the functionality of not showing<br>
a window altogether, making users use FBOs if they want offscreen<br>
rendering. I made a patch that simply removes that functionality. As a<br>
softer solution, however, I also made a patch that makes displaying the<br>
window the default, and replaced PIGLIT_FORCE_WINDOW with<br>
PIGLIT_NO_WINDOW, a flag that allows tests to run without mapping a<br>
window. This way, users that have been relying on the existing<br>
functionality can continue using it.<br>
<br>
Both patches are included.<br>
<br>
Thanks,<br>
<br>
Alex<br>
<br>
</blockquote>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org" target="_blank">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</blockquote></div>