1 #ifndef MALI_GRALLOC_ERROR
2 #define MALI_GRALLOC_ERROR
3 
4 enum class Error : int32_t {
5 	/**
6 	 * No error.
7 	 */
8 	NONE = 0,
9 	/**
10 	 * Invalid BufferDescriptor.
11 	 */
12 	BAD_DESCRIPTOR = 1,
13 	/**
14 	 * Invalid buffer handle.
15 	 */
16 	BAD_BUFFER = 2,
17 	/**
18 	 * Invalid HardwareBufferDescription.
19 	 */
20 	BAD_VALUE = 3,
21 	/**
22 	 * Resource unavailable.
23 	 */
24 	NO_RESOURCES = 5,
25 	/**
26 	 * Permanent failure.
27 	 */
28 	UNSUPPORTED = 7,
29 };
30 
31 #endif
32