Home
last modified time | relevance | path

Searched refs:bufferDesc (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp186 AHardwareBuffer_Desc bufferDesc; in createFrom() local
187 AHardwareBuffer_describe(hardwareBuffer, &bufferDesc); in createFrom()
188 SkImageInfo info = uirenderer::BufferDescriptionToImageInfo(bufferDesc, colorSpace); in createFrom()
189 return createFrom(hardwareBuffer, info, bufferDesc, palette); in createFrom()
195 AHardwareBuffer_Desc bufferDesc; in createFrom() local
196 AHardwareBuffer_describe(hardwareBuffer, &bufferDesc); in createFrom()
197 SkImageInfo info = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, in createFrom()
199 return createFrom(hardwareBuffer, info, bufferDesc, palette); in createFrom()
203 const AHardwareBuffer_Desc& bufferDesc, BitmapPalette palette) { in createFrom() argument
205 const auto bufferStride = bufferDesc.stride > 0 ? bufferDesc.stride : bufferDesc.width; in createFrom()
DBitmap.h192 const AHardwareBuffer_Desc& bufferDesc, BitmapPalette palette);
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp172 AHardwareBuffer_Desc bufferDesc; in apply() local
173 AHardwareBuffer_describe(hardwareBuffer, &bufferDesc); in apply()
194 mLayer->setBufferFormat(bufferDesc.format); in apply()
/frameworks/base/libs/hwui/utils/
DColor.cpp72 SkImageInfo BufferDescriptionToImageInfo(const AHardwareBuffer_Desc& bufferDesc, in BufferDescriptionToImageInfo() argument
74 return createImageInfo(bufferDesc.width, bufferDesc.height, bufferDesc.format, colorSpace); in BufferDescriptionToImageInfo()
DColor.h98 SkImageInfo BufferDescriptionToImageInfo(const AHardwareBuffer_Desc& bufferDesc,