<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 9:47 AM, Antony Riakiotakis <span dir="ltr">&lt;<a href="mailto:kalast@gmail.com" target="_blank">kalast@gmail.com</a>&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So again, if you&#39;d like to help, I&#39;d recommend:<br>
<br>
* Scout the code for glBegin/glEnd/glVertex<br>
* Create small GPUBuffers to hold the data instead. These could be<br>
dynamically generated and deleted if the underlying code treats them<br>
like that or cached somewhere if the size remains the same or if a<br>
clear owner of the buffer with clear invalidation rules can be<br>
determined. Keep in mind that there mush be a way to clear those<br>
GPUBuffer caches centrally (in case of context invalidation, user<br>
preference changes for type of buffers used, etc). For some reusable<br>
things like button styles, rectangles etc, we could probably have some<br>
cached reusable buffers somewhere.<br></blockquote><div><br></div><div>As soon as you have an example of this (a part of code you change yourself to use GPUBuffers) can you link us to the relevant git commit so that we can check what you did and get a better idea about how to do it?</div><div><br></div><div>Thank you,</div><div>Roberto</div><div><br></div></div></div></div>