<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - NV30: Xfwm4 use_compositing - garbled display"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90871#c43">Comment # 43</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - NV30: Xfwm4 use_compositing - garbled display"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90871">bug 90871</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=118995" name="attach_118995" title="updated test program">attachment 118995</a> <a href="attachment.cgi?id=118995&action=edit" title="updated test program">[details]</a></span>
updated test program
With this I get the same results whether I set has_texture_rectangle = 1 or 0.
Attached the full updated source file, or use the patch below.
--- attachment.cgi?id=116536 2015-10-19 17:50:43.552881224 -0400
+++ bug-90871.c 2015-10-19 17:51:09.383618103 -0400
@@ -103,7 +103,11 @@
glPushMatrix ();
- glScaled (1.0, 1.0, 1.0);
+ glMatrixMode(GL_TEXTURE);
+ if (texture_type == GL_TEXTURE_RECTANGLE_ARB)
+ glScaled (pixmap_width, pixmap_height, 1.0);
+ else
+ glScaled (1.0, 1.0, 1.0);
glTranslated (0.0, 0.0, 0.0);
glBegin (GL_QUADS);
@@ -147,8 +151,8 @@
int fb_match;
VisualID xvisual_id;
- has_texture_rectangle =
- epoxy_has_glx_extension (dpy, screen, "GL_ARB_texture_rectangle");
+ has_texture_rectangle = 1; /*
+ epoxy_has_gl_extension ("GL_ARB_texture_rectangle");*/
if (has_texture_rectangle)
{
printf ("Using texture type GL_TEXTURE_RECTANGLE_ARB\n");</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>