summaryrefslogtreecommitdiff
path: root/src/render/backend/openglvertexarrayobject.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix container detachments when using range loopSergio Martins2017-02-241-2/+2
| | | | | | | Fixes -Wclazy-range-loop warnings. Change-Id: I6348b259a444203afe3490ea41c149c9b6740164 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* Delete abandoned VAOs after each frameWieland Hagen2017-02-011-24/+25
| | | | | | | | | | | | Use a job to traverse all active VAO handles to check if the geometry and shader objects used to identify the VAO do stil exist. If not, let the renderer dispose the VAOs. Make sure to synchronize access to VAO state and hide state changes behind member functions. Change-Id: Ib77be67d55daa61885cd914af8d9cfc622cae940 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* OpenGLVertexArrayObject: require cleanupWieland Hagen2017-02-011-4/+10
| | | | | Change-Id: I65d7e85abd707aea0554652694803bfdc52b8632 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* OpenGLVertexArrayObject: add a destroy methodPaul Lemire2017-01-091-0/+12
| | | | | Change-Id: I0fd40ace5234697a0d281cac7e0bdc1680d73558 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* OpenGLVertexArrayObject: disable attributes on release/rebindPaul Lemire2016-07-171-1/+9
| | | | | Change-Id: Ic2212dfde15438d46937906d5281b91b18980f6a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* OpenGLVertexArrayObject: emulate VAO support if not supportedPaul Lemire2016-07-051-0/+131
This should allow to simplify the current rendering code and will help improve it later. Change-Id: Id9405485cf73aca7115ab7b175478af8e5304930 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>