<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#c41">Comment # 41</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>(In reply to Hans de Goede from <a href="show_bug.cgi?id=90871#c40">comment #40</a>)
<span class="quote">> Hi All,
>
> (In reply to Olivier Fourdan from <a href="show_bug.cgi?id=90871#c11">comment #11</a>)
> > Created <span class=""><a href="attachment.cgi?id=116536" name="attach_116536" title="test program">attachment 116536</a> <a href="attachment.cgi?id=116536&action=edit" title="test program">[details]</a></span>
> > test program
>
> So after some time away from this bug, I'm back onto it. The problem is that
> the test program ends up using
> GL_TEXTURE_2D type textures / GLX_TEXTURE_2D_EXT target, where it should be
> using GL_TEXTURE_RECTANGLE_ARB.
>
> The root cause for this seems to be that epoxy_has_glx_extension (dpy,
> screen, "GL_ARB_texture_rectangle") always returns false, even though the
> extension is there, as confirmed with both glxinfo and glxgears-info.</span >
Er yeah, it's not a GLX ext, no reason it'd be coming up in the GLX ext list.
While similarly-named, they're entirely separate namespaces.
<span class="quote">>
> Now the extension in question is not a glx-extension, but a gl-extension, so
> I've also tried calling:
> epoxy_has_gl_extension ("GL_ARB_texture_rectangle") but that always returns
> false too.</span >
That's surprising.
src/mesa/main/extensions.c: { "GL_ARB_texture_rectangle",
o(NV_texture_rectangle), GL, 2004 },
src/mesa/state_tracker/st_extensions.c: extensions->NV_texture_rectangle =
GL_TRUE;
So it should actually always be exposed for any st/mesa-backed dri driver
(including nv30).</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>