| Summary: | Extra memcpy in GLES renderer | ||
|---|---|---|---|
| Product: | SDL | Reporter: | pelya <x.pelya.x> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: | Extra memcpy in GLES renderer patch | ||
Thank you very much for your patch for SDL 1.3! Do you give me permission to release your code with SDL 1.3 and future versions of SDL under both the LGPL and a closed-source commercial license? Of course you have the permission. Thanks! Your patch is in! :) |
Created attachment 514 [details] Extra memcpy in GLES renderer patch SDL 1.3 rev. hg-4510:6f8175ad0335 In function GLES_RenderCopy() in SDL_renderer_gles.c:819 there is one memcpy() that can be avoided if we're updating whole texture. Because of that the SDL 1.3 in compatibility mode is working even slower than software rendering in SDL 1.2. Patch attached.