Summary: | Offscreen rendering to pixmap EGLSurface is odd | ||
---|---|---|---|
Product: | Mesa | Reporter: | Rinat <ibragimovrinat> |
Component: | EGL | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | ibragimovrinat, lemody |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Rinat
2014-11-04 17:33:41 UTC
test seems to work with Mesa 10.2 but fails with >= 10.3 bisected to: ---- 8< ---- commit 8f55174fbdc27076f310c4dfb1f87072588b8b0b Author: Kristian Høgsberg <krh@bitplanet.net> Date: Fri Aug 15 23:19:52 2014 -0700 meta: Make MESA_META_DRAW_BUFFERS restore properly A meta begin/end pair with MESA_META_DRAW_BUFFERS will change visible GL state. We recreate the draw buffer enums from the buffer bitfield, which changes GL_BACK to GL_BACK_LEFT (and GL_FRONT to GL_FRONT_LEFT). This commit modifes the save/restore logic to instead copy the buffer enums from the gl_framebuffer and then set them on restore using _mesa_drawbuffers(). It's not clear how this breaks the benchmark in 82796, but fixing meta to not leak the state change fixes the regression. No piglit regressions. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=82796 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Cc: mesa-stable@lists.freedesktop.org -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/154. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.