Cleanup: Make `io/usd/hydra` and `render/hydra` headers fully Cpp ones.
This code was actually already full Cpp, so it's essentially a massive filenames cleanup.
This commit is contained in:
parent
21e2dfc6b4
commit
9a1651533d
|
@ -175,19 +175,19 @@ if(WITH_HYDRA)
|
|||
hydra/volume_modifier.cc
|
||||
hydra/world.cc
|
||||
|
||||
hydra/curves.h
|
||||
hydra/hydra_scene_delegate.h
|
||||
hydra/id.h
|
||||
hydra/image.h
|
||||
hydra/instancer.h
|
||||
hydra/light.h
|
||||
hydra/material.h
|
||||
hydra/mesh.h
|
||||
hydra/object.h
|
||||
hydra/usd_scene_delegate.h
|
||||
hydra/volume.h
|
||||
hydra/volume_modifier.h
|
||||
hydra/world.h
|
||||
hydra/curves.hh
|
||||
hydra/hydra_scene_delegate.hh
|
||||
hydra/id.hh
|
||||
hydra/image.hh
|
||||
hydra/instancer.hh
|
||||
hydra/light.hh
|
||||
hydra/material.hh
|
||||
hydra/mesh.hh
|
||||
hydra/object.hh
|
||||
hydra/usd_scene_delegate.hh
|
||||
hydra/volume.hh
|
||||
hydra/volume_modifier.hh
|
||||
hydra/world.hh
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "curves.h"
|
||||
#include "curves.hh"
|
||||
|
||||
#include <pxr/base/gf/vec2f.h>
|
||||
#include <pxr/imaging/hd/tokens.h>
|
||||
|
@ -19,7 +19,7 @@
|
|||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_modifier_types.h"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
#include "DNA_curves_types.h"
|
||||
#include "DNA_particle_types.h"
|
||||
|
||||
#include "material.h"
|
||||
#include "object.h"
|
||||
#include "material.hh"
|
||||
#include "object.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
|
||||
#include <bitset>
|
||||
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
|
||||
#include "CLG_log.h"
|
||||
|
||||
#include "curves.h"
|
||||
#include "instancer.h"
|
||||
#include "light.h"
|
||||
#include "mesh.h"
|
||||
#include "object.h"
|
||||
#include "volume.h"
|
||||
#include "volume_modifier.h"
|
||||
#include "world.h"
|
||||
#include "curves.hh"
|
||||
#include "instancer.hh"
|
||||
#include "light.hh"
|
||||
#include "mesh.hh"
|
||||
#include "object.hh"
|
||||
#include "volume.hh"
|
||||
#include "volume_modifier.hh"
|
||||
#include "world.hh"
|
||||
|
||||
struct Depsgraph;
|
||||
struct Main;
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "id.h"
|
||||
#include "id.hh"
|
||||
|
||||
#include "BKE_lib_id.hh"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "image.h"
|
||||
#include "image.hh"
|
||||
|
||||
#include <pxr/imaging/hio/imageRegistry.h>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
|||
#include "IMB_imbuf.hh"
|
||||
#include "IMB_imbuf_types.hh"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "instancer.h"
|
||||
#include "instancer.hh"
|
||||
|
||||
#include <pxr/base/gf/vec2f.h>
|
||||
#include <pxr/imaging/hd/light.h>
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "DNA_particle_types.h"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "BLI_map.hh"
|
||||
#include "BLI_set.hh"
|
||||
|
||||
#include "mesh.h"
|
||||
#include "mesh.hh"
|
||||
|
||||
struct ParticleSystem;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "light.h"
|
||||
#include "light.hh"
|
||||
|
||||
#include <pxr/imaging/hd/light.h>
|
||||
#include <pxr/imaging/hd/tokens.h>
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "BLI_math_rotation.h"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "BKE_light.h"
|
||||
|
||||
#include "object.h"
|
||||
#include "object.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "material.h"
|
||||
#include "material.hh"
|
||||
|
||||
#include <Python.h>
|
||||
#include <unicodeobject.h>
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "bpy_rna.h"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "image.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
#include "image.hh"
|
||||
|
||||
#include "intern/usd_exporter_context.hh"
|
||||
#include "intern/usd_writer_material.hh"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "BLI_map.hh"
|
||||
|
||||
#include "id.h"
|
||||
#include "id.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -16,8 +16,8 @@
|
|||
#include "BKE_mesh.hh"
|
||||
#include "BKE_mesh_runtime.hh"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "mesh.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
#include "mesh.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
#include "BKE_duplilist.h"
|
||||
|
||||
#include "material.h"
|
||||
#include "object.h"
|
||||
#include "material.hh"
|
||||
#include "object.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
#include "DEG_depsgraph_query.hh"
|
||||
|
||||
#include "curves.h"
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "light.h"
|
||||
#include "mesh.h"
|
||||
#include "object.h"
|
||||
#include "volume.h"
|
||||
#include "curves.hh"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
#include "light.hh"
|
||||
#include "mesh.hh"
|
||||
#include "object.hh"
|
||||
#include "volume.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include "BKE_layer.hh"
|
||||
#include "BKE_object.hh"
|
||||
|
||||
#include "id.h"
|
||||
#include "material.h"
|
||||
#include "id.hh"
|
||||
#include "material.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "usd_scene_delegate.h"
|
||||
#include "usd_scene_delegate.hh"
|
||||
|
||||
#include "BLI_fileops.h"
|
||||
#include "BLI_path_util.h"
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
#include "BLI_index_range.hh"
|
||||
#include "DNA_volume_types.h"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "volume.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
#include "volume.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <pxr/imaging/hd/sceneDelegate.h>
|
||||
|
||||
#include "object.h"
|
||||
#include "object.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "volume_modifier.h"
|
||||
#include "volume_modifier.hh"
|
||||
|
||||
#include <pxr/usdImaging/usdVolImaging/tokens.h>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
#include "BKE_mesh.h"
|
||||
#include "BKE_modifier.hh"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "DNA_fluid_types.h"
|
||||
|
||||
#include "volume.h"
|
||||
#include "volume.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "world.h"
|
||||
#include "world.hh"
|
||||
|
||||
#include <pxr/base/gf/rotation.h>
|
||||
#include <pxr/base/gf/vec2f.h>
|
||||
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include "NOD_shader.h"
|
||||
|
||||
#include "hydra_scene_delegate.h"
|
||||
#include "image.h"
|
||||
#include "hydra_scene_delegate.hh"
|
||||
#include "image.hh"
|
||||
|
||||
/* TODO: add custom `tftoken` "transparency"? */
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "DNA_view3d_types.h"
|
||||
#include "DNA_world_types.h"
|
||||
|
||||
#include "light.h"
|
||||
#include "light.hh"
|
||||
|
||||
namespace blender::io::hydra {
|
||||
|
|
@ -83,14 +83,14 @@ set(SRC
|
|||
render_task_delegate.cc
|
||||
viewport_engine.cc
|
||||
|
||||
camera.h
|
||||
engine.h
|
||||
final_engine.h
|
||||
light_tasks_delegate.h
|
||||
preview_engine.h
|
||||
render_task_delegate.h
|
||||
settings.h
|
||||
viewport_engine.h
|
||||
camera.hh
|
||||
engine.hh
|
||||
final_engine.hh
|
||||
light_tasks_delegate.hh
|
||||
preview_engine.hh
|
||||
render_task_delegate.hh
|
||||
settings.hh
|
||||
viewport_engine.hh
|
||||
)
|
||||
|
||||
blender_add_lib(bf_render_hydra "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "camera.h"
|
||||
#include "camera.hh"
|
||||
|
||||
#include "BKE_camera.h"
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
#include "DNA_screen_types.h"
|
||||
#include "DNA_view3d_types.h"
|
||||
|
||||
#include "hydra/object.h"
|
||||
#include "hydra/object.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "engine.h"
|
||||
#include "engine.hh"
|
||||
|
||||
#include <pxr/base/plug/plugin.h>
|
||||
#include <pxr/base/plug/registry.h>
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
#include <pxr/usd/usd/stage.h>
|
||||
#include <pxr/usdImaging/usdImaging/delegate.h>
|
||||
|
||||
#include "hydra/hydra_scene_delegate.h"
|
||||
#include "hydra/settings.h"
|
||||
#include "hydra/usd_scene_delegate.h"
|
||||
#include "hydra/hydra_scene_delegate.hh"
|
||||
#include "hydra/settings.hh"
|
||||
#include "hydra/usd_scene_delegate.hh"
|
||||
|
||||
#include "light_tasks_delegate.h"
|
||||
#include "render_task_delegate.h"
|
||||
#include "light_tasks_delegate.hh"
|
||||
#include "render_task_delegate.hh"
|
||||
|
||||
struct bContext;
|
||||
struct RenderEngine;
|
|
@ -2,8 +2,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "final_engine.h"
|
||||
#include "camera.h"
|
||||
#include "final_engine.hh"
|
||||
#include "camera.hh"
|
||||
|
||||
#include <pxr/imaging/hd/light.h>
|
||||
#include <pxr/imaging/hd/renderBuffer.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "engine.h"
|
||||
#include "engine.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "light_tasks_delegate.h"
|
||||
#include "engine.h"
|
||||
#include "light_tasks_delegate.hh"
|
||||
#include "engine.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "preview_engine.h"
|
||||
#include "preview_engine.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "final_engine.h"
|
||||
#include "final_engine.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "final_engine.h"
|
||||
#include "preview_engine.h"
|
||||
#include "viewport_engine.h"
|
||||
#include "final_engine.hh"
|
||||
#include "preview_engine.hh"
|
||||
#include "viewport_engine.hh"
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "RNA_prototypes.h"
|
||||
|
||||
#include "hydra/image.h"
|
||||
#include "hydra/image.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "render_task_delegate.h"
|
||||
#include "render_task_delegate.hh"
|
||||
|
||||
#include <epoxy/gl.h>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "Eigen/Core"
|
||||
|
||||
#include "engine.h"
|
||||
#include "engine.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include "viewport_engine.h"
|
||||
#include "camera.h"
|
||||
#include "viewport_engine.hh"
|
||||
#include "camera.hh"
|
||||
|
||||
#include <pxr/base/gf/camera.h>
|
||||
#include <pxr/imaging/glf/drawTarget.h>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "GPU_shader.h"
|
||||
#include "GPU_texture.h"
|
||||
|
||||
#include "engine.h"
|
||||
#include "engine.hh"
|
||||
|
||||
namespace blender::render::hydra {
|
||||
|
Loading…
Reference in New Issue