Use UBOs where possible

Bug #1051300 reported by Sam Spilsbury
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Medium
Unassigned

Bug Description

Currently we have to do this every time we want to render something

glUniform4fv (projectionMatrixLocation, projectionMatrix);
glUniform4fv (modelviewMatrixLocation, modelView);
glUniform3f (paintAttribLocation, paintAttrib);

Instead of uploading this data all the time, we should use uniform buffer objects where available, and just bind the UBO where we need to use that data.

tags: added: gdebugger performance
Changed in compiz:
milestone: none → 0.9.8.4
Changed in compiz:
milestone: 0.9.8.4 → 0.9.9.0
Changed in compiz:
milestone: 0.9.9.0 → 0.9.9.2
Changed in compiz:
milestone: 0.9.9.2 → 0.9.10.0
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.