[Tizen] Backport some MatrixUtils Operation
This is a combination of 3 commits.
Optimize some matrix multiply for projection matrix + Orthographic reflection
Let we use MatrixUtils::MultiplyProjectionMatrix for some internal API.
And also, make Orthographic camera can use reflection plane.
TODO : We should make MultiplyProjectionMatrix funtion as NEON.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Fix matrix multiply with quaternion bug in ARM
There was some bug when we try to use MatrixUtils::Multiply at
ARM devices. We fix it.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Multiply only for Transform Matrix + NEON comment clean up
If 4x4 matrix form as Transform, we can optimize matrix multiply function.
It will be reduce the time of Transform Update time.
Below are some test result.
1. VLD1.F32 each time is more faster than VLDM.
2. Transpose lhs -> multply -> transpose tmp is slower than current logic
3. "+r"(temp) at Output Operand is slower than "r"(temp) Intput Oprerand with "%r0"(why?)
--> But when we make current Multiply with Output Operand as Input Operand, it makes slow down. (why?)
Change-Id: I3eb7f4b2e0b4ce7ae595e3e006d86ed63eee4529
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 files changed: