/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
mBuffers.push_back(SurfacePair(tbmSurface, surface));
}
+ // Render the frame
+ mVectorRenderer->renderSync(frameNumber, surface);
+
if(mEnableFixedCache && (frameNumber < mDecodedBuffers.size()))
{
const uint32_t bufferSize = mWidth * mHeight * Dali::Pixel::GetBytesPerPixel(Dali::Pixel::RGBA8888);
}
}
- // Render the frame
- mVectorRenderer->renderSync(frameNumber, surface);
-
tbm_surface_unmap(tbmSurface);
tbm_surface_queue_enqueue(mTbmQueue, tbmSurface);