Lines Matching refs:pixelFormat
109 int32_t ReadbackHelper::GetBytesPerPixel(common::PixelFormat pixelFormat) { in GetBytesPerPixel() argument
110 switch (pixelFormat) { in GetBytesPerPixel()
121 common::PixelFormat pixelFormat, in fillBuffer() argument
123 ASSERT_TRUE(pixelFormat == common::PixelFormat::RGB_888 || in fillBuffer()
124 pixelFormat == common::PixelFormat::RGBA_8888); in fillBuffer()
125 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer()
165 bool ReadbackHelper::readbackSupported(const common::PixelFormat& pixelFormat, in readbackSupported() argument
167 if (pixelFormat != common::PixelFormat::RGB_888 && in readbackSupported()
168 pixelFormat != common::PixelFormat::RGBA_8888) { in readbackSupported()
179 const uint32_t height, common::PixelFormat pixelFormat) { in compareColorBuffers() argument
180 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers()
197 const uint32_t height, common::PixelFormat pixelFormat) { in compareColorBuffers() argument
198 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers()
213 int32_t width, int32_t height, common::PixelFormat pixelFormat, in ReadbackBuffer() argument
218 mPixelFormat = pixelFormat; in ReadbackBuffer()