Lines Matching refs:PixelFormat
99 int32_t ReadbackHelper::GetBytesPerPixel(PixelFormat pixelFormat) { in GetBytesPerPixel()
101 case PixelFormat::RGBA_8888: in GetBytesPerPixel()
103 case PixelFormat::RGB_888: in GetBytesPerPixel()
111 PixelFormat pixelFormat, in fillBuffer()
113 ASSERT_TRUE(pixelFormat == PixelFormat::RGB_888 || pixelFormat == PixelFormat::RGBA_8888); in fillBuffer()
155 bool ReadbackHelper::readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace, in readbackSupported()
161 if (pixelFormat != PixelFormat::RGB_888 && pixelFormat != PixelFormat::RGBA_8888) { in readbackSupported()
173 const PixelFormat pixelFormat) { in compareColorBuffers()
190 uint32_t width, uint32_t height, PixelFormat pixelFormat, in ReadbackBuffer()
221 ASSERT_TRUE(mPixelFormat == PixelFormat::RGB_888 || mPixelFormat == PixelFormat::RGBA_8888); in checkReadbackBuffer()
245 int32_t height, PixelFormat format, in TestBufferLayer()