We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3360 - Raspberry Pi 2 slow hardware rendering with SDL_RenderDrawPoint
Summary: Raspberry Pi 2 slow hardware rendering with SDL_RenderDrawPoint
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.4
Hardware: ARM Linux
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-12 17:35 UTC by Joseph Paul
Modified: 2017-08-12 02:15 UTC (History)
0 users

See Also:


Attachments
Test case - Demonstration program (12.04 KB, application/zip)
2016-06-12 17:41 UTC, Joseph Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Paul 2016-06-12 17:35:11 UTC
Hello,
The SDL_RenderDrawPoint() function seems to be abnormally slow on Raspberry Pi 2 when rendering is accelerated.

I have written a small demonstration program to show that the slowness occurs only on Raspberry Pi, not on i686 and x86_64 platforms.

https://bitbucket.org/josephpaul0/drawpoints

Is it an OpenGL issue on this platform ?
Comment 1 Joseph Paul 2016-06-12 17:41:59 UTC
Created attachment 2492 [details]
Test case - Demonstration program
Comment 2 Sam Lantinga 2017-08-12 02:15:01 UTC
Yes, it's very likely an unoptimized code path in the OpenGL renderer on that platform. I know they're constantly working on it, so it may be improved - check with the Pi developers?