| Summary: | OpenGL implementation differences of glDrawTexfOES | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Simon Hug <chli.hug> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: |
glDrawTexfOES test.
Screenshot of gldrawtexfoes_test.c on Intel hardware. Screenshot of gldrawtexfoes_test.c on the Raspberry Pi. Patch that disables glDrawTexfOES path for the RPI driver. |
||
|
Description
Simon Hug
2016-06-23 13:21:26 UTC
Created attachment 2510 [details]
Screenshot of gldrawtexfoes_test.c on Intel hardware.
Created attachment 2511 [details]
Screenshot of gldrawtexfoes_test.c on the Raspberry Pi.
Created attachment 2512 [details]
Patch that disables glDrawTexfOES path for the RPI driver.
If it turns out that the Raspberry Pi is the only one doing something weird, I propose disabling the glDrawTexfOES path for it. I could not observe a performance difference anyway.
Honestly I'd probably remove that codepath from SDL_Render entirely. It's an OpenGL ES 1-specific extension that isn't likely to give huge performance gains and adds additional maintenance overhead to SDL_Render while also having bugs in some drivers (as seen here). I opted to remove that code path. Thanks! https://hg.libsdl.org/SDL/rev/8e4a030053c2 |