Skip to content

Commit

Permalink
move video module out of renderer in re_renderer (it is distintivel…
Browse files Browse the repository at this point in the history
…y not a renderer!)
  • Loading branch information
Wumpf committed Sep 10, 2024
1 parent 4ea67a3 commit 85aebdf
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions crates/viewer/re_renderer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub mod mesh;
pub mod renderer;
pub mod resource_managers;
pub mod texture_info;
pub mod video;
pub mod view_builder;

mod allocator;
Expand Down
3 changes: 0 additions & 3 deletions crates/viewer/re_renderer/src/renderer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ pub(crate) use compositor::CompositorDrawData;
mod debug_overlay;
pub use debug_overlay::{DebugOverlayDrawData, DebugOverlayError, DebugOverlayRenderer};

mod video;
pub use video::Video;

pub mod gpu_data {
pub use super::lines::gpu_data::{LineStripInfo, LineVertex};
pub use super::point_cloud::gpu_data::PositionRadius;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ use re_video::{TimeMs, VideoData};

use super::latest_at_idx;
use crate::{
renderer::video::{DecodingError, FrameDecodingResult},
resource_managers::GpuTexture2D,
video::{DecodingError, FrameDecodingResult},
RenderContext,
};

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/viewer/re_space_view_spatial/src/video_cache.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use egui::mutex::Mutex;
use re_entity_db::VersionedInstancePathHash;
use re_log_types::hash::Hash64;
use re_renderer::renderer::Video;
use re_renderer::video::Video;
use re_renderer::RenderContext;
use re_types::components::MediaType;
use re_viewer_context::Cache;
Expand Down

0 comments on commit 85aebdf

Please sign in to comment.