[Nouveau] [Bug 90871] NV30: Xfwm4 use_compositing - garbled display

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 19 14:52:52 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90871

--- Comment #43 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Created attachment 118995
  --> https://bugs.freedesktop.org/attachment.cgi?id=118995&action=edit
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");

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20151019/ceb2b26f/attachment.html>


More information about the Nouveau mailing list