diff options
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
-rw-r--r-- | source/blender/draw/CMakeLists.txt | 167 |
1 files changed, 125 insertions, 42 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index 55d789f64b0..8b61d8686cd 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -23,11 +23,11 @@ set(INC ../nodes ../render ../render/intern + ../compositor/realtime_compositor ../windowmanager ../../../intern/atomic ../../../intern/clog - ../../../intern/glew-mx ../../../intern/guardedalloc ../../../intern/opensubdiv @@ -67,28 +67,27 @@ set(SRC intern/mesh_extractors/extract_mesh_vbo_skin_roots.cc intern/mesh_extractors/extract_mesh_vbo_tan.cc intern/mesh_extractors/extract_mesh_vbo_uv.cc - intern/mesh_extractors/extract_mesh_vbo_vcol.cc intern/mesh_extractors/extract_mesh_vbo_weights.cc intern/draw_attributes.cc intern/draw_cache_impl_curve.cc intern/draw_cache_impl_curves.cc - intern/draw_cache_impl_displist.c intern/draw_cache_impl_gpencil.c intern/draw_cache_impl_lattice.c intern/draw_cache_impl_mesh.cc - intern/draw_cache_impl_metaball.c intern/draw_cache_impl_particles.c - intern/draw_cache_impl_pointcloud.c + intern/draw_cache_impl_pointcloud.cc intern/draw_cache_impl_subdivision.cc intern/draw_cache_impl_volume.c intern/draw_color_management.cc + intern/draw_command.cc intern/draw_common.c intern/draw_curves.cc - intern/draw_debug.c + intern/draw_debug.cc intern/draw_fluid.c intern/draw_hair.cc intern/draw_instance_data.c intern/draw_manager.c + intern/draw_manager.cc intern/draw_manager_data.c intern/draw_manager_exec.c intern/draw_manager_profiling.c @@ -104,6 +103,7 @@ set(SRC intern/smaa_textures.c engines/basic/basic_engine.c engines/basic/basic_shader.c + engines/compositor/compositor_engine.cc engines/image/image_engine.cc engines/image/image_shader.cc engines/eevee/eevee_bloom.c @@ -135,10 +135,15 @@ set(SRC engines/eevee/eevee_temporal_sampling.c engines/eevee/eevee_volumes.c engines/eevee_next/eevee_camera.cc + engines/eevee_next/eevee_cryptomatte.cc + engines/eevee_next/eevee_depth_of_field.cc engines/eevee_next/eevee_engine.cc engines/eevee_next/eevee_film.cc + engines/eevee_next/eevee_hizbuffer.cc engines/eevee_next/eevee_instance.cc + engines/eevee_next/eevee_light.cc engines/eevee_next/eevee_material.cc + engines/eevee_next/eevee_motion_blur.cc engines/eevee_next/eevee_pipeline.cc engines/eevee_next/eevee_renderbuffers.cc engines/eevee_next/eevee_sampling.cc @@ -171,33 +176,33 @@ set(SRC engines/gpencil/gpencil_shader_fx.c engines/select/select_draw_utils.c engines/select/select_engine.c - engines/overlay/overlay_antialiasing.c - engines/overlay/overlay_armature.c - engines/overlay/overlay_background.c - engines/overlay/overlay_edit_curve.c + engines/overlay/overlay_antialiasing.cc + engines/overlay/overlay_armature.cc + engines/overlay/overlay_background.cc + engines/overlay/overlay_edit_curve.cc engines/overlay/overlay_edit_curves.cc - engines/overlay/overlay_edit_mesh.c - engines/overlay/overlay_edit_text.c - engines/overlay/overlay_edit_uv.c - engines/overlay/overlay_engine.c - engines/overlay/overlay_extra.c - engines/overlay/overlay_facing.c - engines/overlay/overlay_fade.c - engines/overlay/overlay_gpencil.c - engines/overlay/overlay_grid.c - engines/overlay/overlay_image.c - engines/overlay/overlay_lattice.c - engines/overlay/overlay_metaball.c - engines/overlay/overlay_mode_transfer.c - engines/overlay/overlay_motion_path.c - engines/overlay/overlay_outline.c - engines/overlay/overlay_paint.c - engines/overlay/overlay_particle.c - engines/overlay/overlay_sculpt.c + engines/overlay/overlay_edit_mesh.cc + engines/overlay/overlay_edit_text.cc + engines/overlay/overlay_edit_uv.cc + engines/overlay/overlay_engine.cc + engines/overlay/overlay_extra.cc + engines/overlay/overlay_facing.cc + engines/overlay/overlay_fade.cc + engines/overlay/overlay_gpencil.cc + engines/overlay/overlay_grid.cc + engines/overlay/overlay_image.cc + engines/overlay/overlay_lattice.cc + engines/overlay/overlay_metaball.cc + engines/overlay/overlay_mode_transfer.cc + engines/overlay/overlay_motion_path.cc + engines/overlay/overlay_outline.cc + engines/overlay/overlay_paint.cc + engines/overlay/overlay_particle.cc + engines/overlay/overlay_sculpt.cc engines/overlay/overlay_sculpt_curves.cc - engines/overlay/overlay_shader.c - engines/overlay/overlay_volume.c - engines/overlay/overlay_wireframe.c + engines/overlay/overlay_shader.cc + engines/overlay/overlay_volume.cc + engines/overlay/overlay_wireframe.cc DRW_engine.h DRW_select_buffer.h @@ -209,31 +214,58 @@ set(SRC intern/draw_cache_impl.h intern/draw_cache_inline.h intern/draw_color_management.h + intern/draw_command.hh intern/draw_common.h intern/draw_common_shader_shared.h intern/draw_curves_private.h intern/draw_debug.h + intern/draw_debug.hh intern/draw_hair_private.h + intern/draw_handle.hh intern/draw_instance_data.h intern/draw_manager.h + intern/draw_manager.hh intern/draw_manager_profiling.h intern/draw_manager_testing.h intern/draw_manager_text.h + intern/draw_pass.hh + intern/draw_resource.cc + intern/draw_resource.hh intern/draw_shader.h intern/draw_shader_shared.h + intern/draw_state.h intern/draw_subdivision.h intern/draw_texture_pool.h + intern/draw_view.cc intern/draw_view.h + intern/draw_view.hh intern/draw_view_data.h intern/mesh_extractors/extract_mesh.hh intern/smaa_textures.h engines/basic/basic_engine.h engines/basic/basic_private.h + engines/compositor/compositor_engine.h engines/eevee/eevee_engine.h engines/eevee/eevee_lightcache.h engines/eevee/eevee_lut.h engines/eevee/eevee_private.h + engines/eevee_next/eevee_camera.hh + engines/eevee_next/eevee_depth_of_field.hh engines/eevee_next/eevee_engine.h + engines/eevee_next/eevee_film.hh + engines/eevee_next/eevee_hizbuffer.hh + engines/eevee_next/eevee_instance.hh + engines/eevee_next/eevee_light.hh + engines/eevee_next/eevee_material.hh + engines/eevee_next/eevee_motion_blur.hh + engines/eevee_next/eevee_pipeline.hh + engines/eevee_next/eevee_renderbuffers.hh + engines/eevee_next/eevee_sampling.hh + engines/eevee_next/eevee_shader.hh + engines/eevee_next/eevee_sync.hh + engines/eevee_next/eevee_velocity.hh + engines/eevee_next/eevee_view.hh + engines/eevee_next/eevee_world.hh engines/external/external_engine.h engines/image/image_batches.hh engines/image/image_buffer_cache.hh @@ -254,12 +286,13 @@ set(SRC engines/select/select_engine.h engines/select/select_private.h engines/overlay/overlay_engine.h - engines/overlay/overlay_private.h + engines/overlay/overlay_private.hh ) set(LIB bf_blenkernel bf_blenlib + bf_realtime_compositor bf_windowmanager ) @@ -340,6 +373,7 @@ set(GLSL_SRC engines/eevee/shaders/raytrace_lib.glsl engines/eevee/shaders/renderpass_lib.glsl engines/eevee/shaders/renderpass_postprocess_frag.glsl + engines/eevee/shaders/cryptomatte_lib.glsl engines/eevee/shaders/cryptomatte_frag.glsl engines/eevee/shaders/cryptomatte_vert.glsl engines/eevee/shaders/ltc_lib.glsl @@ -361,21 +395,54 @@ set(GLSL_SRC engines/eevee_next/shaders/eevee_attributes_lib.glsl engines/eevee_next/shaders/eevee_camera_lib.glsl + engines/eevee_next/shaders/eevee_colorspace_lib.glsl + engines/eevee_next/shaders/eevee_cryptomatte_lib.glsl + engines/eevee_next/shaders/eevee_depth_of_field_accumulator_lib.glsl + engines/eevee_next/shaders/eevee_depth_of_field_bokeh_lut_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_downsample_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_filter_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_gather_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_hole_fill_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_lib.glsl + engines/eevee_next/shaders/eevee_depth_of_field_reduce_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_resolve_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_scatter_frag.glsl + engines/eevee_next/shaders/eevee_depth_of_field_scatter_vert.glsl + engines/eevee_next/shaders/eevee_depth_of_field_setup_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_stabilize_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_tiles_dilate_comp.glsl + engines/eevee_next/shaders/eevee_depth_of_field_tiles_flatten_comp.glsl engines/eevee_next/shaders/eevee_film_comp.glsl + engines/eevee_next/shaders/eevee_film_cryptomatte_post_comp.glsl engines/eevee_next/shaders/eevee_film_frag.glsl engines/eevee_next/shaders/eevee_film_lib.glsl engines/eevee_next/shaders/eevee_geom_curves_vert.glsl engines/eevee_next/shaders/eevee_geom_gpencil_vert.glsl engines/eevee_next/shaders/eevee_geom_mesh_vert.glsl engines/eevee_next/shaders/eevee_geom_world_vert.glsl + engines/eevee_next/shaders/eevee_hiz_debug_frag.glsl + engines/eevee_next/shaders/eevee_hiz_update_comp.glsl + engines/eevee_next/shaders/eevee_light_culling_debug_frag.glsl + engines/eevee_next/shaders/eevee_light_culling_select_comp.glsl + engines/eevee_next/shaders/eevee_light_culling_sort_comp.glsl + engines/eevee_next/shaders/eevee_light_culling_tile_comp.glsl + engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl + engines/eevee_next/shaders/eevee_light_eval_lib.glsl + engines/eevee_next/shaders/eevee_light_iter_lib.glsl + engines/eevee_next/shaders/eevee_light_lib.glsl + engines/eevee_next/shaders/eevee_ltc_lib.glsl + engines/eevee_next/shaders/eevee_motion_blur_dilate_comp.glsl + engines/eevee_next/shaders/eevee_motion_blur_flatten_comp.glsl + engines/eevee_next/shaders/eevee_motion_blur_gather_comp.glsl + engines/eevee_next/shaders/eevee_motion_blur_lib.glsl engines/eevee_next/shaders/eevee_nodetree_lib.glsl + engines/eevee_next/shaders/eevee_sampling_lib.glsl engines/eevee_next/shaders/eevee_surf_deferred_frag.glsl engines/eevee_next/shaders/eevee_surf_depth_frag.glsl engines/eevee_next/shaders/eevee_surf_forward_frag.glsl engines/eevee_next/shaders/eevee_surf_lib.glsl engines/eevee_next/shaders/eevee_surf_world_frag.glsl engines/eevee_next/shaders/eevee_velocity_lib.glsl - engines/eevee_next/shaders/eevee_velocity_resolve_comp.glsl engines/eevee_next/eevee_defines.hh engines/eevee_next/eevee_shader_shared.hh @@ -410,22 +477,25 @@ set(GLSL_SRC engines/workbench/workbench_shader_shared.h + intern/shaders/common_aabb_lib.glsl intern/shaders/common_attribute_lib.glsl intern/shaders/common_colormanagement_lib.glsl + intern/shaders/common_debug_draw_lib.glsl + intern/shaders/common_debug_print_lib.glsl + intern/shaders/common_debug_shape_lib.glsl + intern/shaders/common_fullscreen_vert.glsl + intern/shaders/common_fxaa_lib.glsl intern/shaders/common_globals_lib.glsl intern/shaders/common_gpencil_lib.glsl - intern/shaders/common_pointcloud_lib.glsl intern/shaders/common_hair_lib.glsl - intern/shaders/common_hair_refine_vert.glsl intern/shaders/common_hair_refine_comp.glsl - intern/shaders/common_math_lib.glsl + intern/shaders/common_hair_refine_vert.glsl + intern/shaders/common_intersect_lib.glsl intern/shaders/common_math_geom_lib.glsl - intern/shaders/common_view_clipping_lib.glsl - intern/shaders/common_view_lib.glsl - intern/shaders/common_fxaa_lib.glsl + intern/shaders/common_math_lib.glsl + intern/shaders/common_pointcloud_lib.glsl + intern/shaders/common_shape_lib.glsl intern/shaders/common_smaa_lib.glsl - intern/shaders/common_fullscreen_vert.glsl - intern/shaders/common_subdiv_custom_data_interp_comp.glsl intern/shaders/common_subdiv_ibo_lines_comp.glsl intern/shaders/common_subdiv_ibo_tris_comp.glsl @@ -438,8 +508,20 @@ set(GLSL_SRC intern/shaders/common_subdiv_vbo_edituv_strech_area_comp.glsl intern/shaders/common_subdiv_vbo_lnor_comp.glsl intern/shaders/common_subdiv_vbo_sculpt_data_comp.glsl - + intern/shaders/common_view_clipping_lib.glsl + intern/shaders/common_view_lib.glsl + intern/shaders/draw_command_generate_comp.glsl + intern/shaders/draw_debug_draw_display_frag.glsl + intern/shaders/draw_debug_draw_display_vert.glsl + intern/shaders/draw_debug_info.hh + intern/shaders/draw_debug_print_display_frag.glsl + intern/shaders/draw_debug_print_display_vert.glsl + intern/shaders/draw_resource_finalize_comp.glsl + intern/shaders/draw_visibility_comp.glsl + + intern/draw_command_shared.hh intern/draw_common_shader_shared.h + intern/draw_defines.h intern/draw_shader_shared.h engines/gpencil/shaders/gpencil_frag.glsl @@ -644,6 +726,7 @@ add_dependencies(bf_draw bf_dna) if(WITH_GTESTS) if(WITH_OPENGL_DRAW_TESTS) set(TEST_SRC + tests/draw_pass_test.cc tests/draw_testing.cc tests/shaders_test.cc |