GPencil: Cleanup - Remove storage Grid matrix and replace with local variable
[blender.git] / source / blender / draw / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # The Original Code is Copyright (C) 2016, Blender Foundation
18 # All rights reserved.
19 # ***** END GPL LICENSE BLOCK *****
20
21 set(INC
22   .
23   intern
24   modes
25
26   ../blenfont
27   ../blenkernel
28   ../blenlib
29   ../blentranslation
30   ../bmesh
31   ../depsgraph
32   ../editors/include
33   ../editors/space_view3d
34   ../gpu
35   ../imbuf
36   ../makesdna
37   ../makesrna
38   ../render/extern/include
39   ../render/intern/include
40   ../windowmanager
41
42   ../../../intern/atomic
43   ../../../intern/glew-mx
44   ../../../intern/guardedalloc
45 )
46
47 set(INC_SYS
48   ${GLEW_INCLUDE_PATH}
49 )
50
51 set(SRC
52   intern/draw_anim_viz.c
53   intern/draw_armature.c
54   intern/draw_cache.c
55   intern/draw_cache_impl_curve.c
56   intern/draw_cache_impl_displist.c
57   intern/draw_cache_impl_lattice.c
58   intern/draw_cache_impl_mesh.c
59   intern/draw_cache_impl_metaball.c
60   intern/draw_cache_impl_particles.c
61   intern/draw_common.c
62   intern/draw_debug.c
63   intern/draw_hair.c
64   intern/draw_instance_data.c
65   intern/draw_manager.c
66   intern/draw_manager_data.c
67   intern/draw_manager_exec.c
68   intern/draw_manager_profiling.c
69   intern/draw_manager_shader.c
70   intern/draw_manager_text.c
71   intern/draw_manager_texture.c
72   intern/draw_view.c
73   modes/edit_armature_mode.c
74   modes/edit_curve_mode.c
75   modes/edit_lattice_mode.c
76   modes/edit_mesh_mode.c
77   modes/edit_mesh_mode_text.c
78   modes/edit_metaball_mode.c
79   modes/edit_text_mode.c
80   modes/object_mode.c
81   modes/overlay_mode.c
82   modes/paint_texture_mode.c
83   modes/paint_vertex_mode.c
84   modes/particle_mode.c
85   modes/pose_mode.c
86   modes/sculpt_mode.c
87   engines/basic/basic_engine.c
88   engines/eevee/eevee_bloom.c
89   engines/eevee/eevee_data.c
90   engines/eevee/eevee_depth_of_field.c
91   engines/eevee/eevee_effects.c
92   engines/eevee/eevee_engine.c
93   engines/eevee/eevee_lightcache.c
94   engines/eevee/eevee_lightprobes.c
95   engines/eevee/eevee_lights.c
96   engines/eevee/eevee_lookdev.c
97   engines/eevee/eevee_materials.c
98   engines/eevee/eevee_mist.c
99   engines/eevee/eevee_motion_blur.c
100   engines/eevee/eevee_occlusion.c
101   engines/eevee/eevee_render.c
102   engines/eevee/eevee_screen_raytrace.c
103   engines/eevee/eevee_shaders.c
104   engines/eevee/eevee_subsurface.c
105   engines/eevee/eevee_temporal_sampling.c
106   engines/eevee/eevee_volumes.c
107   engines/workbench/solid_mode.c
108   engines/workbench/transparent_mode.c
109   engines/workbench/workbench_data.c
110   engines/workbench/workbench_deferred.c
111   engines/workbench/workbench_effect_aa.c
112   engines/workbench/workbench_effect_dof.c
113   engines/workbench/workbench_effect_fxaa.c
114   engines/workbench/workbench_effect_taa.c
115   engines/workbench/workbench_engine.c
116   engines/workbench/workbench_forward.c
117   engines/workbench/workbench_materials.c
118   engines/workbench/workbench_render.c
119   engines/workbench/workbench_studiolight.c
120   engines/workbench/workbench_volume.c
121   engines/external/external_engine.c
122   engines/gpencil/gpencil_cache_utils.c
123   engines/gpencil/gpencil_draw_cache_impl.c
124   engines/gpencil/gpencil_draw_utils.c
125   engines/gpencil/gpencil_engine.c
126   engines/gpencil/gpencil_engine.h
127   engines/gpencil/gpencil_render.c
128   engines/gpencil/gpencil_shader_fx.c
129
130   DRW_engine.h
131   intern/DRW_render.h
132   intern/draw_cache.h
133   intern/draw_cache_impl.h
134   intern/draw_cache_inline.h
135   intern/draw_common.h
136   intern/draw_debug.h
137   intern/draw_hair_private.h
138   intern/draw_instance_data.h
139   intern/draw_manager.h
140   intern/draw_manager_profiling.h
141   intern/draw_manager_text.h
142   intern/draw_view.h
143   modes/draw_mode_engines.h
144   modes/edit_mesh_mode_intern.h
145   engines/basic/basic_engine.h
146   engines/eevee/eevee_engine.h
147   engines/eevee/eevee_lightcache.h
148   engines/eevee/eevee_lut.h
149   engines/eevee/eevee_private.h
150   engines/external/external_engine.h
151   engines/workbench/workbench_engine.h
152   engines/workbench/workbench_private.h
153 )
154
155 set(LIB
156   bf_blenkernel
157   bf_blenlib
158   bf_windowmanager
159 )
160
161 data_to_c_simple(engines/eevee/shaders/ambient_occlusion_lib.glsl SRC)
162 data_to_c_simple(engines/eevee/shaders/default_frag.glsl SRC)
163 data_to_c_simple(engines/eevee/shaders/default_world_frag.glsl SRC)
164 data_to_c_simple(engines/eevee/shaders/background_vert.glsl SRC)
165 data_to_c_simple(engines/eevee/shaders/concentric_samples_lib.glsl SRC)
166 data_to_c_simple(engines/eevee/shaders/common_uniforms_lib.glsl SRC)
167 data_to_c_simple(engines/eevee/shaders/lights_lib.glsl SRC)
168 data_to_c_simple(engines/eevee/shaders/lightprobe_lib.glsl SRC)
169 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl SRC)
170 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_diffuse_frag.glsl SRC)
171 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_visibility_frag.glsl SRC)
172 data_to_c_simple(engines/eevee/shaders/lightprobe_geom.glsl SRC)
173 data_to_c_simple(engines/eevee/shaders/lightprobe_vert.glsl SRC)
174 data_to_c_simple(engines/eevee/shaders/lightprobe_cube_display_frag.glsl SRC)
175 data_to_c_simple(engines/eevee/shaders/lightprobe_cube_display_vert.glsl SRC)
176 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_display_frag.glsl SRC)
177 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_display_vert.glsl SRC)
178 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_fill_frag.glsl SRC)
179 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_display_frag.glsl SRC)
180 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_display_vert.glsl SRC)
181 data_to_c_simple(engines/eevee/shaders/lit_surface_frag.glsl SRC)
182 data_to_c_simple(engines/eevee/shaders/lit_surface_vert.glsl SRC)
183 data_to_c_simple(engines/eevee/shaders/effect_bloom_frag.glsl SRC)
184 data_to_c_simple(engines/eevee/shaders/effect_dof_vert.glsl SRC)
185 data_to_c_simple(engines/eevee/shaders/effect_dof_frag.glsl SRC)
186 data_to_c_simple(engines/eevee/shaders/effect_downsample_frag.glsl SRC)
187 data_to_c_simple(engines/eevee/shaders/effect_downsample_cube_frag.glsl SRC)
188 data_to_c_simple(engines/eevee/shaders/effect_gtao_frag.glsl SRC)
189 data_to_c_simple(engines/eevee/shaders/effect_velocity_resolve_frag.glsl SRC)
190 data_to_c_simple(engines/eevee/shaders/effect_minmaxz_frag.glsl SRC)
191 data_to_c_simple(engines/eevee/shaders/effect_mist_frag.glsl SRC)
192 data_to_c_simple(engines/eevee/shaders/effect_motion_blur_frag.glsl SRC)
193 data_to_c_simple(engines/eevee/shaders/effect_ssr_frag.glsl SRC)
194 data_to_c_simple(engines/eevee/shaders/effect_subsurface_frag.glsl SRC)
195 data_to_c_simple(engines/eevee/shaders/effect_temporal_aa.glsl SRC)
196 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_frag.glsl SRC)
197 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_geom.glsl SRC)
198 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_vert.glsl SRC)
199 data_to_c_simple(engines/eevee/shaders/prepass_frag.glsl SRC)
200 data_to_c_simple(engines/eevee/shaders/prepass_vert.glsl SRC)
201 data_to_c_simple(engines/eevee/shaders/shadow_frag.glsl SRC)
202 data_to_c_simple(engines/eevee/shaders/shadow_vert.glsl SRC)
203 data_to_c_simple(engines/eevee/shaders/shadow_store_frag.glsl SRC)
204 data_to_c_simple(engines/eevee/shaders/shadow_copy_frag.glsl SRC)
205 data_to_c_simple(engines/eevee/shaders/bsdf_lut_frag.glsl SRC)
206 data_to_c_simple(engines/eevee/shaders/btdf_lut_frag.glsl SRC)
207 data_to_c_simple(engines/eevee/shaders/bsdf_common_lib.glsl SRC)
208 data_to_c_simple(engines/eevee/shaders/irradiance_lib.glsl SRC)
209 data_to_c_simple(engines/eevee/shaders/octahedron_lib.glsl SRC)
210 data_to_c_simple(engines/eevee/shaders/bsdf_sampling_lib.glsl SRC)
211 data_to_c_simple(engines/eevee/shaders/raytrace_lib.glsl SRC)
212 data_to_c_simple(engines/eevee/shaders/ltc_lib.glsl SRC)
213 data_to_c_simple(engines/eevee/shaders/ssr_lib.glsl SRC)
214 data_to_c_simple(engines/eevee/shaders/update_noise_frag.glsl SRC)
215 data_to_c_simple(engines/eevee/shaders/volumetric_lib.glsl SRC)
216 data_to_c_simple(engines/eevee/shaders/volumetric_frag.glsl SRC)
217 data_to_c_simple(engines/eevee/shaders/volumetric_geom.glsl SRC)
218 data_to_c_simple(engines/eevee/shaders/volumetric_vert.glsl SRC)
219 data_to_c_simple(engines/eevee/shaders/volumetric_resolve_frag.glsl SRC)
220 data_to_c_simple(engines/eevee/shaders/volumetric_scatter_frag.glsl SRC)
221 data_to_c_simple(engines/eevee/shaders/volumetric_integration_frag.glsl SRC)
222
223 data_to_c_simple(engines/workbench/shaders/workbench_background_lib.glsl SRC)
224 data_to_c_simple(engines/workbench/shaders/workbench_cavity_lib.glsl SRC)
225 data_to_c_simple(engines/workbench/shaders/workbench_cavity_frag.glsl SRC)
226 data_to_c_simple(engines/workbench/shaders/workbench_checkerboard_depth_frag.glsl SRC)
227 data_to_c_simple(engines/workbench/shaders/workbench_common_lib.glsl SRC)
228 data_to_c_simple(engines/workbench/shaders/workbench_data_lib.glsl SRC)
229 data_to_c_simple(engines/workbench/shaders/workbench_deferred_composite_frag.glsl SRC)
230 data_to_c_simple(engines/workbench/shaders/workbench_deferred_background_frag.glsl SRC)
231 data_to_c_simple(engines/workbench/shaders/workbench_effect_dof_frag.glsl SRC)
232 data_to_c_simple(engines/workbench/shaders/workbench_effect_fxaa_frag.glsl SRC)
233 data_to_c_simple(engines/workbench/shaders/workbench_effect_taa_frag.glsl SRC)
234 data_to_c_simple(engines/workbench/shaders/workbench_forward_composite_frag.glsl SRC)
235 data_to_c_simple(engines/workbench/shaders/workbench_forward_depth_frag.glsl SRC)
236 data_to_c_simple(engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl SRC)
237 data_to_c_simple(engines/workbench/shaders/workbench_ghost_resolve_frag.glsl SRC)
238 data_to_c_simple(engines/workbench/shaders/workbench_object_outline_lib.glsl SRC)
239 data_to_c_simple(engines/workbench/shaders/workbench_curvature_lib.glsl SRC)
240 data_to_c_simple(engines/workbench/shaders/workbench_prepass_vert.glsl SRC)
241 data_to_c_simple(engines/workbench/shaders/workbench_prepass_frag.glsl SRC)
242 data_to_c_simple(engines/workbench/shaders/workbench_shadow_vert.glsl SRC)
243 data_to_c_simple(engines/workbench/shaders/workbench_shadow_geom.glsl SRC)
244 data_to_c_simple(engines/workbench/shaders/workbench_shadow_caps_geom.glsl SRC)
245 data_to_c_simple(engines/workbench/shaders/workbench_shadow_debug_frag.glsl SRC)
246 data_to_c_simple(engines/workbench/shaders/workbench_volume_vert.glsl SRC)
247 data_to_c_simple(engines/workbench/shaders/workbench_volume_frag.glsl SRC)
248 data_to_c_simple(engines/workbench/shaders/workbench_world_light_lib.glsl SRC)
249
250 data_to_c_simple(modes/shaders/common_globals_lib.glsl SRC)
251 data_to_c_simple(modes/shaders/common_hair_lib.glsl SRC)
252 data_to_c_simple(modes/shaders/common_hair_refine_vert.glsl SRC)
253 data_to_c_simple(modes/shaders/common_view_lib.glsl SRC)
254 data_to_c_simple(modes/shaders/common_fxaa_lib.glsl SRC)
255 data_to_c_simple(modes/shaders/common_fullscreen_vert.glsl SRC)
256 data_to_c_simple(modes/shaders/animviz_mpath_lines_vert.glsl SRC)
257 data_to_c_simple(modes/shaders/animviz_mpath_lines_geom.glsl SRC)
258 data_to_c_simple(modes/shaders/animviz_mpath_points_vert.glsl SRC)
259 data_to_c_simple(modes/shaders/armature_axes_vert.glsl SRC)
260 data_to_c_simple(modes/shaders/armature_sphere_solid_vert.glsl SRC)
261 data_to_c_simple(modes/shaders/armature_sphere_solid_frag.glsl SRC)
262 data_to_c_simple(modes/shaders/armature_sphere_outline_vert.glsl SRC)
263 data_to_c_simple(modes/shaders/armature_envelope_solid_vert.glsl SRC)
264 data_to_c_simple(modes/shaders/armature_envelope_solid_frag.glsl SRC)
265 data_to_c_simple(modes/shaders/armature_envelope_outline_vert.glsl SRC)
266 data_to_c_simple(modes/shaders/armature_envelope_distance_frag.glsl SRC)
267 data_to_c_simple(modes/shaders/armature_shape_solid_vert.glsl SRC)
268 data_to_c_simple(modes/shaders/armature_shape_solid_frag.glsl SRC)
269 data_to_c_simple(modes/shaders/armature_shape_outline_vert.glsl SRC)
270 data_to_c_simple(modes/shaders/armature_shape_outline_geom.glsl SRC)
271 data_to_c_simple(modes/shaders/armature_stick_vert.glsl SRC)
272 data_to_c_simple(modes/shaders/armature_stick_frag.glsl SRC)
273 data_to_c_simple(modes/shaders/armature_dof_vert.glsl SRC)
274 data_to_c_simple(modes/shaders/edit_mesh_overlay_common_lib.glsl SRC)
275 data_to_c_simple(modes/shaders/edit_mesh_overlay_frag.glsl SRC)
276 data_to_c_simple(modes/shaders/edit_mesh_overlay_vert.glsl SRC)
277 data_to_c_simple(modes/shaders/edit_mesh_overlay_geom.glsl SRC)
278 data_to_c_simple(modes/shaders/edit_mesh_overlay_mix_frag.glsl SRC)
279 data_to_c_simple(modes/shaders/edit_mesh_overlay_facefill_vert.glsl SRC)
280 data_to_c_simple(modes/shaders/edit_mesh_overlay_facefill_frag.glsl SRC)
281 data_to_c_simple(modes/shaders/edit_mesh_overlay_mesh_analysis_frag.glsl SRC)
282 data_to_c_simple(modes/shaders/edit_mesh_overlay_mesh_analysis_vert.glsl SRC)
283 data_to_c_simple(modes/shaders/edit_curve_overlay_handle_vert.glsl SRC)
284 data_to_c_simple(modes/shaders/edit_curve_overlay_handle_geom.glsl SRC)
285 data_to_c_simple(modes/shaders/edit_curve_overlay_loosevert_vert.glsl SRC)
286 data_to_c_simple(modes/shaders/edit_curve_overlay_normals_vert.glsl SRC)
287 data_to_c_simple(modes/shaders/edit_lattice_overlay_frag.glsl SRC)
288 data_to_c_simple(modes/shaders/edit_lattice_overlay_loosevert_vert.glsl SRC)
289 data_to_c_simple(modes/shaders/edit_normals_vert.glsl SRC)
290 data_to_c_simple(modes/shaders/edit_normals_geom.glsl SRC)
291 data_to_c_simple(modes/shaders/overlay_face_orientation_frag.glsl SRC)
292 data_to_c_simple(modes/shaders/overlay_face_orientation_vert.glsl SRC)
293 data_to_c_simple(modes/shaders/overlay_face_wireframe_vert.glsl SRC)
294 data_to_c_simple(modes/shaders/overlay_face_wireframe_geom.glsl SRC)
295 data_to_c_simple(modes/shaders/overlay_face_wireframe_frag.glsl SRC)
296 data_to_c_simple(modes/shaders/object_empty_axes_vert.glsl SRC)
297 data_to_c_simple(modes/shaders/object_empty_image_frag.glsl SRC)
298 data_to_c_simple(modes/shaders/object_empty_image_vert.glsl SRC)
299 data_to_c_simple(modes/shaders/object_outline_resolve_frag.glsl SRC)
300 data_to_c_simple(modes/shaders/object_outline_expand_frag.glsl SRC)
301 data_to_c_simple(modes/shaders/object_outline_detect_frag.glsl SRC)
302 data_to_c_simple(modes/shaders/object_outline_prepass_vert.glsl SRC)
303 data_to_c_simple(modes/shaders/object_outline_prepass_geom.glsl SRC)
304 data_to_c_simple(modes/shaders/object_outline_prepass_frag.glsl SRC)
305 data_to_c_simple(modes/shaders/object_grid_frag.glsl SRC)
306 data_to_c_simple(modes/shaders/object_grid_vert.glsl SRC)
307 data_to_c_simple(modes/shaders/object_lightprobe_grid_vert.glsl SRC)
308 data_to_c_simple(modes/shaders/object_mball_handles_vert.glsl SRC)
309 data_to_c_simple(modes/shaders/object_particle_prim_vert.glsl SRC)
310 data_to_c_simple(modes/shaders/object_particle_dot_vert.glsl SRC)
311 data_to_c_simple(modes/shaders/object_particle_dot_frag.glsl SRC)
312 data_to_c_simple(modes/shaders/object_loose_points_frag.glsl SRC)
313 data_to_c_simple(modes/shaders/paint_texture_frag.glsl SRC)
314 data_to_c_simple(modes/shaders/paint_texture_vert.glsl SRC)
315 data_to_c_simple(modes/shaders/paint_vertex_frag.glsl SRC)
316 data_to_c_simple(modes/shaders/paint_vertex_vert.glsl SRC)
317 data_to_c_simple(modes/shaders/paint_weight_frag.glsl SRC)
318 data_to_c_simple(modes/shaders/paint_weight_vert.glsl SRC)
319 data_to_c_simple(modes/shaders/paint_face_vert.glsl SRC)
320 data_to_c_simple(modes/shaders/paint_wire_frag.glsl SRC)
321 data_to_c_simple(modes/shaders/paint_wire_vert.glsl SRC)
322 data_to_c_simple(modes/shaders/paint_vert_frag.glsl SRC)
323 data_to_c_simple(modes/shaders/particle_strand_frag.glsl SRC)
324 data_to_c_simple(modes/shaders/particle_strand_vert.glsl SRC)
325 data_to_c_simple(modes/shaders/sculpt_mask_vert.glsl SRC)
326 data_to_c_simple(modes/shaders/volume_velocity_vert.glsl SRC)
327
328 data_to_c_simple(engines/gpencil/shaders/gpencil_fill_vert.glsl SRC)
329 data_to_c_simple(engines/gpencil/shaders/gpencil_fill_frag.glsl SRC)
330 data_to_c_simple(engines/gpencil/shaders/gpencil_stroke_vert.glsl SRC)
331 data_to_c_simple(engines/gpencil/shaders/gpencil_stroke_geom.glsl SRC)
332 data_to_c_simple(engines/gpencil/shaders/gpencil_stroke_frag.glsl SRC)
333 data_to_c_simple(engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl SRC)
334 data_to_c_simple(engines/gpencil/shaders/gpencil_simple_mix_frag.glsl SRC)
335 data_to_c_simple(engines/gpencil/shaders/gpencil_blend_frag.glsl SRC)
336 data_to_c_simple(engines/gpencil/shaders/gpencil_point_vert.glsl SRC)
337 data_to_c_simple(engines/gpencil/shaders/gpencil_point_geom.glsl SRC)
338 data_to_c_simple(engines/gpencil/shaders/gpencil_point_frag.glsl SRC)
339 data_to_c_simple(engines/gpencil/shaders/gpencil_background_frag.glsl SRC)
340 data_to_c_simple(engines/gpencil/shaders/gpencil_paper_frag.glsl SRC)
341 data_to_c_simple(engines/gpencil/shaders/gpencil_edit_point_vert.glsl SRC)
342 data_to_c_simple(engines/gpencil/shaders/gpencil_edit_point_geom.glsl SRC)
343 data_to_c_simple(engines/gpencil/shaders/gpencil_edit_point_frag.glsl SRC)
344
345 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_blur_frag.glsl SRC)
346 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_colorize_frag.glsl SRC)
347 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_flip_frag.glsl SRC)
348 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_glow_prepare_frag.glsl SRC)
349 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_glow_resolve_frag.glsl SRC)
350 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_light_frag.glsl SRC)
351 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_pixel_frag.glsl SRC)
352 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_rim_prepare_frag.glsl SRC)
353 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_rim_resolve_frag.glsl SRC)
354 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_shadow_prepare_frag.glsl SRC)
355 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_shadow_resolve_frag.glsl SRC)
356 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_swirl_frag.glsl SRC)
357 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_wave_frag.glsl SRC)
358
359
360 list(APPEND INC
361 )
362
363 if(WITH_FREESTYLE)
364   add_definitions(-DWITH_FREESTYLE)
365 endif()
366
367 blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")