/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
usesuper::{Gui, Document, DocumentKind}; use webrender_api::debugger::DebuggerTextureContent; use webrender_api::TextureCacheCategory;
// Note: deserializing the textures takes a long time in // debug builds. let new_textures = serde_json::from_str(msg.as_str()).unwrap();
add_textures(app, new_textures);
}
}
egui::CollapsingHeader::new(texture_category_label(category)).default_open(true).show(ui, |ui| {
egui::ScrollArea::vertical().show(ui, |ui| { for (i, doc) in app.data_model.documents.iter().enumerate() { if !doc_is_texture(doc, category) { continue;
}
/// Perform uploads if need be. Happens earlier in the update because it needs /// access to the egui context. pubfn prepare(app: &mutsuper::Gui, ctx: &egui::Context) { iflet Some(idx) = app.data_model.preview_doc_index { if idx >= app.data_model.documents.len() { return;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.