true, ///< orientationCorrection
preMultiply);
- textureManager.AsyncLoadComplete(textureId, pixelBuffer);
- textureManager.AsyncLoadComplete(maskInfo->mAlphaMaskId, Dali::Devel::PixelBuffer());
+ std::vector<Devel::PixelBuffer> pixelBuffers;
+ pixelBuffers.push_back(pixelBuffer);
+ textureManager.AsyncLoadComplete(textureId, pixelBuffers);
+ std::vector<Devel::PixelBuffer> maskBuffers;
+ textureManager.AsyncLoadComplete(maskInfo->mAlphaMaskId, maskBuffers);
textureManager.Remove(maskInfo->mAlphaMaskId, nullptr);
textureManager.Remove(textureId, &observer);
}
// ApplyMask event come back, and do nothing.
// CAPTION : HARD-CODING.
{
- textureManager.AsyncLoadComplete(textureId1, Dali::Devel::PixelBuffer());
+ std::vector<Devel::PixelBuffer> pixelBuffers;
+ textureManager.AsyncLoadComplete(textureId1, pixelBuffers);
textureManager.Remove(maskInfo->mAlphaMaskId, nullptr);
}
// CAPTION : HARD-CODING.
{
- textureManager.AsyncLoadComplete(textureId2, Dali::Devel::PixelBuffer());
+ std::vector<Devel::PixelBuffer> pixelBuffers;
+ textureManager.AsyncLoadComplete(textureId2, pixelBuffers);
textureManager.Remove(textureId2, &observer2);
}
DALI_TEST_EQUALS(observer2.mCompleteType, TestObserver::CompleteType::UPLOAD_COMPLETE, TEST_LOCATION);
END_TEST;
-}
\ No newline at end of file
+}