Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: third_party/hwcplus/include/system/graphics.h

Issue 252583002: Make it possible to build libhardware. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2
Patch Set: clean up more lint Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h>
rjkroege 2014/04/25 21:28:07 same comment: add #ifdef?
20 #include <stdint.h> 21 #include <stdint.h>
21 22
22 #ifdef __cplusplus 23 #ifdef __cplusplus
23 extern "C" { 24 extern "C" {
24 #endif 25 #endif
25 26
26 /* 27 /*
27 * If the HAL needs to create service threads to handle graphics related 28 * If the HAL needs to create service threads to handle graphics related
28 * tasks, these threads need to run at HAL_PRIORITY_URGENT_DISPLAY priority 29 * tasks, these threads need to run at HAL_PRIORITY_URGENT_DISPLAY priority
29 * if they can block the main rendering thread in any way. 30 * if they can block the main rendering thread in any way.
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 HAL_TRANSFORM_ROT_270 = 0x07, 296 HAL_TRANSFORM_ROT_270 = 0x07,
296 /* don't use. see system/window.h */ 297 /* don't use. see system/window.h */
297 HAL_TRANSFORM_RESERVED = 0x08, 298 HAL_TRANSFORM_RESERVED = 0x08,
298 }; 299 };
299 300
300 #ifdef __cplusplus 301 #ifdef __cplusplus
301 } 302 }
302 #endif 303 #endif
303 304
304 #endif /* SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H */ 305 #endif /* SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698