Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.h85 int drmFormat; member
88 return (bufferId == rhs.bufferId && drmFormat == rhs.drmFormat &&
117 int addFB2WithModifiers(uint32_t state, uint32_t width, uint32_t height, uint32_t drmFormat,
DExynosDisplayDrmInterface.cpp95 uint32_t drmFormat, const DrmArray<uint32_t> &handles, in addFB2WithModifiers() argument
100 if (CC_UNLIKELY(!validateLayerInfo(state, drmFormat, handles, modifier))) { in addFB2WithModifiers()
104 int ret = drmModeAddFB2WithModifiers(mDrmFd, width, height, drmFormat, handles.data(), in addFB2WithModifiers()
112 bool FramebufferManager::validateLayerInfo(uint32_t state, uint32_t drmFormat, in validateLayerInfo() argument
117 return drmFormat == DRM_FORMAT_C8 && handles[0] != 0 && handles[1] == 0 && in validateLayerInfo()
166 int drmFormat = DRM_FORMAT_UNDEFINED; in getBuffer() local
188 drmFormat = exynosFormat->drmFormat; in getBuffer()
189 if (drmFormat == DRM_FORMAT_UNDEFINED) { in getBuffer()
206 [bufferDesc = Framebuffer::BufferDesc{config.buffer_id, drmFormat, in getBuffer()
253 drmFormat = DRM_FORMAT_BGRA8888; in getBuffer()
[all …]
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp439 return (exynosFormat != nullptr) ? exynosFormat->drmFormat : DRM_FORMAT_UNDEFINED; in halFormatToDrmFormat()
449 if (exynos_format_desc[i].drmFormat == format) { in drmFormatToHalFormats()
459 if (exynos_format_desc[i].drmFormat == format) in drmFormatToHalFormat()
DExynosHWCHelper.h133 int drmFormat; member