When the non-animated image is detached from the scene first and attached to the scene again,
webp-loading can't load webp information because it is already loaded its information.
To re-load this information, we need to set the flag to false.
Change-Id: I08c00042dc84aa40cdfbe02d462920946ed5def2
free((void*)mBuffer);
mBuffer = nullptr;
}
free((void*)mBuffer);
mBuffer = nullptr;
}
+
+ // Set the flag so that webp information can be reloaded when visual is re-attached to scene.
+ mLoadSucceeded = false;
}
// Moveable but not copyable
}
// Moveable but not copyable
free((void*)frameBuffer);
}
mImpl->ReleaseResource();
free((void*)frameBuffer);
}
mImpl->ReleaseResource();
return pixelBuffer;
}
#endif
return pixelBuffer;
}
#endif