Summary: | Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5) | ||
---|---|---|---|
Product: | Mesa | Reporter: | pstglia |
Component: | EGL | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | low | ||
Version: | 10.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | other | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
logs for "Learn OpenGL ES 2.0" Samples (debug.egl.trace 1)
logs for "Live Ocean Benchmark" (which renders correctly) Image showing the problem Live Ocean Benchmark screenshot (renders without problems) Learn OpenGL ES 2 screenshot (redraw problem) Live Ocean Benchmark screenshot (renders without problems) Patch |
Description
pstglia
2014-04-26 12:10:37 UTC
Created attachment 98024 [details]
logs for "Live Ocean Benchmark" (which renders correctly)
A working app to compare OpenGL calls
Created attachment 98025 [details]
Image showing the problem
Note: This sample works properly on other hardware configs
Created attachment 98026 [details]
Live Ocean Benchmark screenshot (renders without problems)
Basically use the same OpenGL calls, but renders correctly.
Created attachment 98029 [details]
Learn OpenGL ES 2 screenshot (redraw problem)
Image showing the problem.
Note: Works properly on other hardware configs (e.g Intel GMA 3150, supported by Mesa Classic Drivers)
Created attachment 98031 [details]
Live Ocean Benchmark screenshot (renders without problems)
Live Ocean Benchmark screenshot (renders without problems)
Compiled 10.1.1 today. The same issue. This is the android 4.4 bootable iso I created, in case you have a similar hardware and want to test it by yourselves: https://drive.google.com/file/d/0BxO6THtB865fMHpKb204ZUVRTGM/edit?usp=sharing Looks like bug 72889. I guess src/gallium/state_trackers/egl/android/native_android.cpp needs to be fixed similarly. Created attachment 98144 [details] [review] Patch Thanks for the info. I did the changes attached on native_android.cpp and they worked for me. I based this on Martin Andersson patch (bug 72889) and on commit 6349b3235cc07d396325863ece9ca6261daf8e77. Although it worked for me, don't know if this is the best way of doing this fix. Some of you guys could check it out please? Thanks! pstglia Might it be better to handle this in android_surface_enqueue_buffer() instead? Anyway, please submit the patch to the mesa-dev mailing list for review. Preferably using git send-email, but at least using git format-patch. Paulo Afaics your patch has landed in master a while back plus I've sent some of the fixes linked for inclusion to master+stable. Feel free to open a new bug(s) for the remaining build problems. |
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.