summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgram.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-09-30 20:00:15 -0700
committer Jeff Brown <jeffbrown@google.com> 2010-10-01 13:30:07 -0700
commit866717406710595a487cdca33f698876dcd4e8af (patch)
tree7b360a676d5f605e0c9e7b35dbc3be7f1204695c /libs/rs/rsProgram.cpp
parent5038b15bedf6ac4048bb922442c6b59d21593d8d (diff)
Make View transformation matrix updating more explicit.
The original code depends on side-effects of hasIdentityMatrix() to update the View transformation matrix. This change adds an explicit updateMatrix() method to make it more explicit when we are relying on the matrix having been updated. Among other things, getInverseMatrix() did not update the matrix so the caller had to know to call hasIdentityMatrix() first (which was always the case, but still potentially error-prone). Change-Id: I16d56f60a785a15c65f73e57b9aded9e4e3bca55
Diffstat (limited to 'libs/rs/rsProgram.cpp')
0 files changed, 0 insertions, 0 deletions