blob: 4e34f3aad6d5e3026477ffaffa5d8ab28d2631d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
|
project(drape_frontend)
execute_process(
COMMAND python ${OMIM_ROOT}/tools/autobuild/shader_preprocessor.py
${OMIM_ROOT}/drape_frontend/shaders
shader_index.txt
shaders_lib.glsl
${OMIM_ROOT}/drape_frontend
shader_def
)
include_directories(
.
watch
${OMIM_ROOT}/3party/protobuf/src
${OMIM_ROOT}/3party/expat/lib
${OMIM_ROOT}/3party/freetype/include
${OMIM_ROOT}/3party/glm
)
set(
SRC
${OMIM_ROOT}/3party/agg/agg_curves.cpp
animation/animation.cpp
animation/animation.hpp
animation/arrow_animation.cpp
animation/arrow_animation.hpp
animation/base_interpolator.cpp
animation/base_interpolator.hpp
animation/follow_animation.cpp
animation/follow_animation.hpp
animation/interpolation_holder.cpp
animation/interpolation_holder.hpp
animation/interpolations.cpp
animation/interpolations.hpp
animation/interpolators.cpp
animation/interpolators.hpp
animation/linear_animation.cpp
animation/linear_animation.hpp
animation/opacity_animation.cpp
animation/opacity_animation.hpp
animation/parallel_animation.cpp
animation/parallel_animation.hpp
animation/scale_animation.cpp
animation/scale_animation.hpp
animation/sequence_animation.cpp
animation/sequence_animation.hpp
animation/show_hide_animation.cpp
animation/show_hide_animation.hpp
animation/value_mapping.hpp
animation_constants.hpp
animation_system.cpp
animation_system.hpp
animation_utils.cpp
animation_utils.hpp
apply_feature_functors.cpp
apply_feature_functors.hpp
area_shape.cpp
area_shape.hpp
arrow3d.cpp
arrow3d.hpp
backend_renderer.cpp
backend_renderer.hpp
base_renderer.cpp
base_renderer.hpp
batch_merge_helper.cpp
batch_merge_helper.hpp
batchers_pool.hpp
circles_pack_shape.cpp
circles_pack_shape.hpp
color_constants.cpp
color_constants.hpp
colored_symbol_shape.cpp
colored_symbol_shape.hpp
custom_symbol.hpp
drape_api.cpp
drape_api.hpp
drape_api_builder.cpp
drape_api_builder.hpp
drape_api_renderer.cpp
drape_api_renderer.hpp
drape_engine.cpp
drape_engine.hpp
drape_hints.hpp
drape_measurer.cpp
drape_measurer.hpp
engine_context.cpp
engine_context.hpp
frontend_renderer.cpp
frontend_renderer.hpp
gps_track_point.hpp
gps_track_renderer.cpp
gps_track_renderer.hpp
gui/choose_position_mark.cpp
gui/choose_position_mark.hpp
gui/compass.cpp
gui/compass.hpp
gui/copyright_label.cpp
gui/copyright_label.hpp
gui/debug_label.cpp
gui/debug_label.hpp
gui/drape_gui.cpp
gui/drape_gui.hpp
gui/gui_text.cpp
gui/gui_text.hpp
gui/layer_render.cpp
gui/layer_render.hpp
gui/ruler.cpp
gui/ruler.hpp
gui/ruler_helper.cpp
gui/ruler_helper.hpp
gui/shape.cpp
gui/shape.hpp
gui/skin.cpp
gui/skin.hpp
intrusive_vector.hpp
kinetic_scroller.cpp
kinetic_scroller.hpp
line_shape.cpp
line_shape.hpp
line_shape_helper.cpp
line_shape_helper.hpp
map_data_provider.cpp
map_data_provider.hpp
map_shape.hpp
message.hpp
message_acceptor.cpp
message_acceptor.hpp
message_queue.cpp
message_queue.hpp
message_subclasses.hpp
my_position.cpp
my_position.hpp
my_position_controller.cpp
my_position_controller.hpp
navigator.cpp
navigator.hpp
overlay_batcher.cpp
overlay_batcher.hpp
overlays_tracker.cpp
overlays_tracker.hpp
path_symbol_shape.cpp
path_symbol_shape.hpp
path_text_shape.cpp
path_text_shape.hpp
poi_symbol_shape.cpp
poi_symbol_shape.hpp
postprocess_renderer.cpp
postprocess_renderer.hpp
read_manager.cpp
read_manager.hpp
read_mwm_task.cpp
read_mwm_task.hpp
render_group.cpp
render_group.hpp
render_node.cpp
render_node.hpp
requested_tiles.cpp
requested_tiles.hpp
route_builder.cpp
route_builder.hpp
route_renderer.cpp
route_renderer.hpp
route_shape.cpp
route_shape.hpp
rule_drawer.cpp
rule_drawer.hpp
scenario_manager.cpp
scenario_manager.hpp
screen_animations.cpp
screen_animations.hpp
screen_operations.cpp
screen_operations.hpp
screen_quad_renderer.cpp
screen_quad_renderer.hpp
selection_shape.cpp
selection_shape.hpp
shader_def.cpp
shader_def.hpp
shape_view_params.hpp
stylist.cpp
stylist.hpp
text_handle.cpp
text_handle.hpp
text_layout.cpp
text_layout.hpp
text_shape.cpp
text_shape.hpp
threads_commutator.cpp
threads_commutator.hpp
tile_info.cpp
tile_info.hpp
tile_key.cpp
tile_key.hpp
tile_utils.cpp
tile_utils.hpp
traffic_generator.cpp
traffic_generator.hpp
traffic_renderer.cpp
traffic_renderer.hpp
user_event_stream.cpp
user_event_stream.hpp
user_mark_shapes.cpp
user_mark_shapes.hpp
user_marks_provider.cpp
user_marks_provider.hpp
visual_params.cpp
visual_params.hpp
watch/area_info.hpp
watch/brush_info.hpp
watch/circle_info.hpp
watch/cpu_drawer.cpp
watch/cpu_drawer.hpp
watch/default_font.cpp
watch/feature_processor.cpp
watch/feature_processor.hpp
watch/feature_styler.cpp
watch/feature_styler.hpp
watch/frame_image.hpp
watch/geometry_processors.cpp
watch/geometry_processors.hpp
watch/glyph_cache.cpp
watch/glyph_cache.hpp
watch/glyph_cache_impl.cpp
watch/glyph_cache_impl.hpp
watch/icon_info.hpp
watch/path_info.hpp
watch/pen_info.hpp
watch/point.h
watch/proto_to_styles.cpp
watch/proto_to_styles.hpp
watch/rect.h
watch/software_renderer.cpp
watch/software_renderer.hpp
watch/text_engine.cpp
watch/text_engine.h
)
add_library(${PROJECT_NAME} ${SRC})
set(
DRAPE_SHADERS_SRC
shaders/area.vsh.glsl
shaders/area3d.vsh.glsl
shaders/area3d_outline.vsh.glsl
shaders/arrow3d.fsh.glsl
shaders/arrow3d.vsh.glsl
shaders/arrow3d_outline.fsh.glsl
shaders/arrow3d_shadow.fsh.glsl
shaders/arrow3d_shadow.vsh.glsl
shaders/circle.fsh.glsl
shaders/circle.vsh.glsl
shaders/circle_point.fsh.glsl
shaders/circle_point.vsh.glsl
shaders/colored_symbol.fsh.glsl
shaders/colored_symbol.vsh.glsl
shaders/colored_symbol_billboard.vsh.glsl
shaders/dashed_line.fsh.glsl
shaders/dashed_line.vsh.glsl
shaders/debug_rect.fsh.glsl
shaders/debug_rect.vsh.glsl
shaders/discarded_texturing.fsh.glsl
shaders/hatching_area.fsh.glsl
shaders/hatching_area.vsh.glsl
shaders/line.fsh.glsl
shaders/line.vsh.glsl
shaders/masked_texturing.fsh.glsl
shaders/masked_texturing.vsh.glsl
shaders/masked_texturing_billboard.vsh.glsl
shaders/my_position.vsh.glsl
shaders/path_symbol.vsh.glsl
shaders/position_accuracy3d.vsh.glsl
shaders/route.fsh.glsl
shaders/route.vsh.glsl
shaders/route_arrow.vsh.glsl
shaders/route_dash.fsh.glsl
shaders/ruler.vsh.glsl
shaders/screen_quad.vsh.glsl
shaders/shader_index.txt
shaders/shaders_lib.glsl
shaders/smaa_blending_weight.fsh.glsl
shaders/smaa_blending_weight.vsh.glsl
shaders/smaa_edges.fsh.glsl
shaders/smaa_edges.vsh.glsl
shaders/smaa_final.fsh.glsl
shaders/smaa_final.vsh.glsl
shaders/solid_color.fsh.glsl
shaders/text.fsh.glsl
shaders/text.vsh.glsl
shaders/text_billboard.vsh.glsl
shaders/text_fixed.fsh.glsl
shaders/text_outlined.vsh.glsl
shaders/text_outlined_billboard.vsh.glsl
shaders/text_outlined_gui.vsh.glsl
shaders/texturing.fsh.glsl
shaders/texturing.vsh.glsl
shaders/texturing3d.fsh.glsl
shaders/texturing_billboard.vsh.glsl
shaders/texturing_gui.vsh.glsl
shaders/traffic.fsh.glsl
shaders/traffic.vsh.glsl
shaders/traffic_line.fsh.glsl
shaders/traffic_line.vsh.glsl
shaders/user_mark.vsh.glsl
shaders/user_mark_billboard.vsh.glsl
)
add_custom_target(shaders SOURCES ${DRAPE_SHADERS_SRC})
omim_add_test_subdirectory(drape_frontend_tests)
|