Jiyong Park | 200825e | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 1 | |
| 2 | LOCAL_SRC_FILES += SurfaceFlingerConfigs.cpp |
| 3 | |
| 4 | ifneq ($(VSYNC_EVENT_PHASE_OFFSET_NS),) |
| 5 | LOCAL_CFLAGS += -DVSYNC_EVENT_PHASE_OFFSET_NS=$(VSYNC_EVENT_PHASE_OFFSET_NS) |
| 6 | endif |
Jaesoo Lee | d643fc0 | 2017-01-23 19:09:02 +0900 | [diff] [blame] | 7 | |
Fabien Sanglard | eebc925 | 2017-03-06 11:46:36 -0800 | [diff] [blame] | 8 | ifneq ($(SF_VSYNC_EVENT_PHASE_OFFSET_NS),) |
| 9 | LOCAL_CFLAGS += -DSF_VSYNC_EVENT_PHASE_OFFSET_NS=$(SF_VSYNC_EVENT_PHASE_OFFSET_NS) |
| 10 | endif |
| 11 | |
Jaesoo Lee | d643fc0 | 2017-01-23 19:09:02 +0900 | [diff] [blame] | 12 | ifeq ($(NUM_FRAMEBUFFER_SURFACE_BUFFERS),3) |
| 13 | LOCAL_CFLAGS += -DUSE_TRIPLE_FRAMEBUFFER |
| 14 | endif |
Fabien Sanglard | cbece28 | 2017-03-13 13:03:04 -0700 | [diff] [blame] | 15 | |
| 16 | ifeq ($(TARGET_BOARD_PLATFORM),omap4) |
| 17 | LOCAL_CFLAGS += -DUSE_CONTEXT_PRIORITY=1 |
| 18 | endif |
| 19 | |
| 20 | ifeq ($(TARGET_BOARD_PLATFORM),s5pc110) |
| 21 | LOCAL_CFLAGS += -DUSE_CONTEXT_PRIORITY=1 |
| 22 | endif |
Courtney Goeltzenleuchter | 3670b44 | 2017-03-09 09:04:29 -0700 | [diff] [blame] | 23 | |
| 24 | ifeq ($(TARGET_HAS_WIDE_COLOR_DISPLAY),true) |
| 25 | LOCAL_CFLAGS += -DHAS_WIDE_COLOR_DISPLAY |
| 26 | endif |
| 27 | |
| 28 | ifeq ($(TARGET_HAS_HDR_DISPLAY),true) |
| 29 | LOCAL_CFLAGS += -DHAS_HDR_DISPLAY |
| 30 | endif |
| 31 | |
Fabien Sanglard | 8d7e31e | 2017-03-14 13:16:30 -0700 | [diff] [blame^] | 32 | ifneq ($(PRESENT_TIME_OFFSET_FROM_VSYNC_NS),) |
| 33 | LOCAL_CFLAGS += -DPRESENT_TIME_OFFSET_FROM_VSYNC_NS=$(PRESENT_TIME_OFFSET_FROM_VSYNC_NS) |
| 34 | else |
| 35 | LOCAL_CFLAGS += -DPRESENT_TIME_OFFSET_FROM_VSYNC_NS=0 |
| 36 | endif |