OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 The Android Open Source Project | 2 * Copyright (C) 2011 The Android Open Source Project |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
11 * distributed under the License is distributed on an "AS IS" BASIS, | 11 * distributed under the License is distributed on an "AS IS" BASIS, |
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 * See the License for the specific language governing permissions and | 13 * See the License for the specific language governing permissions and |
14 * limitations under the License. | 14 * limitations under the License. |
15 */ | 15 */ |
16 | 16 |
17 #ifndef SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H | 17 #ifndef SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H |
18 #define SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H | 18 #define SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H |
19 | 19 |
20 #include <stdint.h> | 20 #include <stdint.h> |
21 #ifndef ANDROID | |
22 #include <stddef.h> | |
23 #endif | |
24 | 21 |
25 #ifdef __cplusplus | 22 #ifdef __cplusplus |
26 extern "C" { | 23 extern "C" { |
27 #endif | 24 #endif |
28 | 25 |
29 /* | 26 /* |
30 * If the HAL needs to create service threads to handle graphics related | 27 * If the HAL needs to create service threads to handle graphics related |
31 * tasks, these threads need to run at HAL_PRIORITY_URGENT_DISPLAY priority | 28 * tasks, these threads need to run at HAL_PRIORITY_URGENT_DISPLAY priority |
32 * if they can block the main rendering thread in any way. | 29 * if they can block the main rendering thread in any way. |
33 * | 30 * |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 HAL_TRANSFORM_ROT_270 = 0x07, | 295 HAL_TRANSFORM_ROT_270 = 0x07, |
299 /* don't use. see system/window.h */ | 296 /* don't use. see system/window.h */ |
300 HAL_TRANSFORM_RESERVED = 0x08, | 297 HAL_TRANSFORM_RESERVED = 0x08, |
301 }; | 298 }; |
302 | 299 |
303 #ifdef __cplusplus | 300 #ifdef __cplusplus |
304 } | 301 } |
305 #endif | 302 #endif |
306 | 303 |
307 #endif /* SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H */ | 304 #endif /* SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H */ |
OLD | NEW |