EXPECT_TRUE(deviceHWC != nullptr);
EXPECT_TRUE(deviceHWC->addVisibleHWCWindow(deviceHWCWindow));
+ int imgWidth = 500;
+ int imgHeight = 500;
+
tbm_surface_h tbmTexture = DSRenderEngineDaliTest::createTbmTexture(
- 100, 100, 255, 0, 0, 255);
+ imgWidth, imgHeight, 255, 0, 0, 255);
EXPECT_TRUE(tbmTexture != nullptr);
- auto imageSourceBuffer = std::make_shared<DSBufferTBMImpl> (100, 100, IDSBuffer::FORMAT_ARGB8888, tbmTexture);
+ auto imageSourceBuffer = std::make_shared<DSBufferTBMImpl> (imgWidth, imgHeight, IDSBuffer::FORMAT_ARGB8888, tbmTexture);
EXPECT_TRUE(renderView->setBuffer(imageSourceBuffer));
EXPECT_TRUE(renderEngine->renderFrame());