virtual bool GetMarkerInfo( const std::string& marker, uint32_t& startFrame, uint32_t& endFrame ) const = 0;
/**
+ * @brief Ignores rendered frames which are not shown yet.
+ */
+ virtual void IgnoreRenderedFrames() = 0;
+
+ /**
* @brief Connect to this signal to be notified when the texture upload is completed.
*
* @return The signal to connect to.
return GetImplementation( *this ).GetMarkerInfo( marker, startFrame, endFrame );
}
+void VectorAnimationRenderer::IgnoreRenderedFrames()
+{
+ GetImplementation( *this ).IgnoreRenderedFrames();
+}
+
VectorAnimationRenderer::UploadCompletedSignalType& VectorAnimationRenderer::UploadCompletedSignal()
{
return GetImplementation( *this ).UploadCompletedSignal();
*/
bool GetMarkerInfo( const std::string& marker, uint32_t& startFrame, uint32_t& endFrame ) const;
+ /**
+ * @brief Ignores rendered frames which are not shown yet.
+ */
+ void IgnoreRenderedFrames();
+
public: // Signals
/**
return mPlugin.GetMarkerInfo( marker, startFrame, endFrame );
}
+void VectorAnimationRenderer::IgnoreRenderedFrames()
+{
+ mPlugin.IgnoreRenderedFrames();
+}
+
Dali::VectorAnimationRenderer::UploadCompletedSignalType& VectorAnimationRenderer::UploadCompletedSignal()
{
return mPlugin.UploadCompletedSignal();
bool GetMarkerInfo( const std::string& marker, uint32_t& startFrame, uint32_t& endFrame ) const;
/**
+ * @copydoc Dali::VectorAnimationRenderer::IgnoreRenderedFrames()
+ */
+ void IgnoreRenderedFrames();
+
+ /**
* @copydoc Dali::VectorAnimationRenderer::UploadCompletedSignal()
*/
Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal();
return false;
}
+void VectorAnimationRendererPluginProxy::IgnoreRenderedFrames()
+{
+ if( mPlugin )
+ {
+ mPlugin->IgnoreRenderedFrames();
+ }
+}
+
VectorAnimationRendererPlugin::UploadCompletedSignalType& VectorAnimationRendererPluginProxy::UploadCompletedSignal()
{
if( mPlugin )
bool GetMarkerInfo( const std::string& marker, uint32_t& startFrame, uint32_t& endFrame ) const;
/**
+ * @copydoc Dali::VectorAnimationRendererPlugin::IgnoreRenderedFrames()
+ */
+ void IgnoreRenderedFrames();
+
+ /**
* @copydoc Dali::VectorAnimationRendererPlugin::UploadCompletedSignal()
*/
VectorAnimationRendererPlugin::UploadCompletedSignalType& UploadCompletedSignal();