debug: Drop puffin, interactivity, renderdoc
This commit is contained in:
parent
cf0b0f9d2d
commit
3b7bba3add
4 changed files with 3 additions and 131 deletions
|
|
@ -1142,11 +1142,9 @@ where
|
|||
CosmicElement<R>: RenderElement<R>,
|
||||
CosmicMappedRenderElement<R>: RenderElement<R>,
|
||||
WorkspaceRenderElement<R>: RenderElement<R>,
|
||||
if let Some(rd) = fps.rd.as_mut() {
|
||||
rd.start_frame_capture(
|
||||
std::ptr::null(),
|
||||
);
|
||||
}
|
||||
{
|
||||
if let Some(ref mut fps) = fps {
|
||||
fps.start();
|
||||
}
|
||||
|
||||
let mut elements: Vec<CosmicElement<R>> = workspace_elements(
|
||||
|
|
@ -1189,15 +1187,5 @@ where
|
|||
fps.render();
|
||||
}
|
||||
|
||||
#[cfg(feature = "debug")]
|
||||
if let Some(ref mut fps) = fps {
|
||||
if let Some(rd) = fps.rd.as_mut() {
|
||||
rd.end_frame_capture(
|
||||
renderer.glow_renderer().egl_context().get_context_handle(),
|
||||
std::ptr::null(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
res.map(|res| (res, elements))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue