Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp319 FormatInfo formatInfo; in determineFormat() local
322 formatInfo.isSupported = true; in determineFormat()
326 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in determineFormat()
327 formatInfo.format = GL_RGBA; in determineFormat()
328 formatInfo.type = GL_UNSIGNED_BYTE; in determineFormat()
329 formatInfo.vkFormat = VK_FORMAT_R8G8B8A8_UNORM; in determineFormat()
332 formatInfo.isSupported = HardwareBitmapUploader::hasFP16Support(); in determineFormat()
333 if (formatInfo.isSupported) { in determineFormat()
334 formatInfo.type = GL_HALF_FLOAT; in determineFormat()
335 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT; in determineFormat()
[all …]