Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anti-aliased circles performance #39

Open
metc opened this issue Mar 14, 2014 · 1 comment
Open

Anti-aliased circles performance #39

metc opened this issue Mar 14, 2014 · 1 comment

Comments

@metc
Copy link
Contributor

metc commented Mar 14, 2014

Like you said in e478f52, performance is still not incredible for the DemoAACircles.
Results on my Linux machine:

  • 1000 circles: 4-5 FPS
  • 500 circles: 8 FPS
  • 100 cirlces: 30 FPS
@pmudry
Copy link
Contributor

pmudry commented Mar 17, 2014

This is completely expected: the shader is called repeatedly for each circle!

Circles should be drawn only once to a mip-mapped texture and then used at the proper resolution. Color change will be done using tinting like in the current solution.

@pmudry pmudry added this to the Version 1.1 - Shaders support milestone Mar 31, 2014
@pmudry pmudry modified the milestones: Version 1.2 - Android improvements, Version 1.1 - Documentation and more demos Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants