Turns pixel align off as default 63/134163/2
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Thu, 15 Jun 2017 05:41:03 +0000 (14:41 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Thu, 15 Jun 2017 06:13:10 +0000 (15:13 +0900)
 - Now it causes issues in imageView and animation

Change-Id: Ib400864c443727c8186475cf6cfb9160b026c17e

dali-toolkit/internal/visuals/image/image-visual.cpp

index dc16aac..e50edca 100644 (file)
@@ -552,7 +552,10 @@ void ImageVisual::CreateRenderer( TextureSet& textureSet )
     }
   }
 
     }
   }
 
-  shader.RegisterProperty( PIXEL_ALIGNED_UNIFORM_NAME, PIXEL_ALIGN_ON ); // Set default to align
+  // Set pixel align off as default.
+  // ToDo: Pixel align causes issues such as rattling image animation.
+  // We should trun it off until issues are resolved
+  shader.RegisterProperty( PIXEL_ALIGNED_UNIFORM_NAME, PIXEL_ALIGN_OFF );
 
   mImpl->mRenderer = Renderer::New( geometry, shader );
   if( textureSet )
 
   mImpl->mRenderer = Renderer::New( geometry, shader );
   if( textureSet )