<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><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> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - NV30: Xfwm4 use_compositing - garbled display"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90871">bug 90871</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - NV30: Xfwm4 use_compositing - garbled display"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90871#c49">Comment # 49</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - 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 Olivier Fourdan from <a href="show_bug.cgi?id=90871#c47">comment #47</a>)
<span class="quote">> Yes, most likely. This code is still early beta in xfwm4. I'll try to fix it
> and Poma will be able to test I guess.</span >

Looking at <a href="http://git.xfce.org/xfce/xfwm4/tree/src/compositor.c">http://git.xfce.org/xfce/xfwm4/tree/src/compositor.c</a>, you have at
least the following issues:

    screen_info->has_texture_rectangle =
        epoxy_has_glx_extension (myScreenGetXDisplay (screen_info),
                                 screen_info->screen,
                                 "GL_ARB_texture_rectangle");

    screen_info->has_texture_non_power_of_two =
        epoxy_has_glx_extension (myScreenGetXDisplay (screen_info),
                                 screen_info->screen,
                                 "GL_ARB_texture_non_power_of_two");

These are not GLX exts, they are GL exts, so you have to use
epoxy_has_gl_extension. However you have to make sure that a GL context is
active (i.e. glXMakeCurrent) before trying to do epoxy_has_gl_extension.

redraw_glx_texture -- this needs to add a width/height scale to the GL_TEXTURE
matrix for rect textures, since they use non-normalized coordinates. This
probably never came up before since the checks above didn't succeed.

If you don't have has_texture_rectangle *and* you don't have
has_texture_non_power_of_two that means that you can only use POT sized pixmaps
with GL_TEXTURE_2D. Probably not worth supporting that. AFAIK ~every driver
supports ARB_texture_rectangle... except seemingly nv04 (but nv10+ has it).

Marking this as NOTOURBUG for now, if issues persist, feel free to open a new
issue.</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>