- // if we have a frame buffer we need to track connection status then send a message to set the frame buffer id in case it has changed since last time we were on stage
- unsigned int resourceId = 0;
- bool isNativeFBO = false;
- if( mFrameBufferImage )
- {
- Dali::Internal::FrameBufferImage& impl = GetImplementation( mFrameBufferImage );
- impl.Connect();
- resourceId = impl.GetResourceId();
- isNativeFBO = impl.IsNativeFbo();
- }
-
- // mSceneObject is being used in a separate thread; queue a message to set the value
- SetFrameBufferIdMessage( GetEventThreadServices(), *mSceneObject, resourceId, isNativeFBO );
-