Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/hwc2/
DGuestComposer.cpp349 uint32_t bufferFormat = *bufferFormatOpt; in GetBufferSpec() local
369 if (bufferFormat == DRM_FORMAT_NV12 || bufferFormat == DRM_FORMAT_NV21 || in GetBufferSpec()
370 bufferFormat == DRM_FORMAT_YVU420) { in GetBufferSpec()
395 bufferCrop.bottom - bufferCrop.top, bufferFormat, in GetBufferSpec()
396 bufferStrideBytes, GetDrmFormatBytesPerPixel(bufferFormat)); in GetBufferSpec()
867 uint32_t bufferFormat = *bufferFormatOpt; in canComposeLayer() local
869 if (!IsDrmFormatSupported(bufferFormat)) { in canComposeLayer()
/device/generic/goldfish-opengl/system/hwc3/
DGuestFrameComposer.cpp358 uint32_t bufferFormat = *bufferFormatOpt; in GetBufferSpec() local
378 if (bufferFormat == DRM_FORMAT_NV12 || bufferFormat == DRM_FORMAT_NV21 || in GetBufferSpec()
379 bufferFormat == DRM_FORMAT_YVU420) { in GetBufferSpec()
404 bufferCrop.bottom - bufferCrop.top, bufferFormat, in GetBufferSpec()
405 bufferStrideBytes, GetDrmFormatBytesPerPixel(bufferFormat)); in GetBufferSpec()
916 uint32_t bufferFormat = *bufferFormatOpt; in canComposeLayer() local
918 if (!IsDrmFormatSupported(bufferFormat)) { in canComposeLayer()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp315 const angle::Format &bufferFormat = format.actualBufferFormat(); in GetVertexInputAlignment() local
316 size_t pixelBytes = bufferFormat.pixelBytes; in GetVertexInputAlignment()
317 return format.vkBufferFormatIsPacked ? pixelBytes : (pixelBytes / bufferFormat.channelCount); in GetVertexInputAlignment()
DUtilsVk.cpp57 const angle::Format &bufferFormat = format.actualBufferFormat(); in GetBufferUtilsFlags() local
59 if (bufferFormat.isSint()) in GetBufferUtilsFlags()
63 else if (bufferFormat.isUint()) in GetBufferUtilsFlags()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp3177 DXGI_FORMAT bufferFormat = (indexInfo.indexType == gl::DrawElementsType::UnsignedInt) in applyIndexBuffer() local
3194 syncIndexBuffer(buffer, bufferFormat, indexInfo.startOffset); in applyIndexBuffer()