<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [Regression since 9.0] Flickering in EGL OpenGL full-screen window with swap interval 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63435">63435</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression since 9.0] Flickering in EGL OpenGL full-screen window with swap interval 1
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>post+fdo@ralfj.de
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>A full-screen window rendered to via EGL using OpenGL flickers in current mesa
master. The same application still works fine with the 9.0 branch.

Steps to reproduce with my small egltest program
(<a href="http://www.ralfj.de/git/gltest.git">http://www.ralfj.de/git/gltest.git</a>):
* run "./egltest -o -i 1"
* hit "F1" to enter-full-screen mode
* now the screen flickers between the window content and my desktop

In master since 7e9bd2b2, the commit 3998f8c6 needs to be cherry-picked so that
swap interval can be set to 1. With swap interval 0, there is no flickering.
Similarly, if I use a compositing window manager, there is no flickering.

I did a regression test, which revealed the following commit to be the first
bad one:


commit 1e7776ca2bc59a6978d9b933d23852d47078dfa8
Author: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
Date:   Tue Sep 25 14:45:16 2012 -0700

    egl: Remove bogus invalidate code.


Reverting that commit (on top of current master) fixes the flickering.

(I found no component for EGL, hence I chose "Other")</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>