[Bf-viewport] Viewport

Roberto Maurizzi roberto.maurizzi at gmail.com
Fri Aug 21 12:53:06 CEST 2015


On Fri, Aug 21, 2015 at 9:47 AM, Antony Riakiotakis <kalast at gmail.com>
wrote:


> So again, if you'd like to help, I'd recommend:
>
> * Scout the code for glBegin/glEnd/glVertex
> * Create small GPUBuffers to hold the data instead. These could be
> dynamically generated and deleted if the underlying code treats them
> like that or cached somewhere if the size remains the same or if a
> clear owner of the buffer with clear invalidation rules can be
> determined. Keep in mind that there mush be a way to clear those
> GPUBuffer caches centrally (in case of context invalidation, user
> preference changes for type of buffers used, etc). For some reusable
> things like button styles, rectangles etc, we could probably have some
> cached reusable buffers somewhere.
>

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?

Thank you,
Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-viewport/attachments/20150821/0c706234/attachment.htm 


More information about the Bf-viewport mailing list