projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[dali_2.0.0] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
visual-factory-cache.cpp
diff --git
a/dali-toolkit/internal/visuals/visual-factory-cache.cpp
b/dali-toolkit/internal/visuals/visual-factory-cache.cpp
index
218ba4f
..
bb6eb81
100644
(file)
--- a/
dali-toolkit/internal/visuals/visual-factory-cache.cpp
+++ b/
dali-toolkit/internal/visuals/visual-factory-cache.cpp
@@
-125,7
+125,7
@@
SvgRasterizeThread* VisualFactoryCache::GetSVGRasterizationThread()
{
if( !mSvgRasterizeThread )
{
{
if( !mSvgRasterizeThread )
{
- mSvgRasterizeThread = new SvgRasterizeThread(
new EventThreadCallback( MakeCallback( this, &VisualFactoryCache::ApplyRasterizedSVGToSampler ) )
);
+ mSvgRasterizeThread = new SvgRasterizeThread();
mSvgRasterizeThread->Start();
}
return mSvgRasterizeThread;
mSvgRasterizeThread->Start();
}
return mSvgRasterizeThread;
@@
-140,14
+140,6
@@
VectorAnimationManager& VisualFactoryCache::GetVectorAnimationManager()
return *mVectorAnimationManager;
}
return *mVectorAnimationManager;
}
-void VisualFactoryCache::ApplyRasterizedSVGToSampler()
-{
- while( RasterizingTaskPtr task = mSvgRasterizeThread->NextCompletedTask() )
- {
- task->GetSvgVisual()->ApplyRasterizedImage( task->GetParsedImage(), task->GetPixelData() );
- }
-}
-
Geometry VisualFactoryCache::CreateGridGeometry( Uint16Pair gridSize )
{
uint16_t gridWidth = gridSize.GetWidth();
Geometry VisualFactoryCache::CreateGridGeometry( Uint16Pair gridSize )
{
uint16_t gridWidth = gridSize.GetWidth();