// INTERNAL INCLUDES
#include <dali/internal/common/buffer-index.h>
#include <dali/internal/common/type-abstraction.h>
#include <dali/internal/update/common/scene-graph-buffers.h>
// INTERNAL INCLUDES
#include <dali/internal/common/buffer-index.h>
#include <dali/internal/common/type-abstraction.h>
#include <dali/internal/update/common/scene-graph-buffers.h>
-#include <dali/integration-api/debug.h>
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)();
}
(object->*memberFunction)();
}
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( param1 );
}
(object->*memberFunction)( param1 );
}
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( param1, param2 );
}
(object->*memberFunction)( param1, param2 );
}
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( param1, param2, param3 );
}
(object->*memberFunction)( param1, param2, param3 );
}
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( param1, param2, param3, param4 );
}
(object->*memberFunction)( param1, param2, param3, param4 );
}
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( param1, param2, param3, param4, param5 );
}
(object->*memberFunction)( param1, param2, param3, param4, param5 );
}
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex /*bufferIndex*/ )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( param1, param2, param3, param4, param5, param6 );
}
(object->*memberFunction)( param1, param2, param3, param4, param5, param6 );
}
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( bufferIndex );
}
(object->*memberFunction)( bufferIndex );
}
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( bufferIndex, param );
}
(object->*memberFunction)( bufferIndex, param );
}
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)(
bufferIndex, param2, param3 );
}
(object->*memberFunction)(
bufferIndex, param2, param3 );
}
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( bufferIndex, param2, param3, param4 );
}
(object->*memberFunction)( bufferIndex, param2, param3, param4 );
}
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
virtual void Process( BufferIndex bufferIndex )
{
DALI_ASSERT_DEBUG( object && "Message does not have an object" );
-
- DALI_LOG_ERROR("Message::Process: object: %s, function pointer: %p\n", typeid(object).name(), memberFunction);
-
(object->*memberFunction)( bufferIndex, param2, param3, param4, param5 );
}
(object->*memberFunction)( bufferIndex, param2, param3, param4, param5 );
}
#include <dali/internal/render/common/render-debug.h>
#include <dali/internal/render/shaders/program.h>
#include <dali/internal/common/image-sampler.h>
#include <dali/internal/render/common/render-debug.h>
#include <dali/internal/render/shaders/program.h>
#include <dali/internal/common/image-sampler.h>
-#include <dali/integration-api/debug.h>
void Shader::RemoveConnectionObserver( ConnectionChangePropagator::Observer& observer )
{
void Shader::RemoveConnectionObserver( ConnectionChangePropagator::Observer& observer )
{
- DALI_LOG_ERROR("+++ Scene Graph Shader::RemoveConnectionObserver\n");
-
mConnectionObservers.Remove(observer);
mConnectionObservers.Remove(observer);
-
- DALI_LOG_ERROR("--- Scene Graph Shader::RemoveConnectionObserver\n");
}
void Shader::UniformMappingsChanged( const UniformMap& mappings )
}
void Shader::UniformMappingsChanged( const UniformMap& mappings )
#include <dali/internal/common/memory-pool-object-allocator.h>
#include <dali/internal/render/common/performance-monitor.h>
#include <dali/public-api/math/math-utils.h>
#include <dali/internal/common/memory-pool-object-allocator.h>
#include <dali/internal/render/common/performance-monitor.h>
#include <dali/public-api/math/math-utils.h>
-#include <dali/integration-api/debug.h>
-
namespace //Unnamed namespace
{
//Memory pool used to allocate new animations. Memory used by this pool will be released when shutting down DALi
namespace //Unnamed namespace
{
//Memory pool used to allocate new animations. Memory used by this pool will be released when shutting down DALi
- DALI_LOG_ERROR("Scene Graph Animation::Play: Before stable_sort\n");
-
// Sort according to end time with earlier end times coming first, if the end time is the same, then the animators are not moved
std::stable_sort( mAnimators.Begin(), mAnimators.End(), CompareAnimatorEndTimes );
// Sort according to end time with earlier end times coming first, if the end time is the same, then the animators are not moved
std::stable_sort( mAnimators.Begin(), mAnimators.End(), CompareAnimatorEndTimes );
- DALI_LOG_ERROR("Scene Graph Animation::Play: After stable_sort\n");
-
mState = Playing;
if ( mSpeedFactor < 0.0f && mElapsedSeconds <= mPlayRange.x*mDurationSeconds )
mState = Playing;
if ( mSpeedFactor < 0.0f && mElapsedSeconds <= mPlayRange.x*mDurationSeconds )
mElapsedSeconds = mPlayRange.y * mDurationSeconds;
}
mElapsedSeconds = mPlayRange.y * mDurationSeconds;
}
- DALI_LOG_ERROR("Scene Graph Animation::Play: Before SetAnimatorsActive\n");
-
SetAnimatorsActive( true );
SetAnimatorsActive( true );
- DALI_LOG_ERROR("Scene Graph Animation::Play: After SetAnimatorsActive\n");
-
#include <dali/public-api/common/vector-wrapper.h>
#include <dali/devel-api/threading/mutex.h>
#include <dali/integration-api/render-controller.h>
#include <dali/public-api/common/vector-wrapper.h>
#include <dali/devel-api/threading/mutex.h>
#include <dali/integration-api/render-controller.h>
-#include <dali/integration-api/debug.h>
#include <dali/internal/common/message.h>
#include <dali/internal/common/message-buffer.h>
#include <dali/internal/render/common/performance-monitor.h>
#include <dali/internal/common/message.h>
#include <dali/internal/common/message-buffer.h>
#include <dali/internal/render/common/performance-monitor.h>
MessageQueueMutex::ScopedLock lock( mImpl->queueMutex );
const MessageBufferIter processQueueEndIter = mImpl->processQueue.end();
MessageQueueMutex::ScopedLock lock( mImpl->queueMutex );
const MessageBufferIter processQueueEndIter = mImpl->processQueue.end();
-
- bool enableLog = ( mImpl->processQueue.begin() != processQueueEndIter );
-
- if ( enableLog )
- {
- DALI_LOG_ERROR("+++ MessageQueue::ProcessMessages: Mutex locked\n");
- }
-
for ( MessageBufferIter iter = mImpl->processQueue.begin(); iter != processQueueEndIter ; ++iter )
{
MessageBuffer* buffer = *iter;
for ( MessageBufferIter iter = mImpl->processQueue.begin(); iter != processQueueEndIter ; ++iter )
{
MessageBuffer* buffer = *iter;
{
MessageBase* message = reinterpret_cast< MessageBase* >( iter.Get() );
{
MessageBase* message = reinterpret_cast< MessageBase* >( iter.Get() );
- if ( enableLog )
- {
- DALI_LOG_ERROR("Before message->Process\n");
- }
-
message->Process( updateBufferIndex );
message->Process( updateBufferIndex );
- if ( enableLog )
- {
- DALI_LOG_ERROR("After message->Process\n");
- }
-
// Call virtual destructor explictly; since delete will not be called after placement new
message->~MessageBase();
}
// Call virtual destructor explictly; since delete will not be called after placement new
message->~MessageBase();
}
mImpl->recycleQueue.push_back( buffer );
}
mImpl->recycleQueue.push_back( buffer );
}
- if ( enableLog )
- {
- DALI_LOG_ERROR("Outside message queue process\n");
- }
-
mImpl->sceneUpdate >>= 1;
mImpl->queueWasEmpty = mImpl->processQueue.empty(); // Flag whether we processed anything
mImpl->sceneUpdate >>= 1;
mImpl->queueWasEmpty = mImpl->processQueue.empty(); // Flag whether we processed anything
PERF_MONITOR_END(PerformanceMonitor::PROCESS_MESSAGES);
PERF_MONITOR_END(PerformanceMonitor::PROCESS_MESSAGES);
- if ( enableLog )
- {
- DALI_LOG_ERROR("--- MessageQueue::ProcessMessages: Mutex unlocked\n");
- }
-
return ( mImpl->sceneUpdate & 0x01 ); // if it was previously 2, scene graph was updated.
}
return ( mImpl->sceneUpdate & 0x01 ); // if it was previously 2, scene graph was updated.
}
%build
PREFIX="/usr"
CXXFLAGS+=" -Wall -g -Os -DNDEBUG -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
%build
PREFIX="/usr"
CXXFLAGS+=" -Wall -g -Os -DNDEBUG -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
-LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lgcc -Wl,-Bsymbolic-functions -Wl,-Map=output.map "
+LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lgcc -Wl,-Bsymbolic-functions "
%ifarch %{arm}
CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
%ifarch %{arm}
CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"