oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

major perf hit with using ANGLE vs. desktop GL for Aquarium demo #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying the Aquarium demo in both Chromium and a Firefox nightly results in 
about a 40-50% perf hit when using the aquarium demo and 1000 fishes.  With 
desktop GL, perf is largely unaffected by the number of fish, whereas with 
ANGLE performance scales down as the number of fishes goes up.

I'm profiling this, but filing it here for reference.

Original issue reported on code.google.com by vladim...@gmail.com on 7 Dec 2010 at 5:17

GoogleCodeExporter commented 9 years ago
This is due to a deficiency in the buffer object implementation and the way 
that we stream in vertex and index buffers (even when static).  We are in the 
middle of a significant rewrite of the buffer object handling to improve 
performance in exactly this case.

Original comment by dan...@transgaming.com on 7 Dec 2010 at 5:22

GoogleCodeExporter commented 9 years ago
Oh, awesome -- I just got there from looking at xperf.  Will wait for that, 
then :-)

Original comment by vladim...@gmail.com on 7 Dec 2010 at 5:31

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 12 Dec 2010 at 8:57

GoogleCodeExporter commented 9 years ago
Our current work for this is now available in the "buffer-rewrite" SVN branch.  
This implementation provides support for static buffers and improves the 
performance of the Aquarium demo significantly.

Original comment by dan...@transgaming.com on 17 Dec 2010 at 8:05

GoogleCodeExporter commented 9 years ago
This got merged into mainline at r528.

Original comment by nicolas....@gmail.com on 18 Feb 2011 at 4:08