[Mesa-dev] [Bug 68296] New: Using old viewport value after a window resize (content is clipped)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 19 15:57:35 PDT 2013


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

          Priority: medium
            Bug ID: 68296
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Using old viewport value after a window resize
                    (content is clipped)
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: antognolli at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130819/bfafd7db/attachment.html>


More information about the mesa-dev mailing list