RenderBufferApi::update_buffer performance

RenderBufferApi::update_buffer performance

Anonymous
Not applicable
539 Views
2 Replies
Message 1 of 3

RenderBufferApi::update_buffer performance

Anonymous
Not applicable

Hello,

 

do you guys have any idea what are the performance profiles of RenderBufferApi::update_buffer for procedurally generated texture data or alternatively is there a way to measure the performance somehow?

 

I'm interested in both latency, i.e. how long does it take before the new content I've generated will get displayed (I understand there's a thread hand off for the data upload at least?) and what is the throughput i.e. how many fps can I expect to get.  I.e if stingray is rendering at say 90fps for VR and I'm generating content at 90fps can the upload fit into each frame's budget?

 

Thanks!

Reply
Reply
0 Likes
540 Views
2 Replies
Replies (2)
Message 2 of 3

_robbs_
Alumni
Alumni

I'm not sure what to tell you here -- I think it would really depend on what you're doing, how much geometry you're updating, how complex it is, etc. Do you notice a drop in frame rate when you're calling this API?

Reply
Reply
0 Likes
Message 3 of 3

Anonymous
Not applicable

Hi _robbs_

 

basically what I'm doing is generating texture data say,  1024x1024 @ 90hz, and updating the texture object repeatedly through update_buffer. 

 

So I'd like to know if the update_buffer can handle this or if it's going to start killing the perf. 

 

Is there a way to turn on some perf measurements/diagnostics somewhere and see what it is?

 

Thanks!

 

Reply
Reply
0 Likes