Lines Matching refs:PixelFormat
109 int32_t ReadbackHelper::GetBytesPerPixel(common::PixelFormat pixelFormat) { in GetBytesPerPixel()
111 case common::PixelFormat::RGBA_8888: in GetBytesPerPixel()
113 case common::PixelFormat::RGB_888: in GetBytesPerPixel()
121 common::PixelFormat pixelFormat, in fillBuffer()
123 ASSERT_TRUE(pixelFormat == common::PixelFormat::RGB_888 || in fillBuffer()
124 pixelFormat == common::PixelFormat::RGBA_8888); in fillBuffer()
165 bool ReadbackHelper::readbackSupported(const common::PixelFormat& pixelFormat, in readbackSupported()
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()
197 const uint32_t height, common::PixelFormat pixelFormat) { in compareColorBuffers()
213 int32_t width, int32_t height, common::PixelFormat pixelFormat, in ReadbackBuffer()
235 mWidth, mHeight, static_cast<::android::PixelFormat>(mPixelFormat), mLayerCount, mUsage, in allocateBuffer()
261 ASSERT_TRUE(mPixelFormat == PixelFormat::RGB_888 || mPixelFormat == PixelFormat::RGBA_8888); in checkReadbackBuffer()
296 uint32_t height, common::PixelFormat format, in TestBufferLayer()
372 mWidth, mHeight, static_cast<::android::PixelFormat>(mPixelFormat), mLayerCount, mUsage, in allocateBuffer()