diff options
author | Sven Gothel <[email protected]> | 2012-10-04 00:34:56 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-04 00:34:56 +0200 |
commit | a644d779ab19cb1d200ae4ba567b9c042c34b337 (patch) | |
tree | 07c972425110aadb30499c48e2eb48dd8dabd8ad /src/newt/native/X11Event.c | |
parent | f7ca4df7b4e6b2acbdb941f67f6d7058db134d91 (diff) |
Update PMVMatrix/GLMatrixFunc API doc and refine PMVMatrix update / get-Mvi/Mvit-Matrix operation. (Minor API change)
Using bitmask for requested Mvi and Mvit matrices,
same as dirty-bits to ease matching and update operation.
Update of Mvi and Mvit will be performed only if it's dirty-bit and request-bit set within update().
The individual dirty bit is cleared only if it's matrix update is performed.
Update is also issued at get-Mvi/Mvit-Matrix operations
to ensure proper values w/o update call w/o clearing the modified-bits.
update() returns true if the Mvi or Mvit matrix got updated
_or_ one of the modified bits is set. update() clears the modified-bits.
Adding explicit getModifiedBits() to get and clear it's state.
Adding unit test.
Lots of API docs ..
Diffstat (limited to 'src/newt/native/X11Event.c')
0 files changed, 0 insertions, 0 deletions