ViewportTransform: Fix precision loss
authorRahul Singhal <rasinghal@nvidia.com>
Wed, 20 Jun 2012 10:33:34 +0000 (16:03 +0530)
committerMichael Schuldt <michael.schuldt@bmw.de>
Thu, 28 Jun 2012 11:01:27 +0000 (13:01 +0200)
commited099c948e566491bc339e23f7b7a8daa59e7af0
tree6ec555a249153c73d8f555d6b6f473f536350538
parent35033bf8114e846d8d7a5be158ff35513b7d3771
ViewportTransform: Fix precision loss

All the transform calculationis are being done with integers which
could lead to precision loss. Instead we should be using floats.
LayerManagerPlugins/Renderers/Graphic/include/Transformation/ViewportTransform.h
LayerManagerPlugins/Renderers/Graphic/src/GraphicSystems/GLESGraphicSystem.cpp
LayerManagerPlugins/Renderers/Graphic/src/GraphicSystems/GLXGraphicSystem.cpp
LayerManagerPlugins/Renderers/Graphic/src/Transformation/ViewportTransform.cpp
LayerManagerPlugins/Renderers/Graphic/tests/ViewportTransformTest.cpp
LayerManagerService/include/Rectangle.h