Revert "[Tizen] partial rendering"
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 6 Oct 2020 03:07:25 +0000 (12:07 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 6 Oct 2020 03:07:25 +0000 (12:07 +0900)
This reverts commit 92f2ac073fa1afe2d3b7c97e64e45bf2d0ad16bf.

dali/internal/render/common/render-item.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index d0daa83..b795530
@@ -110,8 +110,8 @@ ClippingBox RenderItem::CalculateViewportSpaceAABB( const Vector3& size, const i
                         static_cast<float>( viewportWidth )  * 0.5f - aabb.x,
                         static_cast<float>( viewportHeight ) * 0.5f - aabb.y );
 
-  int x = static_cast< int >( floor( aabbInScreen.x ) );
-  int y = static_cast< int >( floor( aabbInScreen.y ) );
+  int x = static_cast< int >( roundf( aabbInScreen.x ) );
+  int y = static_cast< int >( roundf( aabbInScreen.y ) );
   int z = static_cast< int >( roundf( aabbInScreen.z ) );
   int w = static_cast< int >( roundf( aabbInScreen.w ) );