• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2LOCAL_SRC_FILES += SurfaceFlingerConfigs.cpp
3
4ifneq ($(VSYNC_EVENT_PHASE_OFFSET_NS),)
5    LOCAL_CFLAGS += -DVSYNC_EVENT_PHASE_OFFSET_NS=$(VSYNC_EVENT_PHASE_OFFSET_NS)
6endif
7
8ifneq ($(SF_VSYNC_EVENT_PHASE_OFFSET_NS),)
9    LOCAL_CFLAGS += -DSF_VSYNC_EVENT_PHASE_OFFSET_NS=$(SF_VSYNC_EVENT_PHASE_OFFSET_NS)
10endif
11
12ifeq ($(TARGET_BOARD_PLATFORM),omap4)
13    LOCAL_CFLAGS += -DUSE_CONTEXT_PRIORITY=1
14endif
15
16ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
17    LOCAL_CFLAGS += -DUSE_CONTEXT_PRIORITY=1
18endif
19
20ifeq ($(TARGET_HAS_WIDE_COLOR_DISPLAY),true)
21    LOCAL_CFLAGS += -DHAS_WIDE_COLOR_DISPLAY
22endif
23
24ifeq ($(TARGET_HAS_HDR_DISPLAY),true)
25    LOCAL_CFLAGS += -DHAS_HDR_DISPLAY
26endif
27
28ifneq ($(PRESENT_TIME_OFFSET_FROM_VSYNC_NS),)
29    LOCAL_CFLAGS += -DPRESENT_TIME_OFFSET_FROM_VSYNC_NS=$(PRESENT_TIME_OFFSET_FROM_VSYNC_NS)
30else
31    LOCAL_CFLAGS += -DPRESENT_TIME_OFFSET_FROM_VSYNC_NS=0
32endif
33
34ifeq ($(TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS),true)
35    LOCAL_CFLAGS += -DFORCE_HWC_COPY_FOR_VIRTUAL_DISPLAYS
36endif
37
38ifneq ($(MAX_VIRTUAL_DISPLAY_DIMENSION),)
39    LOCAL_CFLAGS += -DMAX_VIRTUAL_DISPLAY_DIMENSION=$(MAX_VIRTUAL_DISPLAY_DIMENSION)
40endif
41
42ifeq ($(TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK),true)
43    LOCAL_CFLAGS += -DRUNNING_WITHOUT_SYNC_FRAMEWORK
44endif
45
46ifneq ($(USE_VR_FLINGER),)
47    LOCAL_CFLAGS += -DUSE_VR_FLINGER
48endif
49
50ifneq ($(NUM_FRAMEBUFFER_SURFACE_BUFFERS),)
51    LOCAL_CFLAGS += -DNUM_FRAMEBUFFER_SURFACE_BUFFERS=$(NUM_FRAMEBUFFER_SURFACE_BUFFERS)
52endif
53
54ifneq ($(SF_START_GRAPHICS_ALLOCATOR_SERVICE),)
55    LOCAL_CFLAGS += -DSTART_GRAPHICS_ALLOCATOR_SERVICE
56endif
57