Summary: | EXA shouldn't support SHM pixmaps | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Eric Anholt <eric> | ||||
Component: | Server/Acceleration/EXA | Assignee: | Eric Anholt <eric> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | high | CC: | alexdeucher, fufutos610, leio, michel, mmacleod | ||||
Version: | git | Keywords: | patch | ||||
Hardware: | Other | ||||||
OS: | FreeBSD | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Eric Anholt
2006-04-28 13:39:39 UTC
Created attachment 5512 [details] [review] Patch to disable sharedPixmaps. Bug #6819 covers the rendering issue -- I consider this committable now but haven't yet. This could be pushed now? Pushed to master as commit 6b1e354dbb6e8ed9f2c654bbe7f8bbf241843d1c . This is misunderstanding of the reasoning of the GTK+ ues The *main* reason for the use of shared pixmaps is to improve the speed and robustness of fetching data back from the server. CopyArea => good semantics (off screen data undefined) GetImage => bad semantics (off screen causes X error) When shared memory pixmaps are missing, GTK+: - Grabs the display - Does an XTranslateCoordinates call to figure out where the window is so it can clip - Does the GetImage - Ungrabs So, this is a significant slowdown. However, fetching data back from the server is mostly just a screen-shot thing these days (it was originally used to do alpha-compositing when the RENDER extension was missing, not relevant with EXA.) So, the change may be fine - and if the end result of EXA compositing from a system-memory-locked pixmap is slower than PutImage to a temporary pixmap - a good thing. |
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.