src/hbservers/hbthemeserver/hbnvgiconprocessor_p.cpp
changeset 21 4633027730f5
parent 2 06ff229162e9
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
   123             data.nvgData.defaultWidth = defaultSize.width();
   123             data.nvgData.defaultWidth = defaultSize.width();
   124             data.nvgData.defaultHeight = defaultSize.height();
   124             data.nvgData.defaultHeight = defaultSize.height();
   125             data.nvgData.width = size.width();
   125             data.nvgData.width = size.width();
   126             data.nvgData.height = size.height();
   126             data.nvgData.height = size.height();
   127             data.type = NVG;
   127             data.type = NVG;
       
   128             data.renderingMode = EHWRendering;
   128             data.nvgData.dataSize = byteArray.size();
   129             data.nvgData.dataSize = byteArray.size();
   129             memcpy(HbMemoryUtils::getAddress<char>(HbMemoryManager::SharedMemory, data.nvgData.offset),
   130             memcpy(HbMemoryUtils::getAddress<char>(HbMemoryManager::SharedMemory, data.nvgData.offset),
   130                    byteArray.data(), byteArray.size());
   131                    byteArray.data(), byteArray.size());
   131         }
   132         }
   132 
   133