projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f335779
)
sw_engine shape: ++ comment for later optimization
95/235295/1
author
Hermet Park
<chuneon.park@samsung.com>
Wed, 3 Jun 2020 10:16:44 +0000
(19:16 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Wed, 3 Jun 2020 10:17:42 +0000
(19:17 +0900)
Change-Id: Ie6cd622748b88e2bce0c9d9a79cc4528a95c9c5c
src/lib/sw_engine/tvgSwShape.cpp
patch
|
blob
|
history
diff --git
a/src/lib/sw_engine/tvgSwShape.cpp
b/src/lib/sw_engine/tvgSwShape.cpp
index
a4fa7fb
..
30b79c8
100644
(file)
--- a/
src/lib/sw_engine/tvgSwShape.cpp
+++ b/
src/lib/sw_engine/tvgSwShape.cpp
@@
-245,6
+245,8
@@
void shapeTransformOutline(const Shape& shape, SwShape& sdata, const RenderTrans
bool shapeGenRle(const Shape& shape, SwShape& sdata, const SwSize& clip)
{
+ /* OPTIMIZE ME: We may avoid this bounding box calculation in this stage
+ if this shape has stroke and stroke bbox can be used here... */
if (!_updateBBox(sdata.outline, sdata.bbox)) goto end;
if (!_checkValid(sdata, clip)) goto end;