-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[devicelab] add drawPoints benchmark #126728
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
[devicelab] add drawPoints benchmark #126728
Conversation
zanderso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm w/ nit
| canvas.drawPaint(Paint()..color = Colors.white); | ||
| for (int i = 0; i < 8; i++) { | ||
| final double x = ((size.width / i) + tick) % size.width; | ||
| for (int j = 0; j < 8000; j += 2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8000 -> data.length ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…etry computation with compute, fallback to specialized CPU. (#42060) Compute shader implementation of #41803 I found this to be generally more straightforward, and we can revisit the vertex shader approach with GLES. Benchmark is pending here: flutter/flutter#126728 Note: rendering behavior is identical even though this is now a single draw call. This is becuase strokes have overdraw prevention enabled by default, while this new contents does not 
Add a benchmark that measures the improvements from flutter/engine#41803
Add a benchmark that measures the improvements from flutter/engine#41803