Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Triangle performance problem



Here are some details from the OpenGL Profiler I managed to figure out some things (I just included the top 5 as all the other ones are not that interesting):

GL Function # of Calls Total Time (µsec) Avg Time (µsec) % GL Time % App Time
CGLFlushDrawable 1,265 4087917 3231.56 82.08 6.86
glDrawArrays 2,106 260195 123.55 5.22 0.44
glBegin 14,525 140308 9.66 2.82 0.24
glClear 1,265 139147 110.00 2.79 0.23
glDrawElements 3,398 121990 35.90 2.45 0.20

So, from this I can see that glDrawArrays is taking up 5% of OpenGL time. What is OpenGL time? Is that the time my process spends in the OpenGL library?

Is there any documentation about how to make this faster? Is this considered slow?

Kind regards,
Samuel

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >Triangle performance problem (From: Space Ship Traveller <email@hidden>)
 >Re: Triangle performance problem (From: Steven Canfield <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.