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

          Priority: medium
            Bug ID: 68296
          Assignee: mesa-dev@lists.freedesktop.org
           Summary: Using old viewport value after a window resize
                    (content is clipped)
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: antogno...@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

Created attachment 84295
  --> https://bugs.freedesktop.org/attachment.cgi?id=84295&action=edit
Sample code that reproduces the problem.

In the attached sample code, a window is created with 100x100. However, after
resizing it with "i" keyboard input to 200x200, changing the viewport (with
glViewport), and drawing its content again, the content is clipped with the old
100x100 size.

Uncommenting line 48 will remove the bug, as if it was causing mesa to "flush"
the viewport size.

I noticed this on EFL (Enlightenment Foundation Libraries), both on GL X11 and
Wayland EGL backends.

This bug only happens on mesa from git, it seems that there's no bug on 9.1.6.

I checked bug #29984, it's similar, but I still have the problem.

Running on Fedora 19.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to