| Summary: | Async blit function cannot enable in x11 driver | ||
|---|---|---|---|
| Product: | SDL | Reporter: | gatekeeper <gkmail> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-1.2.14 |
| Version: | 1.2.13 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14. Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla). --ryan. The ASYNCBLIT functionality caused issues with certain X servers and is no longer supported. |
I tried to enable async blit function in x11 driver. The video surface's SDL_ASYNCBLIT flag is set, but I found the the driver is not in async blit mode. In file "SDL_x11video.c", the function "X11_SetVideoMode" only records SDL_RESIZABLE and SDL_NOFRAME flags in the surface structure. In file "SDL_x11image.c", function "X11_NormalUpdate" and "X11_MITSHMUpdate" check the SDL_VideoSurface's SDL_ASYNCBLIT flag to enable async blit. It is always false. Is it a bug?