fasttrack is enabled when there is fill. If there is no fill, complex rendering logic... 50/325050/2
authorjoogab.yun <joogab.yun@samsung.com>
Fri, 30 May 2025 08:02:23 +0000 (17:02 +0900)
committerChun <jykeon@samsung.com>
Wed, 4 Jun 2025 00:43:01 +0000 (00:43 +0000)
Change-Id: I11faf4f36f6fcc6640cf520bf421075fd6d78917
(cherry picked from commit f5b2eb597112858732a587f288b596bcd9f0ff14)

src/lib/sw_engine/tvgSwShape.cpp

index 7462a7b7eafa550b55270bd6ed09e63030970ec3..a85ebd4c3a211aa4cd91cd03b89fdaea4dfb89bc 100644 (file)
@@ -470,7 +470,7 @@ static bool _genOutline(SwShape* shape, const RenderShape* rshape, const Matrix*
     outline->fillRule = rshape->rule;
     shape->outline = outline;
 
-    shape->fastTrack = (!hasComposite && _axisAlignedRect(shape->outline));
+    shape->fastTrack = (!hasComposite && _axisAlignedRect(shape->outline) && shape->fill);
     return true;
 }