Closed Bug 555884 Opened 14 years ago Closed 13 years ago

Optimize calling of glUniform in OGL layers backend

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

Right now we always call glUniform when we update a program uniform variable in the OGL layers backend. The programs should remember the variable current value and only call glUniform when it is changed.
This code is already in LayerManagerOGLProgram.h
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.