Lines Matching defs:format
51 MovePtr<ImageSource> createAndroidNativeImageSource (GLenum format, deUint32 numLayers, bool isYUV)
54 return createUnsupportedImageSource("Not Android platform", format, isYUV);
69 MovePtr<ImageSource> createAndroidNativeImageSource (GLenum format, deUint32 numLayers, bool isYUV)
72 return createUnsupportedImageSource("AHB API not supported", format, isYUV);
152 deUint32 getPixelFormat (GLenum format)
154 switch (format)
168 default: TCU_THROW(NotSupportedError, "Texture format unsupported by Android");
175 AndroidNativeClientBuffer (const Library& egl, GLenum format, deUint32 numLayers, bool isYUV);
187 AndroidNativeClientBuffer::AndroidNativeClientBuffer (const Library& egl, GLenum format, deUint32 numLayers, bool isYUV)
210 isYUV ? AHB_FORMAT_Y8Cb8Cr8_420 : getPixelFormat(format),
224 TCU_THROW(NotSupportedError, "Texture format unsupported");
229 // Throw unsupported instead of failing the test as the texture format or the number
272 AndroidNativeImageSource (GLenum format, deUint32 numLayers, bool isYUV) : m_format(format), m_numLayers(numLayers), m_isY8Cb8Cr8_420(isYUV) {}
307 // YUV format texture will be initialized by glClear.
337 MovePtr<ImageSource> createAndroidNativeImageSource (GLenum format, deUint32 numLayers, bool isYUV)
341 return MovePtr<ImageSource>(new AndroidNativeImageSource(format, numLayers, isYUV));
345 return createUnsupportedImageSource(string("Android native buffers unsupported: ") + exc.what(), format, isYUV);